/* ATROPI — homepage styles (WordPress theme: assets/css/home.css, front page only; home-rtl.css in fa/ar is
   generated from this file by tools/build.mjs). The approved landing's section stylesheets in story order, every
   selector scoped under its section id. Source: _build/parts/<NN>-<section>.css, ported by
   _build/wp/home/build_assets.py. Rules prefixed with rtl:ignore draw market UI, charts, mocks or time axes —
   they keep their LTR geometry in RTL. The fa/ar/ru typography and RTL layout notes are at the end. */

/* ===== 10-hero ===== */
/* =====================================================================================================
   10-hero — Chapter 01 "The Signal"
   Copy column + the "Signal Terminal" (glass MT5-style card with a live canvas chart), satellites,
   a glass A-mark emblem, a perspective chart-paper floor and the price "thread" that flows into the ticker.
   ===================================================================================================== */

#hero {
  --hero-tk: 64px;                       /* ticker height: hero + ticker = one viewport */
  --hero-r: var(--gutter);               /* hero right edge -> content edge */
  --tx: 0; --ty: 0;                      /* eased pointer position, -1..1 (JS) */
  --floor-line: rgba(17, 103, 235, .11);
  --term-bg: rgba(255, 255, 255, .78);
  --term-border: rgba(255, 255, 255, .95);
  --term-ring: rgba(17, 52, 120, .08);
  --term-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 1px var(--term-ring), 0 60px 110px -40px rgba(17, 52, 120, .34), 0 24px 44px -24px rgba(10, 22, 40, .16);
  --term-div: rgba(10, 22, 40, .07);
  position: relative;
  z-index: 4;                            /* the thread overlaps the ticker band below */
  margin-top: calc(-1 * var(--header-h));
  padding-block: calc(var(--header-h) + clamp(8px, 1.6vh, 32px)) 0;
  min-height: calc(100svh - var(--hero-tk));
  display: flex;
  flex-direction: column;
}
:root[data-theme="dark"] #hero {
  --floor-line: rgba(161, 127, 182, .16);
  --term-bg: rgba(43, 12, 57, .70);
  --term-border: rgba(200, 180, 213, .14);
  --term-ring: rgba(153, 117, 176, .10);
  --term-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 0 0 1px var(--term-ring), 0 50px 130px -40px rgba(85, 25, 124, .42), 0 30px 60px -30px rgba(0, 0, 0, .8);
  --term-div: rgba(255, 255, 255, .07);
}

@media (min-width: 1200px) { #hero { --hero-r: max(var(--rail-safe), calc((100vw - var(--container)) / 2)); } }

/* ------------------------------------------------------------------ background */
#hero .hb { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
#hero .hb-base {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 74% 8%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #FAFCFF 0%, #F3F7FC 62%, var(--bg) 100%);
}
:root[data-theme="dark"] #hero .hb-base {
  background:
    radial-gradient(60% 55% at 74% 34%, rgba(71, 21, 103, .40) 0%, rgba(27, 7, 36, 0) 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(72, 21, 105, .14) 0%, rgba(27, 7, 36, 0) 70%),
    linear-gradient(180deg, #20092B 0%, #1B0724 100%);
}
#hero .hb-field { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); }
#hero .hb-field--a { left: 76%; top: 40%; width: 1100px; aspect-ratio: 1; background: radial-gradient(closest-side, var(--field-a), transparent); animation: hero-breathe 14s var(--ease-io) infinite alternate; }
#hero .hb-field--b { left: 34%; top: 4%; width: 820px; aspect-ratio: 1; background: radial-gradient(closest-side, var(--field-b), transparent); }
#hero .hb-field--c { left: 4%; top: 92%; width: 720px; aspect-ratio: 1; background: radial-gradient(closest-side, var(--field-c), transparent); }
@keyframes hero-breathe { from { transform: translate(-50%, -50%) scale(1); } to { transform: translate(-52%, -48%) scale(1.08); } }

#hero .hb-paper {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(60% 55% at 62% 30%, #000 10%, transparent 80%);
  mask-image: radial-gradient(60% 55% at 62% 30%, #000 10%, transparent 80%);
}
/* perspective trading floor — chart paper receding to a horizon */
#hero .hb-floor {
  position: absolute; left: -40%; right: -40%; bottom: 0; height: 44%;
  perspective: 560px; perspective-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .55) 40%, transparent 96%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .55) 40%, transparent 96%);
}
#hero .hb-plane { position: absolute; left: 0; right: 0; bottom: 0; height: 320%; transform-origin: 50% 100%; transform: rotateX(78deg); overflow: hidden; }
#hero .hb-plane-in {
  position: absolute; inset: -80px 0 0;
  background-image: linear-gradient(var(--floor-line) 1px, transparent 1px), linear-gradient(90deg, var(--floor-line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center bottom;
  animation: hero-floor 7s linear infinite;
}
@keyframes hero-floor { to { transform: translate3d(0, 80px, 0); } }
#hero .hb-horizon {
  position: absolute; left: 0; right: 0; bottom: 44%; height: 1px;
  background: linear-gradient(90deg, transparent 0 44%, rgba(17, 103, 235, .2) 70%, rgba(17, 103, 235, .2) 88%, transparent);
}
#hero .hb-horizon::after {
  content: ""; position: absolute; left: 40%; right: 0; top: -60px; height: 120px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
}
:root[data-theme="dark"] #hero .hb-horizon { background: linear-gradient(90deg, transparent 0 44%, rgba(187, 163, 203, .34) 70%, rgba(187, 163, 203, .34) 88%, transparent); }
:root[data-theme="dark"] #hero .hb-horizon::after { background: radial-gradient(50% 50% at 50% 50%, rgba(153, 117, 176, .20), rgba(153, 117, 176, 0)); }

html.js #hero .hb-paper,
html.js #hero .hb-floor,
html.js #hero .hb-horizon { opacity: 0; transition: opacity 1.2s var(--ease-out); }
html.js #hero.is-ready .hb-paper,
html.js #hero.is-ready .hb-floor,
html.js #hero.is-ready .hb-horizon { opacity: 1; }
html.js #hero.is-ready .hb-floor { transition-delay: .1s; }
#hero.is-off .hb-plane-in, #hero.is-off .hb-field--a, #hero.is-off .hem-sheen, #hero.is-off .hero-scroll i::after { animation-play-state: paused; }

/* ------------------------------------------------------------------ the thread (sized by JS) */
#hero .hero-thread { position: absolute; left: 0; top: 0; z-index: 0; overflow: visible; pointer-events: none; width: 1px; height: 1px; }
#hero .hero-thread path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
#hero .ht-s1 { stop-color: var(--brand); stop-opacity: .25; }
#hero .ht-s2 { stop-color: var(--brand); stop-opacity: 1; }
#hero .ht-s3 { stop-color: var(--brand-400); stop-opacity: 1; }
#hero .ht-line { stroke: var(--brand); stroke-width: 1.5; }
#hero .ht-glow { stroke: var(--brand); stroke-width: 6; opacity: .10; }
#hero .ht-pulse { stroke: var(--brand-400); stroke-width: 2.4; opacity: 0; }
:root[data-theme="dark"] #hero .ht-pulse { stroke: #E5E0E7; }
:root[data-theme="dark"] #hero .ht-glow { opacity: .22; }
#hero .ht-port { fill: var(--surface); stroke: var(--brand); stroke-width: 1.5; opacity: 0; transition: opacity .4s ease; }
#hero .hero-thread.is-drawn .ht-port { opacity: 1; }
html.js #hero .hero-thread:not(.is-on) { visibility: hidden; }

/* ------------------------------------------------------------------ layout */
#hero .hero-wrap { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; }
#hero .hero-main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(452px, 37.5vw, 548px);
  align-items: center;
  column-gap: clamp(36px, 3.6vw, 64px);
  padding-block: clamp(4px, 1vh, 16px) clamp(12px, 2.4vh, 32px);
}

/* ------------------------------------------------------------------ copy */
#hero .hero-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; container-type: inline-size; }
#hero .hero-pill { margin: 0; background: var(--surface-glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-color: var(--line); }
#hero .hero-title {
  margin-top: 24px;
  /* "Start Trading Today" measures 8.6em -> 10.9cqi keeps it on one line in any column width */
  font-size: clamp(33px, min(10.9cqi, 8.8vh), 78px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-wrap: balance;
}
#hero .hl { display: block; }
#hero .hero-trust { position: relative; display: inline-block; white-space: nowrap; }
#hero .hero-trust .wi { color: var(--brand); }
:root[data-theme="dark"] #hero .hero-trust .wi { color: var(--brand-400); }
#hero .hero-trust-line { position: absolute; left: -2%; bottom: -.27em; width: 108%; height: auto; overflow: visible; pointer-events: none; }
#hero .htl-s1 { stop-color: var(--brand); }
#hero .htl-s2 { stop-color: var(--cyan); }
#hero .htl-path, #hero .htl-glow { fill: none; stroke: url(#hero-trust-g); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
#hero .htl-path { stroke-width: 4.2; }
#hero .htl-glow { stroke-width: 12; opacity: .14; }
#hero .htl-dot { fill: var(--surface); stroke: var(--cyan); stroke-width: 2.6; transform-box: fill-box; transform-origin: center; }
#hero .htl-ring { fill: none; stroke: var(--cyan); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
html.js #hero .htl-path, html.js #hero .htl-glow { stroke-dashoffset: 1; transition: stroke-dashoffset 1.15s var(--ease-io) 1s; }
html.js #hero .htl-glow { transition-delay: 1.08s; }
html.js #hero .htl-dot { opacity: 0; transform: scale(0); transition: opacity .3s ease 2s, transform .7s var(--ease-spring) 2s; }
html.js #hero .hero-title.is-in .htl-path, html.js #hero .hero-title.is-in .htl-glow { stroke-dashoffset: 0; }
html.js #hero .hero-title.is-in .htl-dot { opacity: 1; transform: none; }
html.js #hero .hero-title.is-in .htl-ring { animation: hero-ring 2.6s var(--ease-out) 2.3s infinite; }
@keyframes hero-ring { 0% { transform: scale(.5); opacity: .8; } 70%, 100% { transform: scale(1.9); opacity: 0; } }
html.js #hero.is-off .hero-title.is-in .htl-ring { animation-play-state: paused; }

#hero .hero-sub { margin-top: 24px; max-width: 33em; }
#hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
#hero .hero-actions .btn-ghost { background: var(--surface-glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

#hero .hero-proof {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start;
  margin-top: 40px;
  font-family: var(--font-mono); font-variant-numeric: tabular-nums slashed-zero;
}
#hero .hero-proof li { display: flex; flex-direction: column; gap: 5px; padding-inline: clamp(14px, 1.6vw, 22px); line-height: 1.15; white-space: nowrap; }
#hero .hero-proof li:first-child { padding-left: 0; }
#hero .hero-proof li + li { border-left: 1px solid var(--line-strong); }
#hero .hero-proof b { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
#hero .hero-proof span { font-size: 11px; letter-spacing: .04em; color: var(--muted); }
#hero .hero-proof .ico { color: var(--bull); stroke-width: 1.8; }

/* ------------------------------------------------------------------ stage (terminal + satellites) */
#hero .hero-stage { position: relative; width: 100%; max-width: 548px; justify-self: end; perspective: 1500px; margin-block: 76px 72px; }
#hero .hero-stage::before {
  content: ""; position: absolute; z-index: -2; left: -22%; right: -22%; top: -26%; bottom: -26%;
  background: radial-gradient(closest-side, rgba(17, 103, 235, .15), rgba(17, 103, 235, .05) 55%, rgba(17, 103, 235, 0));
  pointer-events: none;
}
:root[data-theme="dark"] #hero .hero-stage::before { background: radial-gradient(closest-side, rgba(153, 117, 176, .30), rgba(153, 117, 176, .08) 55%, rgba(153, 117, 176, 0)); }

/* glass A-mark emblem (exact logo subpaths) — architectural form in the background layer */
#hero .hero-emblem {
  position: absolute; z-index: 0;
  top: -2%; height: 118%; width: auto; aspect-ratio: 34 / 32;
  right: calc(var(--hero-r) - 196px);
  overflow: visible; pointer-events: none;
  transform: translate3d(calc(var(--tx) * -12px), calc(var(--ty) * -8px), 0);
}
#hero .hem-b1 { stop-color: #FFFFFF; stop-opacity: .95; }
#hero .hem-b2 { stop-color: #E3EDFE; stop-opacity: .62; }
#hero .hem-b3 { stop-color: #CFE0FD; stop-opacity: .30; }
#hero .hem-r1 { stop-color: #FFFFFF; stop-opacity: 1; }
#hero .hem-r2 { stop-color: #8FB6F7; stop-opacity: .55; }
#hero .hem-r3 { stop-color: #FFFFFF; stop-opacity: .85; }
#hero .hem-s0 { stop-color: #FFFFFF; stop-opacity: 0; }
#hero .hem-s1 { stop-color: #FFFFFF; stop-opacity: .95; }
#hero .hem-depth { fill: rgba(17, 103, 235, .07); transform: translate(.55px, .8px); }
#hero .hem-body { fill: url(#hero-em-body); }
#hero .hem-rim { fill: none; stroke: url(#hero-em-rim); stroke-width: .085; }
#hero .hem-sheen { transform: translateX(0) skewX(-16deg); animation: hero-sheen 9s var(--ease-io) 2.2s infinite; }
@keyframes hero-sheen { 0% { transform: translateX(0) skewX(-16deg); } 55%, 100% { transform: translateX(46px) skewX(-16deg); } }
:root[data-theme="dark"] #hero .hem-b1 { stop-color: #9975B0; stop-opacity: .22; }
:root[data-theme="dark"] #hero .hem-b2 { stop-color: #330F4A; stop-opacity: .26; }
:root[data-theme="dark"] #hero .hem-b3 { stop-color: #2F0F3E; stop-opacity: .20; }
:root[data-theme="dark"] #hero .hem-r1 { stop-color: #D4C5DE; stop-opacity: .85; }
:root[data-theme="dark"] #hero .hem-r2 { stop-color: #9975B0; stop-opacity: .35; }
:root[data-theme="dark"] #hero .hem-r3 { stop-color: #C8B4D5; stop-opacity: .70; }
:root[data-theme="dark"] #hero .hem-s1 { stop-color: #D4C5DE; stop-opacity: .45; }
:root[data-theme="dark"] #hero .hem-depth { fill: rgba(153, 117, 176, .12); }
html.js #hero .hero-emblem { opacity: 0; transition: opacity 1.8s var(--ease-out) .2s; }
html.js #hero.is-ready .hero-emblem { opacity: 1; }

/* terminal — intro on the wrapper, pointer tilt on the card */
#hero .term-wrap { position: relative; z-index: 1; }
html.js #hero .term-wrap { opacity: 0; transform: translate3d(0, 30px, 0) scale(.93); transition: opacity 1s var(--ease-out) .34s, transform 1.4s var(--ease-out) .34s; }
html.js #hero.is-ready .term-wrap { opacity: 1; transform: none; }
/*rtl:ignore*/#hero .term {
  position: relative;
  border-radius: 22px;
  background: var(--term-bg);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--term-border);
  box-shadow: var(--term-shadow);
  overflow: hidden;
  transform: rotateX(calc(var(--ty) * -4deg)) rotateY(calc(var(--tx) * 6deg));
  transform-origin: 50% 50%;
  will-change: transform;
}
/*rtl:ignore*/#hero .term-glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(520px circle at calc(50% + var(--tx) * 45%) calc(30% + var(--ty) * 50%), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 45%);
  mix-blend-mode: soft-light;
}
/*rtl:ignore*/:root[data-theme="dark"] #hero .term-glare { background: radial-gradient(520px circle at calc(50% + var(--tx) * 45%) calc(30% + var(--ty) * 50%), rgba(187, 163, 203, .14), rgba(187, 163, 203, 0) 50%); mix-blend-mode: normal; }

/* head */
/*rtl:ignore*/#hero .term-head { display: flex; align-items: center; gap: 12px; padding: 26px 16px 14px 18px; }
/*rtl:ignore*/#hero .term-pair { display: flex; align-items: center; gap: 12px; min-width: 0; }
/*rtl:ignore*/#hero .term-flags { position: relative; width: 40px; height: 26px; flex: none; }
/*rtl:ignore*/#hero .flag { position: absolute; top: 1px; width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 2px var(--surface), 0 2px 6px rgba(10, 22, 40, .18); }
/*rtl:ignore*/#hero .flag-eu { left: 0; z-index: 1; }
/*rtl:ignore*/#hero .flag-us { left: 15px; }
/*rtl:ignore*/#hero .term-pair-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
/*rtl:ignore*/#hero .term-sym { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
/*rtl:ignore*/#hero .term-name { font-size: 11.5px; color: var(--muted); white-space: nowrap; margin-top: 2px; }
/*rtl:ignore*/#hero .term-chg { font-size: 12px; font-weight: 500; padding: 3px 7px; border-radius: 6px; background: var(--bull-bg); color: var(--bull); align-self: center; }
/*rtl:ignore*/#hero .term-chg.down { background: var(--bear-bg); color: var(--bear); }
/*rtl:ignore*/#hero .term-chg.up { color: var(--bull); }

/*rtl:ignore*/#hero .term-tf {
  position: relative; margin-left: auto;
  display: inline-flex; padding: 3px; gap: 0;
  border-radius: 10px;
  background: var(--surface-3);
  box-shadow: inset 0 0 0 1px var(--line);
  --i: 1;
}
/*rtl:ignore*/:root[data-theme="dark"] #hero .term-tf { background: rgba(255, 255, 255, .04); }
/*rtl:ignore*/#hero .term-tf-ind {
  position: absolute; left: 3px; top: 3px; width: 34px; height: calc(100% - 6px);
  border-radius: 7px; background: var(--surface);
  box-shadow: 0 1px 2px rgba(10, 22, 40, .10), 0 0 0 1px var(--line);
  transform: translateX(calc(var(--i) * 34px));
  transition: transform .5s var(--ease-out);
}
/*rtl:ignore*/:root[data-theme="dark"] #hero .term-tf-ind { background: rgba(153, 117, 176, .22); box-shadow: inset 0 0 0 1px rgba(187, 163, 203, .28); }
/*rtl:ignore*/#hero .term-tf-btn {
  position: relative; z-index: 1;
  width: 34px; height: 28px; border-radius: 7px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--muted);
  transition: color .3s;
}
/*rtl:ignore*/#hero .term-tf-btn::after { content: ""; position: absolute; inset: -8px 0; }
/*rtl:ignore*/#hero .term-tf-btn:hover { color: var(--ink); }
/*rtl:ignore*/#hero .term-tf-btn[aria-pressed="true"] { color: var(--ink); }
/*rtl:ignore*/:root[data-theme="dark"] #hero .term-tf-btn[aria-pressed="true"] { color: #FFFFFF; }
/*rtl:ignore*/#hero .term-tf-btn:focus-visible { outline-offset: 1px; }

/* one-click quote: SELL | spread | BUY */
/*rtl:ignore*/#hero .term-quote { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 16px; }
/*rtl:ignore*/#hero .tq {
  position: relative; display: flex; flex-direction: column; gap: 2px;
  padding: 9px 14px 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
/*rtl:ignore*/#hero .tq-sell { background: linear-gradient(180deg, var(--bear-bg), rgba(255, 255, 255, 0) 140%); }
/*rtl:ignore*/#hero .tq-buy { background: linear-gradient(180deg, var(--brand-50), rgba(255, 255, 255, 0) 140%); align-items: flex-end; text-align: right; }
/*rtl:ignore*/:root[data-theme="dark"] #hero .tq-sell { background: linear-gradient(180deg, rgba(226, 116, 117, .10), rgba(226, 116, 117, .02)); }
/*rtl:ignore*/:root[data-theme="dark"] #hero .tq-buy { background: linear-gradient(180deg, rgba(153, 117, 176, .14), rgba(153, 117, 176, .03)); }
/*rtl:ignore*/#hero .tq-l { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
/*rtl:ignore*/#hero .tq-sell .tq-l { color: var(--bear); }
/*rtl:ignore*/#hero .tq-buy .tq-l { color: var(--brand-ink); }
/*rtl:ignore*/#hero .tq-dir { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 5px solid var(--bull-vivid); transition: transform .28s var(--ease-out), border-color .28s; }
/*rtl:ignore*/#hero .tq-dir.is-down { border-bottom-color: var(--bear-vivid); transform: scaleY(-1); }
/*rtl:ignore*/#hero .tq-px { display: inline-flex; align-items: flex-start; font-family: var(--font-mono); font-variant-numeric: tabular-nums slashed-zero; color: var(--ink); line-height: 1; border-radius: 6px; }
/*rtl:ignore*/#hero .px-a { font-size: 17px; font-weight: 500; color: var(--text); align-self: flex-end; margin-bottom: 4px; margin-right: 1px; }
/*rtl:ignore*/#hero .px-b { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; }
/*rtl:ignore*/#hero .px-c { font-size: 15px; font-weight: 600; margin-left: 2px; margin-top: 2px; }
/*rtl:ignore*/#hero .tq-spread {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 64px; padding: 6px 10px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  line-height: 1.1;
}
/*rtl:ignore*/:root[data-theme="dark"] #hero .tq-spread { background: var(--surface-2); }
/*rtl:ignore*/#hero .tq-spread span { font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
/*rtl:ignore*/#hero .tq-spread b { font-size: 15px; color: var(--ink); margin-top: 2px; }

/* chart */
/*rtl:ignore*/#hero .term-chart { position: relative; margin-top: 10px; height: clamp(196px, min(20vw, 27.5vh), 258px); }
/*rtl:ignore*/#hero .term-canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }

/* foot */
/*rtl:ignore*/#hero .term-foot {
  display: flex; align-items: center; justify-content: flex-end; gap: 18px;
  padding: 9px 18px 10px;
  border-top: 1px solid var(--term-div);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--muted);
  white-space: nowrap;
}
/*rtl:ignore*/#hero .term-srv { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
/*rtl:ignore*/#hero .term-srv-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bull-vivid); box-shadow: 0 0 0 3px var(--bull-bg); }
/*rtl:ignore*/#hero .term-foot-mid { display: inline-flex; align-items: center; gap: 6px; }
/*rtl:ignore*/#hero .term-foot-mid i { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
/*rtl:ignore*/#hero .term-ping { color: var(--bull); font-weight: 600; min-width: 2ch; text-align: right; }

/* ------------------------------------------------------------------ satellites */
#hero .sat { position: absolute; z-index: 2; --d: 16; --sd: 1.2s; }
/*rtl:ignore*/#hero .sat-in { transform: translate3d(calc(var(--tx) * var(--d) * 1px), calc(var(--ty) * var(--d) * .8px), 0); }
html.js #hero .sat { opacity: 0; transform: translate3d(0, 14px, 0) scale(.9); transition: opacity .7s var(--ease-out) var(--sd), transform 1s var(--ease-spring) var(--sd); }
html.js #hero.is-ready .sat { opacity: 1; transform: none; }

/* orbit: toasts float above the terminal's BUY side, XAU overlaps only the empty left of the status bar,
   leverage chip floats below the right edge — nothing is tangent to, or covers, terminal content */
#hero .sat-lev { top: calc(100% + 20px); right: 28px; --d: 14; --sd: 1.25s; }
/*rtl:ignore*/#hero .sat-lev .sat-in {
  display: inline-flex; align-items: center; gap: 9px;
  height: 38px; padding: 0 15px 0 6px;
  border-radius: var(--r-pill);
  background: var(--surface-float);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
#hero .sat-lev b { font-weight: 600; color: var(--brand-ink); }
/*rtl:ignore*/#hero .lev-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-50); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-100); }
/*rtl:ignore*/#hero .lev-ico .ico { stroke-width: 1.8; }

#hero .sat-toasts { right: -14px; bottom: calc(100% + 18px); width: 272px; --d: 22; --sd: 1.5s; }
/*rtl:ignore*/#hero .toasts { position: relative; height: 60px; list-style: none; padding: 0; margin: 0; }
/*rtl:ignore*/#hero .toast {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 11px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: var(--surface-float);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform-origin: 50% 100%;
  opacity: 0;
  transform: translate3d(-10px, 16px, 0) scale(.96);
  transition: transform .75s var(--ease-spring), opacity .45s var(--ease-out);
}
/*rtl:ignore*/:root[data-theme="dark"] #hero .toast { box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .05); }
/*rtl:ignore*/#hero .toast.t-0 { opacity: 1; transform: none; z-index: 3; }
/*rtl:ignore*/#hero .toast.t-1 { opacity: .5; transform: translate3d(0, -13px, 0) scale(.92); z-index: 2; }
/*rtl:ignore*/#hero .toast.t-2 { opacity: 0; transform: translate3d(0, -24px, 0) scale(.86); z-index: 1; }
/*rtl:ignore*/#hero .toast-ico { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--bull-bg); color: var(--bull); }
/*rtl:ignore*/#hero .toast-ico .ico { width: 16px; height: 16px; stroke-width: 2; }
/*rtl:ignore*/#hero .toast-b { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
/*rtl:ignore*/#hero .toast-t { font-size: 13px; font-weight: 650; color: var(--ink); white-space: nowrap; letter-spacing: -0.005em; }
/*rtl:ignore*/#hero .toast-t .side-buy { color: var(--brand-ink); }
/*rtl:ignore*/#hero .toast-t .side-sell { color: var(--bear); }
/*rtl:ignore*/#hero .toast-s { font-family: var(--font-mono); font-size: 11px; color: var(--muted); white-space: nowrap; margin-top: 2px; }
/*rtl:ignore*/#hero .toast-s b { color: var(--bull); font-weight: 600; }
/*rtl:ignore*/#hero .toast-p { margin-left: auto; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }

#hero .sat-xau { left: -40px; top: calc(100% - 24px); width: 204px; --d: 26; --sd: 1.38s; }
/*rtl:ignore*/#hero .sat-xau .sat-in {
  position: relative; overflow: hidden;
  padding: 12px 14px 0;
  border-radius: 16px;
  background: var(--surface-float);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
/*rtl:ignore*/#hero .xau-top { display: flex; align-items: center; gap: 9px; }
/*rtl:ignore*/#hero .xau-badge {
  display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  color: var(--ink-hex); font-size: 10.5px; font-weight: 700; letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}
/*rtl:ignore*/#hero .xau-name { display: flex; flex-direction: column; line-height: 1.2; }
/*rtl:ignore*/#hero .xau-name b { font-size: 12.5px; font-weight: 700; color: var(--ink); }
/*rtl:ignore*/#hero .xau-name span { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
/*rtl:ignore*/#hero .xau-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 8px; }
/*rtl:ignore*/#hero .xau-px { font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; border-radius: 5px; }
/*rtl:ignore*/#hero .xau-chg { font-size: 11.5px; font-weight: 500; }
/*rtl:ignore*/#hero .xau-chg.up { color: var(--bull); }
/*rtl:ignore*/#hero .xau-chg.down { color: var(--bear); }
/*rtl:ignore*/#hero .xau-spark { display: block; width: calc(100% + 28px); max-width: none; height: 32px; margin: 4px -14px 0; color: var(--bull-vivid); }

/* ------------------------------------------------------------------ chapter caption */
#hero .hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 0 14px; }
#hero .hero-chapter { display: flex; align-items: center; flex-wrap: wrap; column-gap: 12px; row-gap: 4px; font-size: 14px; line-height: 1.4; color: var(--muted); }
#hero .hero-chapter .eyebrow-num { font-size: 11.5px; }
#hero .hero-scroll {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  transition: color .25s;
}
#hero .hero-scroll:hover { color: var(--ink); }
#hero .hero-scroll i { position: relative; width: 1px; height: 30px; background: var(--line-strong); overflow: hidden; border-radius: 1px; }
#hero .hero-scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 12px; background: var(--brand); animation: hero-scroll 2.4s var(--ease-io) infinite; }
@keyframes hero-scroll { 0% { transform: translateY(-14px); } 60%, 100% { transform: translateY(32px); } }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1279px) {
  #hero .sat-toasts { right: -8px; }
  /* narrower terminal: slide the XAU card further out so it never covers the status bar text */
  #hero .sat-xau { left: -60px; width: 192px; }
}
@media (max-width: 1099px) {
  #hero { min-height: 0; }
  #hero .hero-main { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding-block: 16px 40px; }
  /*rtl:ignore*/#hero .term-chart { height: clamp(212px, 34vw, 262px); }
  #hero .hero-copy { max-width: 680px; }
  #hero .hero-stage { justify-self: center; max-width: 600px; margin-block: 104px 112px; }
  #hero .sat-toasts { right: -10px; }
  #hero .sat-xau { left: -22px; }
  /* stacked: the emblem sits low behind the terminal; its top end fades out so no stray edge peeks above the card */
  #hero .hero-emblem {
    top: auto; bottom: -6%; height: 50%; right: -12%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 34%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 34%);
  }
}
@media (max-width: 720px) {
  #hero .hero-stage { max-width: none; margin-block: 96px 68px; }
  /* left-aligned on phones so the fixed chat button never sits on the fill price */
  #hero .sat-toasts { right: auto; left: 6px; bottom: calc(100% + 14px); width: 252px; --d: 8; }
  #hero .sat-xau { display: none; }
  #hero .sat-lev { top: calc(100% + 16px); right: auto; left: 12px; --d: 6; }
  #hero .hero-emblem { bottom: -4%; height: 42%; right: -30%; }
}
@media (max-width: 640px) {
  #hero .hero-title { margin-top: 22px; }
  #hero .hero-actions { width: 100%; }
  #hero .hero-actions .btn { flex: 1 1 auto; }
  #hero .hero-proof { grid-template-columns: 1fr 1fr; row-gap: 16px; width: 100%; margin-top: 34px; }
  #hero .hero-proof li { padding-inline: 16px; }
  #hero .hero-proof li:nth-child(odd) { padding-left: 0; border-left: 0; }
  #hero .hero-scroll { display: none; }
  /*rtl:ignore*/#hero .term { border-radius: 18px; }
  /*rtl:ignore*/#hero .term-head { padding: 14px 12px 12px 14px; gap: 10px; }
  /*rtl:ignore*/#hero .term-chg { display: none; }
  /*rtl:ignore*/#hero .term-name { font-size: 11px; }
  /*rtl:ignore*/#hero .term-tf-btn { width: 30px; }
  /*rtl:ignore*/#hero .term-tf-ind { width: 30px; transform: translateX(calc(var(--i) * 30px)); }
  /*rtl:ignore*/#hero .term-quote { margin: 0 12px; }
  /*rtl:ignore*/#hero .tq { padding: 8px 10px 7px; }
  /*rtl:ignore*/#hero .px-a { font-size: 14px; margin-bottom: 3px; }
  /*rtl:ignore*/#hero .px-b { font-size: 27px; }
  /*rtl:ignore*/#hero .px-c { font-size: 12.5px; }
  /*rtl:ignore*/#hero .tq-spread { min-width: 54px; padding: 5px 7px; }
  /*rtl:ignore*/#hero .tq-spread b { font-size: 13px; }
  /*rtl:ignore*/#hero .term-chart { height: 212px; }
  /*rtl:ignore*/#hero .term-foot { padding: 8px 14px 9px; }
  #hero .hero-foot { padding-bottom: 20px; }
}
@media (max-width: 380px) {
  /*rtl:ignore*/#hero .term-flags { width: 34px; }
  /*rtl:ignore*/#hero .flag { width: 21px; height: 21px; }
  /*rtl:ignore*/#hero .flag-us { left: 13px; }
  /*rtl:ignore*/#hero .term-pair { gap: 9px; }
  /*rtl:ignore*/#hero .term-tf-btn { width: 28px; font-size: 11px; }
  /*rtl:ignore*/#hero .term-tf-ind { width: 28px; transform: translateX(calc(var(--i) * 28px)); }
  /*rtl:ignore*/#hero .px-b { font-size: 24px; }
}

/* ------------------------------------------------------------------ reduced motion: final states, no loops */
@media (prefers-reduced-motion: reduce) {
  #hero .hb-plane-in, #hero .hb-field--a, #hero .hem-sheen, #hero .hero-scroll i::after { animation: none; }
  html.js #hero .term-wrap, html.js #hero .sat, html.js #hero .hero-emblem,
  html.js #hero .hb-paper, html.js #hero .hb-floor, html.js #hero .hb-horizon { opacity: 1; transform: none; transition: none; }
  html.js #hero .htl-path { stroke-dashoffset: 0; transition: none; }
  html.js #hero .htl-dot { opacity: 1; transform: none; transition: none; }
  /*rtl:ignore*/#hero .term { transform: none; }
  /*rtl:ignore*/#hero .sat-in, #hero .hero-emblem { transform: none; }
  /*rtl:ignore*/#hero .toast { transition: none; }
}

/* ===== 15-ticker ===== */
/* =====================================================================================================
   15-ticker — Chapter 01 tape: "Live markets" label + infinite marquee of indicative prices.
   The hero thread runs along this band's top edge and ends in the label's live dot.
   ===================================================================================================== */

#ticker {
  --tk-h: 64px;
  --tk-left: var(--gutter);              /* aligns the label with the page content edge */
  position: relative;
  z-index: 3;
  height: var(--tk-h);
  background: var(--surface);
  border-block: 1px solid var(--line);
  box-shadow: 0 18px 40px -30px rgba(17, 52, 120, .28);
  overflow-x: clip;
}
:root[data-theme="dark"] #ticker { background: var(--bg-2); box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .8); }
@media (min-width: 1200px) {
  #ticker { --tk-left: max(var(--rail-safe), calc((100vw - var(--container)) / 2)); }
}

#ticker .tk-row { display: flex; height: 100%; }

/* label */
#ticker .tk-label {
  position: relative; z-index: 2; flex: none;
  display: flex; align-items: center; gap: 12px;
  padding: 0 24px 0 var(--tk-left);
  border-right: 1px solid var(--line);
}
#ticker .tk-dot { position: relative; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--bull-vivid); box-shadow: 0 0 0 3px var(--bull-bg); }
#ticker .tk-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--bull-vivid); opacity: 0; animation: tk-ping 2.4s var(--ease-out) infinite; }
#ticker .tk-dot i { position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid var(--brand); opacity: 0; pointer-events: none; }
@keyframes tk-ping { 0% { transform: scale(.4); opacity: .9; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
#ticker .tk-label-txt { display: flex; flex-direction: column; line-height: 1.2; }

/* thread exit: from the live dot down to the band's bottom edge, where chapter 02's thread picks it up */
#ticker .tk-link {
  position: absolute; z-index: -1; left: calc(var(--tk-left) + 3.5px); top: 50%;
  width: 14px; height: calc(var(--tk-h) / 2);
  overflow: visible; pointer-events: none;
}
#ticker .tk-link path { fill: none; stroke-linecap: round; stroke-width: 1.5; }
#ticker .tk-link-base { stroke: var(--brand); stroke-dasharray: 1; stroke-dashoffset: 0; }
#ticker .tk-link-pulse { stroke: var(--brand-400); stroke-width: 2.4; stroke-dasharray: .34 1.4; stroke-dashoffset: .34; opacity: 0; }
:root[data-theme="dark"] #ticker .tk-link-pulse { stroke: #E5E0E7; }
html.js #ticker .tk-link-base { stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--ease-io); }
html.js #ticker.is-linked .tk-link-base { stroke-dashoffset: 0; }
#ticker .tk-title { font-size: 13.5px; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
#ticker .tk-note { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--muted); white-space: nowrap; margin-top: 2px; }

/* marquee viewport */
/*rtl:ignore*/#ticker .tk-viewport {
  position: relative; flex: 1; min-width: 0;
  display: flex; align-items: center;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 64px), transparent 100%);
}
/*rtl:ignore*/#ticker .tk-viewport::-webkit-scrollbar { display: none; }
/*rtl:ignore*/#ticker .tk-viewport:focus-visible { outline-offset: -4px; border-radius: 8px; }
/*rtl:ignore*/#ticker .tk-track { display: flex; width: max-content; }
/*rtl:ignore*/html.js #ticker.is-marquee .tk-viewport { overflow-x: hidden; }
/*rtl:ignore*/html.js #ticker.is-marquee .tk-track { animation: tk-marquee var(--tk-dur, 80s) linear infinite; will-change: transform; }
/*rtl:begin:ignore*/@keyframes tk-marquee { to { transform: translate3d(-50%, 0, 0); } }/*rtl:end:ignore*/
/* pause on hover / keyboard focus / off-screen (must out-rank the marquee shorthand above) */
/*rtl:ignore*/html.js #ticker.is-marquee .tk-viewport:hover .tk-track,
html.js #ticker.is-marquee .tk-viewport:focus-within .tk-track,
html.js #ticker.is-marquee.is-off .tk-track,
#ticker.is-off .tk-dot::after { animation-play-state: paused; }

/*rtl:ignore*/#ticker .tk-list { display: flex; align-items: center; list-style: none; padding: 0; margin: 0; }
/*rtl:ignore*/#ticker .tk-item {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  height: calc(var(--tk-h) - 2px);
  padding: 0 26px;
  white-space: nowrap;
}
/*rtl:ignore*/#ticker .tk-item::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 18px; margin-top: -9px; background: var(--line-strong); }

/*rtl:ignore*/#ticker .tk-badge {
  --c: var(--brand);
  display: grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--c); color: #fff;
  font-family: var(--font-mono); font-size: 7.5px; font-weight: 700; letter-spacing: .02em; line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(10, 22, 40, .12);
}
/*rtl:ignore*/#ticker .tkb-idx { --c: var(--brand); }
/*rtl:ignore*/#ticker .tkb-btc { --c: var(--gold); }
/*rtl:ignore*/#ticker .tkb-eth { --c: var(--violet); }
/*rtl:ignore*/#ticker .tkb-fx { --c: var(--cyan); }
/*rtl:ignore*/#ticker .tkb-au { --c: var(--gold); background: linear-gradient(145deg, var(--gold-2), var(--gold)); color: var(--ink-hex); }
/*rtl:ignore*/#ticker .tkb-ag { --c: var(--muted); background: linear-gradient(145deg, var(--faint), var(--muted)); }
/*rtl:ignore*/#ticker .tkb-oil { --c: var(--ink); color: var(--bg); }
/*rtl:ignore*/:root[data-theme="dark"] #ticker .tk-badge {
  background: color-mix(in srgb, var(--c) 20%, transparent);
  color: var(--c);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 42%, transparent);
}
/*rtl:ignore*/:root[data-theme="dark"] #ticker .tkb-oil { --c: #DDD6E0; }

/*rtl:ignore*/#ticker .tk-sym { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
/*rtl:ignore*/#ticker .tk-px {
  font-size: 13px; color: var(--text);
  padding: 2px 5px; margin: 0 -5px;
  border-radius: 5px;
}
/*rtl:ignore*/#ticker .tk-chg { font-size: 12px; font-weight: 500; min-width: 6.4ch; }
/*rtl:ignore*/#ticker .tk-chg.up { color: var(--bull); }
/*rtl:ignore*/#ticker .tk-chg.down { color: var(--bear); }

/* intro: the tape settles in just after the hero headline (CSS only, no JS dependency) */
/*rtl:ignore*/html.js #ticker .tk-label,
html.js #ticker .tk-viewport { animation: tk-in .9s var(--ease-out) .6s both; }
/*rtl:ignore*/html.js #ticker .tk-viewport { animation-delay: .72s; }
@keyframes tk-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }

/* responsive */
@media (max-width: 640px) {
  #ticker { --tk-h: 56px; }
  #ticker .tk-label { gap: 10px; padding-right: 14px; }
  #ticker .tk-title { font-size: 12.5px; }
  #ticker .tk-note { font-size: 9.5px; letter-spacing: .02em; }
  /*rtl:ignore*/#ticker .tk-item { padding: 0 18px; gap: 8px; }
  /*rtl:ignore*/#ticker .tk-badge { width: 22px; height: 22px; font-size: 7px; }
  /*rtl:ignore*/#ticker .tk-sym { font-size: 12px; }
  /*rtl:ignore*/#ticker .tk-px { font-size: 12.5px; }
  /*rtl:ignore*/#ticker .tk-chg { font-size: 11.5px; }
  /*rtl:ignore*/#ticker .tk-viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 32px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 32px), transparent 100%);
  }
}

/* reduced motion: a static, horizontally scrollable row */
@media (prefers-reduced-motion: reduce) {
  /*rtl:ignore*/html.js #ticker.is-marquee .tk-track { animation: none; }
  /*rtl:ignore*/html.js #ticker.is-marquee .tk-viewport { overflow-x: auto; }
  /*rtl:ignore*/#ticker .tk-list[aria-hidden="true"] { display: none; }
  #ticker .tk-dot::after { display: none; }
  html.js #ticker .tk-link-base { stroke-dashoffset: 0; transition: none; }
  /*rtl:ignore*/html.js #ticker .tk-label, html.js #ticker .tk-viewport { animation: none; }
}

/* ===== 20-markets ===== */
/* =====================================================================================================
   CHAPTER 02 · THE UNIVERSE — Market Explorer + "Forex never sleeps — 24/5" sessions board
   Everything scoped under #markets. Tokens only (raw hex only inside the always-dark ink board gradients).
   ===================================================================================================== */

/* ---------------------------------------------------------------- 0. canvas / decor */
#markets { --mk-pad: clamp(20px, 2.6vw, 36px); }
#markets .mk-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
#markets .mk-bg .grid-bg {
  -webkit-mask-image: radial-gradient(ellipse 55% 34% at 28% 14%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 55% 34% at 28% 14%, #000 10%, transparent 72%);
}

/* base reveal ends on clip-path: inset(0 round 0), which crops box-shadows into square corners — not needed here */
html.js #markets [data-reveal]:not([data-reveal="mask"]) { clip-path: none; }

/* ---------------------------------------------------------------- 1. chapter head + thread hand-off */
#markets .mk-head { margin-bottom: clamp(44px, 5.4vw, 80px); }
#markets .mk-head .chapter-head-main { position: relative; }
#markets .mk-head .h2 { max-width: 15ch; }
#markets .mk-h2-soft { color: var(--muted); }
#markets .mk-head .chapter-head-aside .lead { max-width: 48ch; }
#markets .mk-lead-2 { color: var(--muted); }

/* the thread: a tick-by-tick price path that leaves the ticker's live dot and walks down onto the chapter number.
   A dotted "forecast" track is always there; the solid line draws over it with scroll (JS builds the path to the
   real positions of both dots and drives stroke-dashoffset + the head dot). */
#markets .mk-thread {
  position: absolute; left: 0; top: calc(-1 * var(--section-pad));
  width: 72px; height: calc(var(--section-pad) - 10px);
  pointer-events: none;
}
#markets .mk-thread-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#markets .mk-thread-track { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 4; stroke-linejoin: round; }
#markets .mk-thread-path { fill: none; stroke: url(#mk-thread-grad); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
#markets .mk-tg-a { stop-color: var(--brand-400); stop-opacity: .35; }
#markets .mk-tg-b { stop-color: var(--brand); stop-opacity: .9; }
#markets .mk-tg-c { stop-color: var(--brand); stop-opacity: 1; }
#markets .mk-thread-dot {
  position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-100), 0 0 18px var(--brand-glow);
  opacity: 0; transition: opacity .3s var(--ease-out);
}
#markets .mk-thread.is-moving .mk-thread-dot { opacity: 1; }
html:not(.js) #markets .mk-thread { display: none; }
#markets .mk-head .eyebrow-num { position: relative; transition: background-color .5s var(--ease-out), color .5s var(--ease-out), box-shadow .5s var(--ease-out); }
#markets .mk-head .eyebrow-num::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 1px var(--brand); opacity: 0;
}
#markets .mk-head.is-arrived .eyebrow-num { background: var(--brand-100); box-shadow: inset 0 0 0 1px var(--brand-400); }
#markets .mk-head.is-arrived .eyebrow-num::after { animation: mk-arrive 1.1s var(--ease-out) 1; }
@keyframes mk-arrive { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6, 1.9); } }

/* ---------------------------------------------------------------- 2. explorer layout */
#markets .mk-explorer {
  display: grid;
  grid-template-columns: minmax(300px, 356px) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}

/* ---------------------------------------------------------------- 3. tab rail (market watch) */
#markets .mk-nav { display: flex; flex-direction: column; min-width: 0; }
#markets .mk-nav-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 18px 12px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
#markets .mk-tablist { position: relative; flex: 1; display: flex; flex-direction: column; padding: 8px 0; }
#markets .mk-glider {
  position: absolute; left: 0; right: 0; top: 0; z-index: 0;
  height: var(--gh, 88px);
  transform: translate3d(0, var(--gy, 8px), 0);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  transition: transform .65s var(--ease-out), height .65s var(--ease-out), opacity .6s var(--ease-out) .25s;
  pointer-events: none;
}
#markets .mk-glider::after {     /* brand edge facing the stage */
  content: ""; position: absolute; right: -1px; top: 22%; bottom: 22%; width: 2px; border-radius: 2px;
  background: var(--brand);
}
html.js #markets .mk-glider { opacity: 0; }
html.js #markets .mk-tablist:has(.mk-tab.is-active.is-in) .mk-glider { opacity: 1; }
[data-theme="dark"] #markets .mk-glider { background: var(--surface-2); border-color: var(--line-strong); }

#markets .mk-tab {
  position: relative; z-index: 1;
  flex: 1 1 0; min-height: 80px;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 14px 18px;
  text-align: left;
  border-radius: var(--r-md);
  color: var(--text);
  /* keeps the base [data-reveal="left"] entrance (opacity/transform) alongside the tab's own colour transitions */
  transition: background-color .35s var(--ease-out), color .3s, border-color .3s,
    opacity var(--dur-reveal) var(--ease-out) var(--rd, 0ms), transform var(--dur-reveal) var(--ease-out) var(--rd, 0ms);
}
#markets .mk-tab::before {          /* hairline separators */
  content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 1px;
  background: var(--line); transition: opacity .3s;
}
#markets .mk-tab:first-of-type::before,
#markets .mk-tab.is-active::before,
#markets .mk-tab.is-active + .mk-tab::before { opacity: 0; }
#markets .mk-tab:focus-visible { outline-offset: -2px; }
#markets .mk-tab:not(.is-active):hover { background: var(--brand-50); }
#markets .mk-tab:not(.is-active):hover::before,
#markets .mk-tab:not(.is-active):hover + .mk-tab::before { opacity: 0; }

#markets .mk-tab-ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand-ink);
  box-shadow: inset 0 0 0 1px var(--brand-100);
  transition: background .45s var(--ease-out), color .3s, box-shadow .45s var(--ease-out);
}
#markets .mk-tab-ico .ico { width: 22px; height: 22px; }
#markets .mk-tab.is-active .mk-tab-ico {
  background: var(--btn-bg); color: var(--on-brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 18px -8px var(--brand-glow);
}
#markets .mk-tab-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#markets .mk-tab-title { font-size: 16px; font-weight: 650; line-height: 1.25; color: var(--ink); letter-spacing: -0.01em; }
#markets .mk-tab-meta {
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1.35; color: var(--muted); letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#markets .mk-tab-quote { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
#markets .mk-tab-sym { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; color: var(--muted); }
#markets .mk-tab-chg { font-size: 12px; font-weight: 500; }
#markets .mk-tab-bar {
  position: absolute; left: 18px; right: 18px; bottom: 9px; height: 2px; border-radius: 2px;
  background: var(--line); overflow: hidden;
  opacity: 0; transition: opacity .4s var(--ease-out);
}
#markets .mk-tab-bar > i {
  display: block; height: 100%; border-radius: inherit;
  background: var(--grad-brand);
  transform-origin: left center; transform: scaleX(0);
}
#markets .mk-explorer.is-touring .mk-tab.is-active .mk-tab-bar { opacity: 1; }

#markets .mk-nav-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 6px 0 6px;
  border-top: 1px solid var(--line);
}
#markets .mk-tour {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px 0 12px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--ink);
  border: 1px solid transparent;
  transition: background-color .25s, border-color .25s;
}
#markets .mk-tour:hover { background: var(--surface); border-color: var(--line-strong); }
[data-theme="dark"] #markets .mk-tour:hover { background: rgba(255, 255, 255, .04); }
#markets .mk-tour .ico { width: 16px; height: 16px; color: var(--brand); }
#markets .mk-ico-play { display: none; fill: currentColor; stroke: none; }
#markets .mk-explorer:not(.is-touring) .mk-ico-pause { display: none; }
#markets .mk-explorer:not(.is-touring) .mk-ico-play { display: block; }
#markets .mk-tour-count { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; padding-right: 12px; }
#markets .mk-tour-count b { color: var(--ink); font-weight: 600; }
#markets .mk-tour-count i { width: 18px; height: 1px; background: var(--line-strong); }
html.reduced #markets .mk-tour { visibility: hidden; }

/* ---------------------------------------------------------------- 4. stage */
#markets .mk-stage { min-width: 0; container-type: inline-size; container-name: mk-stage; }
#markets .mk-stage-card {
  position: relative; height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden; isolation: isolate;
}
#markets .mk-stage-deco {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 300px at 100% 0%, var(--brand-50), transparent 72%),
    radial-gradient(420px 260px at 0% 100%, var(--field-c), transparent 70%);
}
#markets .mk-panels { display: grid; height: 100%; }
#markets .mk-panel {
  position: relative;
  min-width: 0;
  padding: var(--mk-pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  grid-template-areas:
    "intro quote"
    "cta   quote"
    "chart chart"
    "table table";
  column-gap: clamp(20px, 3vw, 44px);
}
html:not(.js) #markets .mk-panel + .mk-panel { border-top: 1px solid var(--line); }
html.js #markets .mk-panel {
  grid-area: 1 / 1;
  visibility: hidden; pointer-events: none;
  transition: visibility 0s linear .13s;
}
html.js #markets .mk-panel.is-active { visibility: visible; pointer-events: auto; transition: none; }

/* staggered panel contents — a mask wipe, never a cross-fade: any frame of a switch shows crisp, fully opaque
   content (partly wiped), so the stage can never read as "half-faded".
   Exit: the old blocks wipe up and out in 140ms. Enter: once they have cleared, each block wipes down from its top
   edge while rising 14px, 45ms apart; the visible part is always at full opacity. At rest the clip sits 40px
   outside the block so focus rings, the CTA glow and the charted-row dot are never cropped. */
html.js #markets .mk-st {
  clip-path: inset(0 0 100% 0);
  transform: translate3d(0, -6px, 0);
  transition: clip-path .14s var(--ease-io), transform .2s var(--ease-out);
}
html.js #markets .mk-panel.is-active .mk-st {
  clip-path: inset(var(--mk-clip-top, -40px) -40px -40px -40px);
  transform: none;
  transition: clip-path .6s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(130ms + var(--k, 0) * 45ms);
}
html.js #markets .mk-panel.is-pre .mk-st { clip-path: inset(0 0 100% 0); transform: translate3d(0, 14px, 0); transition: none; }
/* the chart draws itself in (canvas reveal), so its block only swaps visibility — no wipe, no fade */
html.js #markets .mk-p-chart.mk-st,
html.js #markets .mk-panel.is-pre .mk-p-chart.mk-st,
html.js #markets .mk-panel.is-active .mk-p-chart.mk-st { clip-path: none; transform: none; transition: none; }
/* …and the outgoing chart leaves at once, so two canvases never overlap during the 130ms exit */
html.js #markets .mk-panel:not(.is-active) .mk-p-chart { visibility: hidden; }

#markets .mk-p-intro { grid-area: intro; min-width: 0; }
#markets .mk-p-index {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
#markets .mk-p-index b { color: var(--brand-ink); font-weight: 600; }
#markets .mk-p-index i { width: 14px; height: 1px; background: var(--line-strong); }
#markets .mk-p-index span { margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line-strong); text-transform: uppercase; letter-spacing: .14em; }
#markets .mk-p-title {
  margin-top: 14px;
  font-size: clamp(26px, 2.3vw, 34px); line-height: 1.12; font-weight: 700; letter-spacing: -0.028em;
  overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em;
}
#markets .mk-p-title-in { display: inline-block; }
html.js #markets .mk-p-title-in { transform: translate3d(0, 105%, 0); transition: transform .2s var(--ease-out); }
html.js #markets .mk-panel.is-active .mk-p-title-in { transform: none; transition: transform .8s var(--ease-out) .12s; }
html.js #markets .mk-panel.is-pre .mk-p-title-in { transform: translate3d(0, 105%, 0); transition: none; }
#markets .mk-p-text { margin-top: 12px; max-width: 50ch; min-height: calc(3 * 1.6em); font-size: 16px; line-height: 1.6; color: var(--text); }

#markets .mk-p-cta { grid-area: cta; align-self: start; margin-top: 18px; }

/* flagship quote */
#markets .mk-p-quote { grid-area: quote; display: flex; flex-direction: column; align-items: flex-end; text-align: right; min-width: 0; }
#markets .mk-live {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 12px 0 10px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface);
  font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap;
}
#markets .mk-live .pill-dot { width: 7px; height: 7px; }
#markets .mk-q { display: flex; flex-direction: column; align-items: flex-end; margin-top: 18px; }
#markets .mk-q-sym { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
#markets .mk-q-sym b { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .05em; color: var(--ink); }
#markets .mk-q-price {
  margin-top: 4px;
  font-family: var(--font-mono); font-weight: 500; font-variant-numeric: tabular-nums slashed-zero; font-feature-settings: "tnum" on, "zero" on;
  font-size: clamp(34px, 3.3vw, 46px); line-height: 1.12; letter-spacing: -0.035em; color: var(--ink);
  white-space: nowrap;
}
#markets .mk-q-price .d { display: inline-block; }
#markets .mk-q-price .pl { font-size: .64em; color: var(--text); letter-spacing: -0.02em; }
#markets .mk-q-price .ps { font-size: .5em; vertical-align: .78em; margin-left: .06em; color: var(--text); }
#markets .mk-q-chg { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
#markets .mk-q-chg .delta { font-weight: 600; }
#markets .mk-q-ba { display: flex; gap: 14px; margin-top: 10px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
#markets .mk-q-ba b { color: var(--ink); font-weight: 500; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* chart */
#markets .mk-p-chart {
  grid-area: chart; position: relative;
  margin: clamp(18px, 2vw, 24px) calc(-1 * var(--mk-pad)) 0;
  min-height: clamp(176px, 14.5vw, 212px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, var(--brand-50));
}
[data-theme="dark"] #markets .mk-p-chart { background: linear-gradient(180deg, transparent, rgba(153, 117, 176, .045)); }
#markets .mk-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: crosshair; touch-action: pan-y; }
html:not(.js) #markets .mk-p-chart { display: none; }

/* quotes table */
#markets .mk-p-table { grid-area: table; margin-top: 4px; min-width: 0; }
#markets .mk-quotes { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
#markets .mk-quotes thead th {
  padding: 13px 10px 9px; text-align: right;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap;
}
#markets .mk-quotes thead th:first-child { text-align: left; padding-left: 0; }
#markets .mk-quotes tbody th,
#markets .mk-quotes tbody td { height: 46px; padding: 0 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; vertical-align: middle; }
#markets .mk-quotes tbody th { padding-left: 0; text-align: left; font-weight: 400; }
#markets .mk-quotes tbody tr:last-child > * { border-bottom: 0; }
#markets .mk-quotes thead .mk-c-spark,
#markets .mk-quotes tbody .mk-c-spark { width: 92px; padding-right: 0; }
#markets .mk-quotes tbody tr { cursor: pointer; transition: background-color .25s; }
#markets .mk-quotes tbody tr:hover { background: linear-gradient(90deg, transparent, var(--surface-2) 12%, var(--surface-2) 88%, transparent); }
[data-theme="dark"] #markets .mk-quotes tbody tr:hover { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .03) 12%, rgba(255, 255, 255, .03) 88%, transparent); }

#markets .mk-sym {
  position: relative; display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1px;
  min-height: 44px; padding: 0 2px; text-align: left; border-radius: 6px;
}
#markets .mk-sym::before {
  content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 3px var(--brand-100);
  transform: scale(0); transition: transform .45s var(--ease-spring);
}
#markets tr.is-charted .mk-sym::before { transform: scale(1); }
#markets .mk-sym-code { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink); line-height: 1.3; transition: color .3s; }
#markets tr.is-charted .mk-sym-code { color: var(--brand-ink); }
#markets .mk-sym-name { font-size: 11.5px; line-height: 1.3; color: var(--muted); }
#markets .mk-quotes .mk-v {
  display: inline-block; padding: 3px 6px; margin-right: -6px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em;
}
#markets .mk-quotes .mk-ask .mk-v { color: var(--text); }
#markets .mk-chg {
  display: inline-flex; align-items: center; gap: 5px;
  height: 24px; padding: 0 8px; border-radius: 6px;
  font-size: 12px; font-weight: 500;
}
#markets .mk-chg.up { background: var(--bull-bg); color: var(--bull); }
#markets .mk-chg.down { background: var(--bear-bg); color: var(--bear); }
#markets .mk-chg:not(.up):not(.down) { background: var(--surface-3); color: var(--muted); }
#markets .delta:not(.up):not(.down) { color: var(--muted); }
#markets .delta:not(.up):not(.down)::before { display: none; }
#markets .mk-spark { display: block; width: 72px; height: 22px; margin-left: auto; }

/* ---------------------------------------------------------------- 5. stage — container-query layouts */
@container mk-stage (max-width: 620px) {
  #markets .mk-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "intro" "quote" "chart" "table" "cta";
  }
  #markets .mk-p-quote { align-items: stretch; text-align: left; margin-top: 20px; }
  #markets .mk-live { position: absolute; top: var(--mk-pad); right: var(--mk-pad); height: 24px; font-size: 11px; padding: 0 10px 0 8px; }
  /* the pill is pinned to the panel's top corner, outside its block — open the block's resting clip upward */
  #markets .mk-p-quote { --mk-clip-top: -800px; }
  #markets .mk-q {
    margin-top: 0; padding-top: 16px; border-top: 1px solid var(--line);
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; row-gap: 4px; column-gap: 12px;
  }
  #markets .mk-q-sym { grid-column: 1; grid-row: 1; flex-direction: column; align-items: flex-start; gap: 2px; }
  #markets .mk-q-price { grid-column: 2; grid-row: 1; margin-top: 0; font-size: 30px; text-align: right; }
  #markets .mk-q-ba { grid-column: 1; grid-row: 2; margin-top: 0; gap: 10px; }
  #markets .mk-q-chg { grid-column: 2; grid-row: 2; margin-top: 0; justify-content: flex-end; }
  #markets .mk-p-text { min-height: 0; }
  #markets .mk-p-chart { margin-top: 18px; min-height: 188px; }
  #markets .mk-p-cta { margin-top: 18px; }
  #markets .mk-p-cta .btn { width: 100%; }
  #markets .mk-sym-name { display: none; }
  #markets .mk-quotes thead .mk-c-spark,
  #markets .mk-quotes tbody .mk-c-spark { display: none; }
  #markets .mk-quotes tbody th, #markets .mk-quotes tbody td { height: 46px; }
  #markets .mk-sym::before { left: -11px; width: 5px; height: 5px; margin-top: -2.5px; }
}
@container mk-stage (max-width: 380px) {
  #markets .mk-quotes thead th { padding-inline: 4px; font-size: 9.5px; letter-spacing: .08em; }
  #markets .mk-quotes tbody th, #markets .mk-quotes tbody td { padding-inline: 4px; }
  #markets .mk-quotes .mk-v { font-size: 12px; padding: 3px 4px; margin-right: -4px; }
  #markets .mk-sym-code { font-size: 12px; letter-spacing: .02em; }
  #markets .mk-chg { padding: 0 5px; font-size: 11px; gap: 4px; }
  #markets .mk-q-price { font-size: 27px; }
  #markets .mk-q-sym span, #markets .mk-q-chg [data-q-abs] { display: none; }
  #markets .mk-q-ba { gap: 10px; font-size: 11px; }
}
@container mk-stage (max-width: 350px) {
  /* the category label repeats the title; drop it so the index never runs into the "Indicative prices" pill */
  #markets .mk-p-index span { display: none; }
}

/* ---------------------------------------------------------------- 6. explorer — chips layout (tablet & phone) */
@media (max-width: 1099px) {
  #markets .mk-explorer { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #markets .mk-nav-head { display: none; }
  #markets .mk-tablist {
    flex-direction: row; gap: 8px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 6px;
    scroll-padding-inline: var(--gutter);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
  }
  #markets .mk-tablist::-webkit-scrollbar { display: none; }
  #markets .mk-glider { display: none; }
  #markets .mk-tab {
    flex: none; min-height: 52px;
    grid-template-columns: 34px auto; gap: 10px;
    padding: 0 18px 0 8px;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start;
  }
  #markets .mk-tab::before { display: none; }
  #markets .mk-tab:not(.is-active):hover { background: var(--surface); border-color: var(--brand-400); }
  #markets .mk-tab-ico { width: 34px; height: 34px; border-radius: 50%; }
  #markets .mk-tab-ico .ico { width: 18px; height: 18px; }
  #markets .mk-tab-meta, #markets .mk-tab-quote { display: none; }
  #markets .mk-tab-title { font-size: 14.5px; white-space: nowrap; }
  #markets .mk-tab.is-active { background: var(--ink); border-color: transparent; box-shadow: var(--shadow-md); }
  #markets .mk-tab.is-active .mk-tab-title { color: var(--bg); }
  #markets .mk-tab.is-active .mk-tab-ico { background: var(--btn-bg); color: var(--on-brand); box-shadow: none; }
  #markets .mk-tab-bar { left: 50px; right: 18px; bottom: 7px; height: 2px; background: rgba(127, 127, 127, .28); }
  #markets .mk-nav-foot { padding: 0; border-top: 0; margin-top: -2px; }
  #markets .mk-tour { height: 44px; padding-left: 4px; }
  #markets .mk-tour-count { padding-right: 4px; }
}
@media (max-width: 480px) {
  #markets .mk-tab { min-height: 48px; padding-right: 16px; }
  #markets .mk-tab-ico { width: 32px; height: 32px; }
}

/* ---------------------------------------------------------------- 7. sessions board — "Forex never sleeps — 24/5" */
#markets .mk-sx {
  --sx-text: #B4C4E2; --sx-muted: #8FA6CF; --sx-faint: rgba(143, 166, 207, .5);
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: clamp(56px, 7vw, 104px);
  padding: clamp(22px, 3vw, 44px);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--sx-text);
  box-shadow: var(--shadow-xl);
}
:root[data-theme="dark"] #markets .mk-sx { --sx-text: #D3C8D8; --sx-muted: #BCB0C2; --sx-faint: rgba(188, 176, 194, .5); } /* brand Night */
[data-theme="dark"] #markets .mk-sx {
  background: linear-gradient(155deg, #290B36 0%, #391A47 58%, #371050 135%);
  border-color: rgba(187, 163, 203, .14);
}
#markets .mk-sx-deco {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(640px 280px at 72% 0%, rgba(111, 166, 255, .22), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 100%;
  -webkit-mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .35));
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, .35));
}
:root[data-theme="dark"] #markets .mk-sx-deco { background: radial-gradient(640px 280px at 72% 0%, rgba(182, 156, 199, .22), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 100%; } /* brand Night */
#markets .mk-sx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: clamp(24px, 3vw, 36px); }
#markets .mk-sx-intro { min-width: 0; }
#markets .mk-sx-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--sx-muted);
}
#markets .mk-sx-live { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #22C98E; }
#markets .mk-sx-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #22C98E; opacity: 0; animation: dot-ping 2.4s var(--ease-out) infinite; }
#markets .mk-sx-title { margin-top: 12px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; font-weight: 700; letter-spacing: -0.028em; color: #fff; text-wrap: wrap; }
#markets .mk-sx-title span { color: #8DB8FF; font-weight: 600; white-space: nowrap; }
:root[data-theme="dark"] #markets .mk-sx-title span { color: #C4AFD2; } /* brand Night */
#markets .mk-sx-summary { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--sx-text); max-width: 52ch; text-wrap: pretty; }
#markets .mk-sx-summary b { color: #fff; font-weight: 600; }
#markets .mk-sx-summary .mk-nw { white-space: nowrap; }
/*rtl:ignore*/#markets .mk-sx-summary .mk-sx-peak-tag { color: #7FE3F5; font-weight: 600; }

#markets .mk-sx-side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; flex: none; }
#markets .mk-sx-mode { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
#markets .mk-sx-mode-btn {
  position: relative; height: 38px; padding: 0 16px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--sx-text);
  transition: background-color .35s var(--ease-out), color .3s;
}
#markets .mk-sx-mode-btn::after { content: ""; position: absolute; inset: -3px -1px; }   /* 44px hit area */
#markets .mk-sx-mode-btn:hover { color: #fff; }
#markets .mk-sx-mode-btn[aria-pressed="true"] { background: #fff; color: #0A1628; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .5); }
:root[data-theme="dark"] #markets .mk-sx-mode-btn[aria-pressed="true"] { color: #2C0C3B; } /* brand Night */
#markets .mk-sx-mode-btn:focus-visible { outline-color: #8DB8FF; }
:root[data-theme="dark"] #markets .mk-sx-mode-btn:focus-visible { outline-color: #C4AFD2; } /* brand Night */
#markets .mk-sx-clocks { display: flex; gap: 28px; }
#markets .mk-sx-clocks > div { display: flex; flex-direction: column; align-items: flex-end; }
#markets .mk-sx-clocks dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--sx-muted); }
#markets .mk-sx-time { margin-top: 4px; font-family: var(--font-mono); font-size: 24px; font-weight: 500; line-height: 1.1; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums slashed-zero; }
#markets .mk-sx-zone { margin-top: 3px; font-size: 12px; color: var(--sx-muted); white-space: nowrap; max-width: 200px; overflow: hidden; text-overflow: ellipsis; }

/* board grid: label | 24h track | status */
/*rtl:ignore*/#markets .mk-sx-board { --lab: 170px; --st: 212px; --gap: 22px; position: relative; }
/*rtl:ignore*/#markets .mk-sx-axis,
#markets .mk-sx-row { display: grid; grid-template-columns: var(--lab) minmax(0, 1fr) var(--st); column-gap: var(--gap); }
/*rtl:ignore*/#markets .mk-sx-axis { height: 54px; align-items: end; }
/*rtl:ignore*/#markets .mk-sx-axis-label { padding-bottom: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--sx-muted); }
/*rtl:ignore*/#markets .mk-sx-scale { grid-column: 2; position: relative; height: 100%; container-type: inline-size; }
/*rtl:ignore*/#markets .mk-sx-hours span {
  position: absolute; bottom: 8px; left: calc(var(--h) / 24 * 100%);
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10.5px; color: var(--sx-muted); font-variant-numeric: tabular-nums;
}
/*rtl:ignore*/#markets .mk-sx-hours span::after { content: ""; position: absolute; left: 50%; top: calc(100% + 3px); width: 1px; height: 5px; background: rgba(255, 255, 255, .22); }
/*rtl:ignore*/#markets .mk-sx-peak-label {
  position: absolute; top: 0; left: 0; width: 0; display: flex; justify-content: center;
  transform: translate3d(calc(var(--pc, .625) * 100cqw), 0, 0);
  transition: transform .9s var(--ease-io), opacity .5s;
}
/*rtl:ignore*/#markets .mk-sx-peak-label > span {
  flex: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 9px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: #9EEBF8; background: rgba(44, 195, 228, .12); box-shadow: inset 0 0 0 1px rgba(44, 195, 228, .32);
}
/*rtl:ignore*/#markets .mk-sx-peak-label > span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #2CC3E4; box-shadow: 0 0 8px #2CC3E4; }
/*rtl:ignore*/#markets .mk-sx-flag { display: none; }

/*rtl:ignore*/#markets .mk-sx-rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
/*rtl:ignore*/#markets .mk-sx-row { align-items: center; min-height: 58px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
/*rtl:ignore*/#markets .mk-sx-label { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
/*rtl:ignore*/#markets .mk-sx-city { font-size: 15px; font-weight: 650; color: #fff; letter-spacing: -0.01em; }
/*rtl:ignore*/#markets .mk-sx-hrs { font-family: var(--font-mono); font-size: 11.5px; color: var(--sx-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
/*rtl:ignore*/#markets .mk-sx-track { position: relative; align-self: stretch; min-height: 58px; container-type: inline-size; }
/*rtl:ignore*/#markets .mk-sx-clip { position: absolute; inset: 0; clip-path: inset(-10px 0 -10px 0); }
/*rtl:ignore*/#markets .mk-sx-strip {
  position: absolute; inset: 0;
  transform: translate3d(calc(var(--shift, 0) / 24 * 100%), 0, 0);
  transition: transform 1s var(--ease-io);
}
/*rtl:ignore*/#markets .mk-sx-peak {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--a) / 24 * 100%); width: calc((var(--b) - var(--a)) / 24 * 100%);
  background: rgba(44, 195, 228, .07);
  box-shadow: inset 1px 0 0 rgba(44, 195, 228, .26), inset -1px 0 0 rgba(44, 195, 228, .26);
  transition: background-color .6s;
}
/*rtl:ignore*/#markets .mk-sx-board.is-peak .mk-sx-peak { background: rgba(44, 195, 228, .12); }
/*rtl:ignore*/#markets .mk-sx-seg {
  position: absolute; top: 50%; height: 12px; margin-top: -6px;
  left: calc(var(--a) / 24 * 100% + 1px); width: calc((var(--b) - var(--a)) / 24 * 100% - 2px);
  border-radius: 6px;
  background: rgba(143, 166, 207, .2);
  box-shadow: inset 0 0 0 1px rgba(143, 166, 207, .16);
  overflow: hidden;
  transform-origin: left center;
  transition: transform 1.2s var(--ease-out) calc(220ms + var(--r, 0) * 110ms), background-color .6s, box-shadow .6s;
}
:root[data-theme="dark"] #markets .mk-sx-seg { background: rgba(188, 176, 194, .2); box-shadow: inset 0 0 0 1px rgba(188, 176, 194, .16); } /* brand Night */
/*rtl:ignore*/html.js #markets .mk-sx:not(.is-in) .mk-sx-seg { transform: scaleX(0); }
/*rtl:ignore*/#markets .mk-sx-row.is-open .mk-sx-seg {
  background: linear-gradient(90deg, #2F7CF5, #6FA6FF);
  box-shadow: 0 0 0 1px rgba(141, 184, 255, .4), 0 6px 20px -6px rgba(61, 134, 245, .9);
}
:root[data-theme="dark"] #markets .mk-sx-row.is-open .mk-sx-seg { background: linear-gradient(90deg, #9772AE, #B69CC7); box-shadow: 0 0 0 1px rgba(196, 175, 210, .4), 0 6px 20px -6px rgba(157, 123, 180, .9); } /* brand Night */
/*rtl:ignore*/#markets .mk-sx-row.is-open .mk-sx-seg::after {   /* slow live sheen on open sessions */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: mk-sheen 3.6s var(--ease-io) infinite;
}
@keyframes mk-sheen { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* Sydney crosses midnight: it is ONE bar (22:00 → 31:00 = 07:00 next day). The strip carries copies a day
   either side, and the track clips at 00/24, so the bar wraps without a seam in UTC and in local time.
   (.is-twin is the static no-JS copy; JS replaces it with the generated ±24h copies.) */

/* "now" cursor — lives in the sliding strip (with ±24h copies) so it shifts and wraps with the sessions;
   one segment per track, tracks touch, so it reads as one continuous line */
/*rtl:ignore*/#markets .mk-sx-now {
  position: absolute; top: 0; bottom: -1px; left: 0; width: 0; z-index: 2;
  transform: translate3d(calc((var(--now, .5) + var(--k, 0)) * 100cqw), 0, 0);
  transition: opacity .6s;
}
/*rtl:ignore*/#markets .mk-sx-now::before { content: ""; position: absolute; top: 0; bottom: 0; left: -.5px; width: 1px; background: rgba(255, 255, 255, .85); box-shadow: 0 0 10px rgba(141, 184, 255, .9); }
:root[data-theme="dark"] #markets .mk-sx-now::before { box-shadow: 0 0 10px rgba(196, 175, 210, .9); } /* brand Night */
/*rtl:ignore*/#markets .mk-sx-row:first-child .mk-sx-now::after {
  content: ""; position: absolute; top: -4px; left: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .18), 0 0 14px rgba(141, 184, 255, 1);
}
:root[data-theme="dark"] #markets .mk-sx-row:first-child .mk-sx-now::after { box-shadow: 0 0 0 3px rgba(255, 255, 255, .18), 0 0 14px rgba(196, 175, 210, 1); } /* brand Night */
/*rtl:ignore*/html.js #markets .mk-sx:not(.is-in) .mk-sx-now { opacity: 0; }
/*rtl:ignore*/#markets .mk-sx-board.is-sweep .mk-sx-now { transition: transform 1.25s var(--ease-out) .1s, opacity .4s .05s; }

/*rtl:ignore*/#markets .mk-sx-status { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-width: 0; }
/*rtl:ignore*/#markets .mk-sx-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-width: 80px; flex: none;              /* fixed column: pills line up across the four rows */
  height: 26px; padding: 0 11px 0 9px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; color: var(--sx-muted);
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  white-space: nowrap;
}
/*rtl:ignore*/#markets .mk-sx-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
/*rtl:ignore*/#markets .mk-sx-pill.is-open { color: #5BE3B0; background: rgba(34, 201, 142, .14); box-shadow: inset 0 0 0 1px rgba(34, 201, 142, .3); }
/*rtl:ignore*/#markets .mk-sx-pill.is-open::before { opacity: 1; box-shadow: 0 0 8px #22C98E; }
/* 17ch of the mono face = the longest countdown ("Closes in 14h 59m"), left-aligned so it reads as a column */
/*rtl:ignore*/#markets .mk-sx-cd { width: 17ch; flex: none; font-family: var(--font-mono); font-size: 11.5px; color: var(--sx-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

@media (max-width: 1099px) {
  /* status stacks (pill over countdown) so the 24h track keeps its width */
  /*rtl:ignore*/#markets .mk-sx-board { --lab: 132px; --st: 124px; --gap: 18px; }
  /*rtl:ignore*/#markets .mk-sx-row { min-height: 64px; }
  /*rtl:ignore*/#markets .mk-sx-track { min-height: 64px; }
  /*rtl:ignore*/#markets .mk-sx-status { flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px; }
  /*rtl:ignore*/#markets .mk-sx-cd { width: auto; text-align: right; font-size: 11px; }
}
@media (max-width: 860px) {
  #markets .mk-sx-head { flex-direction: column; align-items: stretch; gap: 20px; }
  #markets .mk-sx-side { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  #markets .mk-sx-clocks > div { align-items: flex-start; }
  #markets .mk-sx-clocks { order: -1; }
  /* rows: city + status on top, a full-width 24h track below */
  /*rtl:ignore*/#markets .mk-sx-board { --gap: 0px; }
  /*rtl:ignore*/#markets .mk-sx-axis { grid-template-columns: minmax(0, 1fr); height: 50px; }
  /*rtl:ignore*/#markets .mk-sx-axis-label { display: none; }
  /*rtl:ignore*/#markets .mk-sx-scale { grid-column: 1; }
  /*rtl:ignore*/#markets .mk-sx-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "label status" "track track";
    row-gap: 10px; padding: 14px 0 12px; min-height: 0;
  }
  /*rtl:ignore*/#markets .mk-sx-label { grid-area: label; }
  /*rtl:ignore*/#markets .mk-sx-status { grid-area: status; flex-direction: column; align-items: flex-end; gap: 4px; }
  /*rtl:ignore*/#markets .mk-sx-track { grid-area: track; min-height: 26px; height: 26px; }
  /*rtl:ignore*/#markets .mk-sx-clip { border-radius: 6px; background: rgba(255, 255, 255, .03); }
  /*rtl:ignore*/#markets .mk-sx-seg { height: 10px; margin-top: -5px; }
  /*rtl:ignore*/#markets .mk-sx-now { top: -3px; bottom: -3px; }
  /*rtl:ignore*/#markets .mk-sx-row:first-child .mk-sx-now::after { top: -4px; }
}
@media (max-width: 560px) {
  /*rtl:ignore*/#markets .mk-sx-hours span:nth-child(even) { display: none; }
}
@media (max-width: 680px) {
  #markets .mk-sx-time { font-size: 21px; }
  #markets .mk-sx-clocks { gap: 22px; }
  #markets .mk-sx-mode { width: 100%; }
  #markets .mk-sx-mode-btn { flex: 1; }
  #markets .mk-sx-zone { max-width: 150px; }
}

/* ---------------------------------------------------------------- 7b. hand-off → 03 (thread leaves the board, centred like #why's eyebrow) */
#markets .mk-exit { position: relative; height: 0; }
#markets .mk-exit-line {
  position: absolute; left: 50%; top: 0; width: 1px; height: calc(var(--section-pad) * .62);
  background: linear-gradient(180deg, var(--brand-400), var(--line-strong) 45%, transparent);
  transform-origin: top center;
}
#markets .mk-exit-dot {
  position: absolute; left: 50%; top: -3px; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px var(--brand-100);
  opacity: 0;
}
html.js #markets .mk-exit-line { transform: scaleY(0); transition: transform 1.2s var(--ease-out) .2s; }
html.js #markets .mk-exit.is-in .mk-exit-line { transform: none; }
html.js #markets .mk-exit.is-in .mk-exit-dot { animation: mk-exit-drop 1.8s var(--ease-io) .5s 1 both; }
@keyframes mk-exit-drop {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  15% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(0, calc(var(--section-pad) * .62), 0); }
}

/* ---------------------------------------------------------------- 8. reduced motion & no-JS */
html:not(.js) #markets .mk-nav { display: none; }
html:not(.js) #markets .mk-explorer { grid-template-columns: minmax(0, 1fr); }
/*rtl:ignore*/html:not(.js) #markets .mk-sx-now, html:not(.js) #markets .mk-sx-mode { display: none; }
@media (prefers-reduced-motion: reduce) {
  /*rtl:ignore*/#markets .mk-glider, #markets .mk-sx-strip, #markets .mk-sx-now, #markets .mk-sx-peak-label, #markets .mk-sx-seg { transition: none !important; }
  /*rtl:ignore*/#markets .mk-sx-row.is-open .mk-sx-seg::after, #markets .mk-sx-live::after { display: none; }
  html.js #markets .mk-st, html.js #markets .mk-panel.is-active .mk-st, html.js #markets .mk-panel.is-pre .mk-st { clip-path: none; transform: none; transition: none; }
  html.js #markets .mk-panel { transition: none; }
  html.js #markets .mk-p-title-in, html.js #markets .mk-panel.is-active .mk-p-title-in { transform: none; transition: none; }
  /*rtl:ignore*/html.js #markets .mk-sx:not(.is-in) .mk-sx-seg { transform: none; }
  #markets .mk-thread-dot { display: none; }
  html.js #markets .mk-exit-line { transform: none; transition: none; }
  html.js #markets .mk-exit.is-in .mk-exit-dot { animation: none; }
}

/* ===== 30-why ===== */
/* =====================================================================================================
   CHAPTER 03 · THE EDGE (#why) — asymmetric bento of living micro-visualisations
   Mobile-first: 1 col → 2 cols (≥700) → 12-col bento (≥1100). Every selector scoped under #why.
   ===================================================================================================== */

#why { --why-pt: clamp(44px, 5.6vw, 84px); --why-th: clamp(44px, 4.4vw, 64px); padding-top: var(--why-pt); padding-bottom: 0; }

/* seam: light-fields of the previous chapter that cross its bottom edge are continued here (JS mirrors them),
   so the two backgrounds meet without a clipped step */
#why .why-seam { position: absolute; left: 0; right: 0; top: 0; height: 900px; z-index: -1; overflow: hidden; pointer-events: none; }

/* ---------------------------------------------------------------- background: warm field → cooler field */
#why .why-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 86%, transparent 100%);
}
#why .why-field { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); }
#why .why-field--a { left: 16%; top: 20%; width: 980px; height: 980px; background: radial-gradient(closest-side, var(--field-a), transparent); }
#why .why-field--b { left: 52%; top: 46%; width: 1300px; height: 760px; background: radial-gradient(closest-side, var(--field-b), transparent); opacity: .55; }
#why .why-field--c { left: 86%; top: 72%; width: 1100px; height: 1100px; background: radial-gradient(closest-side, var(--field-c), transparent); }
#why .why-paper {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 62% 42% at 50% 58%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 62% 42% at 50% 58%, #000 10%, transparent 78%);
}

/* ---------------------------------------------------------------- chapter head + hand-in thread */
#why .why-head { margin-bottom: clamp(44px, 5.5vw, 80px); }
#why .why-head > .h2 { max-width: 17ch; }
#why .why-head > .lead { max-width: 58ch; text-wrap: balance; }
#why .why-thread {
  position: relative; display: block; width: 1px; height: var(--why-th); margin-bottom: 22px;
  background: linear-gradient(180deg, var(--line-strong), var(--brand-400));
}
/* the thread reaches up past the chapter's top edge and cross-fades with the exit line chapter 02 drops
   (that line spans .62 of its bottom padding and fades out over its lower half), so there is no dead gap */
#why .why-thread::before {
  content: ""; position: absolute; left: 0; bottom: 100%; width: 1px;
  height: calc(var(--why-pt) + var(--section-pad) * .72);
  background: linear-gradient(180deg, transparent 0, var(--line-strong) calc(var(--section-pad) * .34), var(--line-strong) 100%);
}
/* no chapter above (isolated preview): stay inside our own top padding instead of running under the header */
#why:first-child .why-thread::before { height: var(--why-pt); background: linear-gradient(180deg, transparent, var(--line-strong)); }
#why .why-thread-dot {
  position: absolute; left: 50%; bottom: -3px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px var(--brand-100);
}
html.js:not(.reduced) #why .why-thread-dot { opacity: 0; transform: translate3d(0, calc(-1 * (var(--why-pt) + var(--why-th))), 0); }
html.js:not(.reduced) #why.is-arrived .why-thread-dot { animation: why-drop 1.7s var(--ease-io) .05s forwards; }
html.js:not(.reduced) #why.is-arrived .why-head .eyebrow-num { animation: why-num-ping 1.1s var(--ease-out) 1.6s both; }
@keyframes why-drop {
  0% { opacity: 0; transform: translate3d(0, calc(-1 * (var(--why-pt) + var(--why-th))), 0); }
  12% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes why-num-ping {
  0% { box-shadow: inset 0 0 0 1px var(--brand-100), 0 0 0 0 var(--brand-glow); }
  100% { box-shadow: inset 0 0 0 1px var(--brand-100), 0 0 0 10px transparent; }
}

/* ---------------------------------------------------------------- bento grid */
#why .why-bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(14px, 1.5vw, 20px); }
@media (min-width: 700px) {
  #why .why-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #why .why-t-spread { grid-column: 1 / -1; order: 1; }
  #why .why-t-exec { order: 2; }
  #why .why-t-assets { order: 3; }
  #why .why-t-reg { grid-column: 1 / -1; order: 4; }
  #why .why-t-support { order: 5; }
  #why .why-t-award { order: 6; }
}
@media (min-width: 1100px) {
  #why .why-bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  #why .why-t-spread { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  #why .why-t-exec { grid-column: 8 / span 5; grid-row: 1; }
  #why .why-t-assets { grid-column: 8 / span 5; grid-row: 2; }
  #why .why-t-support { grid-column: 1 / span 4; grid-row: 3; }
  #why .why-t-award { grid-column: 1 / span 4; grid-row: 4; }
  #why .why-t-reg { grid-column: 5 / span 8; grid-row: 3 / span 2; }
  /* the licence card gets the width (it is width-bound by its ID-card ratio); the NBP panel is a fixed rail */
  #why .why-t-reg .why-reg-main { flex: 1 1 0; }
  #why .why-t-reg .why-nbp { flex: 0 0 clamp(244px, 37%, 292px); }
}

/* ---------------------------------------------------------------- tile shell */
#why .why-tile {
  --tile-pad: clamp(20px, 2.1vw, 30px);
  display: flex; flex-direction: column; gap: clamp(20px, 2vw, 26px);
  min-width: 0; padding: var(--tile-pad);
  container-type: inline-size;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface) 55%, var(--surface-2) 100%);
}
#why .why-tile > * { position: relative; }               /* keep content above the spotlight fill */
#why .why-tile:hover { border-color: var(--line-strong); }
[data-theme="dark"] #why .why-tile:not(.card-ink) { background: linear-gradient(180deg, rgba(255, 255, 255, .025) 0%, transparent 42%), var(--surface); }
#why .why-tile.card-ink {
  --spot: rgba(141, 184, 255, .10);
  --spot-ring: rgba(141, 184, 255, .62);
  background: radial-gradient(120% 90% at 100% 0%, rgba(75, 141, 248, .30), transparent 58%), var(--grad-ink);
  box-shadow: 0 24px 48px -28px rgba(10, 30, 80, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
}
:root[data-theme="dark"] #why .why-tile.card-ink { --spot: rgba(196, 175, 210, .10); --spot-ring: rgba(196, 175, 210, .62); background: radial-gradient(120% 90% at 100% 0%, rgba(163, 131, 184, .30), transparent 58%), var(--grad-ink); box-shadow: 0 24px 48px -28px rgba(62, 30, 76, .55), inset 0 1px 0 rgba(255, 255, 255, .06); } /* brand Night */
#why .why-tile.card-ink:hover { border-color: rgba(255, 255, 255, .16); }

#why .why-title { font-size: var(--fs-h3); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
#why .card-ink .why-title { color: #fff; }
#why .why-t-spread .why-title,
#why .why-t-reg .why-title { font-size: clamp(22px, 2.15vw, 30px); letter-spacing: -0.025em; }
#why .why-text { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--text); max-width: 46ch; text-wrap: pretty; }
#why .card-ink .why-text { color: #AFC0DE; }
:root[data-theme="dark"] #why .card-ink .why-text { color: #D0C5D5; } /* brand Night */

/* ================================================================ 1 · SPREADS */
/*rtl:ignore*/#why .why-term {
  flex: 1; display: flex; flex-direction: column; min-height: 0;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface-2); overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
/*rtl:ignore*/[data-theme="dark"] #why .why-term { background: rgba(255, 255, 255, .018); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03); }
/*rtl:ignore*/#why .why-term-bar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); }
/*rtl:ignore*/#why .why-term-sym { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
/*rtl:ignore*/#why .why-term-tag { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 4px 7px 3px; border-radius: 5px; line-height: 1; }
/*rtl:ignore*/#why .why-term-live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
/*rtl:ignore*/#why .why-term-live .pill-dot { width: 6px; height: 6px; }

/* quote board (MT5 one-click style: big pips, superscript pipette) */
/*rtl:ignore*/#why .why-board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); border-bottom: 1px solid var(--line); }
/*rtl:ignore*/#why .why-q { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px clamp(12px, 2.6cqi, 20px) 14px; min-width: 0; }
/*rtl:ignore*/#why .why-q::before { content: ""; position: absolute; top: 0; left: clamp(12px, 2.6cqi, 20px); width: 22px; height: 2px; border-radius: 0 0 2px 2px; background: var(--bear-vivid); }
/*rtl:ignore*/#why .why-q--ask { align-items: flex-end; text-align: right; }
/*rtl:ignore*/#why .why-q--ask::before { left: auto; right: clamp(12px, 2.6cqi, 20px); background: var(--brand); }
/*rtl:ignore*/#why .why-q-side { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bear); line-height: 1; }
/*rtl:ignore*/#why .why-q--ask .why-q-side { color: var(--brand-ink); }
/*rtl:ignore*/#why .why-q-side i { font-style: normal; opacity: .45; padding: 0 2px; }
/*rtl:ignore*/#why .why-q-px {
  display: inline-flex; align-items: baseline; align-self: flex-start;
  font-size: clamp(14px, 3.1cqi, 20px); line-height: 1; color: var(--ink);
  padding: 3px 5px; margin: -3px -5px; border-radius: 7px; white-space: nowrap;
}
/*rtl:ignore*/#why .why-q--ask .why-q-px { align-self: flex-end; }
/*rtl:ignore*/#why .why-q-px .a { color: var(--text); }
/*rtl:ignore*/#why .why-q-px .b { font-size: 2.55em; font-weight: 600; letter-spacing: -0.035em; line-height: .86; margin-left: 2px; }
/*rtl:ignore*/#why .why-q-px .c { align-self: flex-start; font-size: 1em; margin-left: 2px; margin-top: -.1em; color: var(--text); }
/*rtl:ignore*/#why .why-q-mid {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-width: clamp(66px, 13cqi, 92px); padding: 0 10px;
  border-inline: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, var(--brand-50));
}
/*rtl:ignore*/#why .why-q-mid-l { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1; }
/*rtl:ignore*/#why .why-q-mid-v { font-size: clamp(20px, 3.6cqi, 26px); line-height: 1; color: var(--brand-ink); font-weight: 600; padding: 2px 6px; border-radius: 6px; transition: color .5s var(--ease-out); }
/*rtl:ignore*/#why .why-t-spread.is-zero .why-q-mid-v { color: var(--bull); }

/* spread caliper — the ASK jaw closes onto the BID jaw: 1.4 → 0.0 pips */
/*rtl:ignore*/#why .why-caliper { padding: 14px clamp(14px, 2.6cqi, 20px) 12px; border-bottom: 1px solid var(--line); }
/*rtl:ignore*/#why .why-cal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
/*rtl:ignore*/#why .why-cal-l { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
/*rtl:ignore*/#why .why-cal-r { font-size: 11px; letter-spacing: .06em; color: var(--muted); }
/*rtl:ignore*/#why .why-cal-v { font-size: 14px; color: var(--ink); letter-spacing: 0; margin-right: 2px; }
/*rtl:ignore*/#why .why-cal-track {
  position: relative; height: 30px; margin-inline: 30px 34px;
  background:
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 5%) left bottom / 100% 5px no-repeat,
    repeating-linear-gradient(90deg, var(--faint) 0 1px, transparent 1px 25%) left bottom / 100% 10px no-repeat;
}
/*rtl:ignore*/#why .why-cal-track::after { content: ""; position: absolute; right: 0; bottom: 0; width: 1px; height: 10px; background: var(--faint); }
/* ghost of where the ask jaw started: it surfaces as the jaws close, so the resting meter still tells the story */
/*rtl:ignore*/#why .why-cal-ghost {
  position: absolute; left: 0; top: 4px; bottom: 12px; width: 70%;
  border: 1px dashed var(--line-strong); border-left: 0; border-radius: 0 3px 3px 0;
  opacity: calc(.95 - var(--s, .7) / .7 * .95);
}
/*rtl:ignore*/#why .why-cal-ghost em {
  position: absolute; right: 0; bottom: calc(100% + 4px); transform: translateX(50%);
  font-style: normal; font-size: 9.5px; letter-spacing: .04em; line-height: 1; color: var(--muted);
  text-decoration: line-through; text-decoration-color: var(--bear-vivid);
}
/*rtl:ignore*/#why .why-cal-fill {
  position: absolute; left: 0; top: 4px; bottom: 12px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(var(--s, .7));
  background: repeating-linear-gradient(-45deg, var(--brand-100) 0 1.5px, transparent 1.5px 5px), var(--brand-50);
  border-radius: 2px;
}
/*rtl:ignore*/#why .why-cal-run { position: absolute; inset: 0; transform: translate3d(calc(var(--s, .7) * 100%), 0, 0); }
/*rtl:ignore*/#why .why-cal-jaw { position: absolute; left: 0; top: 0; bottom: 8px; width: 0; }
/*rtl:ignore*/#why .why-cal-jaw i { position: absolute; left: -1.5px; top: 0; bottom: 0; width: 3px; border-radius: 2px; background: var(--bear-vivid); transition: background-color .5s, box-shadow .5s; }
/*rtl:ignore*/#why .why-cal-jaw--ask i { background: var(--brand); }
/*rtl:ignore*/#why .why-cal-jaw em { position: absolute; top: 3px; font-style: normal; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
/*rtl:ignore*/#why .why-cal-jaw--bid em { right: 8px; color: var(--bear); }
/*rtl:ignore*/#why .why-cal-jaw--ask em { left: 8px; color: var(--brand-ink); }
/*rtl:ignore*/#why .why-t-spread.is-zero .why-cal-jaw i { background: var(--bull-vivid); box-shadow: 0 0 0 3px var(--bull-bg); }
/*rtl:ignore*/#why .why-cal-scale { position: relative; height: 14px; margin: 6px 34px 0 30px; font-size: 9.5px; color: var(--muted); }
/*rtl:ignore*/#why .why-cal-scale span { position: absolute; top: 0; transform: translateX(-50%); line-height: 1; }
/*rtl:ignore*/#why .why-cal-scale span:nth-child(1) { left: 0; }
/*rtl:ignore*/#why .why-cal-scale span:nth-child(2) { left: 25%; }
/*rtl:ignore*/#why .why-cal-scale span:nth-child(3) { left: 50%; }
/*rtl:ignore*/#why .why-cal-scale span:nth-child(4) { left: 75%; }
/*rtl:ignore*/#why .why-cal-scale span:nth-child(5) { left: 100%; }

/* bid / ask chart */
/*rtl:ignore*/#why .why-chart { position: relative; flex: 1; min-height: 180px; }
/*rtl:ignore*/#why .why-chart-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
/*rtl:ignore*/#why .why-chart-legend { position: absolute; left: clamp(14px, 2.6cqi, 20px); top: 13px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; line-height: 1; color: var(--muted); pointer-events: none; }
/*rtl:ignore*/#why .why-lg { display: inline-flex; align-items: center; gap: 6px; }
/*rtl:ignore*/#why .why-lg::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: currentColor; }
/*rtl:ignore*/#why .why-lg--ask { color: var(--brand-ink); }
/*rtl:ignore*/#why .why-lg--ask::before { background: var(--brand); }
/*rtl:ignore*/#why .why-lg--bid { color: var(--bear); }
/*rtl:ignore*/#why .why-lg--bid::before { background: var(--bear-vivid); }
/*rtl:ignore*/#why .why-lg--band::before { width: 12px; height: 8px; background: var(--brand-100); box-shadow: inset 0 0 0 1px var(--brand-100); }
/*rtl:ignore*/#why .why-chart-note { position: absolute; left: clamp(14px, 2.6cqi, 20px); bottom: 10px; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); pointer-events: none; }

/* ================================================================ 2 · EXECUTION (ink) */
/*rtl:ignore*/#why .why-race { display: flex; flex-direction: column; gap: 18px; margin-top: auto; }
/*rtl:ignore*/#why .why-track { position: relative; height: 48px; }
/*rtl:ignore*/#why .why-track-line { position: absolute; left: 6px; right: 6px; top: 5px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
/*rtl:ignore*/#why .why-track-prog { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--k, 1)); background: linear-gradient(90deg, #4B8DF8, #8DB8FF 60%, #22C98E); transition: opacity .3s ease; }
:root[data-theme="dark"] #why .why-track-prog { background: linear-gradient(90deg, #A383B8, #C4AFD2 60%, #22C98E); } /* brand Night */
/*rtl:ignore*/#why .why-packet-rail { position: absolute; left: 0; right: 0; top: -6px; height: 24px; overflow: hidden; pointer-events: none; }
/*rtl:ignore*/#why .why-packet { position: absolute; left: 6px; top: 12px; width: calc(100% - 12px); height: 0; transform: translate3d(calc(var(--k, 1) * 100%), 0, 0); transition: opacity .3s ease; }
/*rtl:ignore*/#why .why-packet::before {
  content: ""; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px rgba(111, 166, 255, .35), 0 0 16px 4px rgba(111, 166, 255, .8);
}
:root[data-theme="dark"] #why .why-packet::before { box-shadow: 0 0 0 3px rgba(182, 156, 199, .35), 0 0 16px 4px rgba(182, 156, 199, .8); } /* brand Night */
/*rtl:ignore*/#why .why-packet::after { content: ""; position: absolute; right: 100%; top: -1px; width: 72px; height: 2px; margin-right: 4px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(141, 184, 255, .9)); }
:root[data-theme="dark"] #why .why-packet::after { background: linear-gradient(90deg, transparent, rgba(196, 175, 210, .9)); } /* brand Night */
/*rtl:ignore*/#why .why-race.is-filled .why-packet,
#why .why-race.is-reset .why-packet,
#why .why-race.is-reset .why-track-prog { opacity: 0; }
/*rtl:ignore*/#why .why-stops { position: absolute; inset: 0; display: flex; justify-content: space-between; list-style: none; padding: 0; margin: 0; }
/*rtl:ignore*/#why .why-stop { position: relative; width: 12px; }
/*rtl:ignore*/#why .why-stop i {
  display: block; width: 12px; height: 12px; border-radius: 50%;
  background: #0E2147; border: 1.5px solid rgba(255, 255, 255, .26);
  transition: background-color .3s, border-color .3s, box-shadow .4s var(--ease-out);
}
:root[data-theme="dark"] #why .why-stop i { background: #3F204D; } /* brand Night */
/*rtl:ignore*/#why .why-stop.is-hit i { background: #1167EB; border-color: #8DB8FF; box-shadow: 0 0 0 4px rgba(61, 134, 245, .22); }
:root[data-theme="dark"] #why .why-stop.is-hit i { background: #885EA3; border-color: #C4AFD2; box-shadow: 0 0 0 4px rgba(157, 123, 180, .22); } /* brand Night */
/*rtl:ignore*/#why .why-stop:last-child.is-hit i { background: #22C98E; border-color: #9AF2CF; box-shadow: 0 0 0 4px rgba(34, 201, 142, .22); }
/*rtl:ignore*/#why .why-race.is-filled .why-stop:last-child i { box-shadow: 0 0 0 6px rgba(34, 201, 142, .18), 0 0 18px rgba(34, 201, 142, .6); }
/*rtl:ignore*/#why .why-stop span {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: #8FA6CF; transition: color .3s;
}
:root[data-theme="dark"] #why .why-stop span { color: #BCB0C2; } /* brand Night */
/*rtl:ignore*/#why .why-stop:first-child span { left: 0; transform: none; }
/*rtl:ignore*/#why .why-stop:last-child span { left: auto; right: 0; transform: none; }
/*rtl:ignore*/#why .why-stop.is-hit span { color: #DCE7FA; }
/*rtl:ignore*/#why .why-stop:last-child.is-hit span { color: #8DF0C8; }

/*rtl:ignore*/#why .why-race-foot { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: clamp(16px, 4cqi, 26px); padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); }
/*rtl:ignore*/#why .why-gauge { position: relative; width: clamp(100px, 25cqi, 118px); aspect-ratio: 1; }
/*rtl:ignore*/#why .why-gauge-svg { width: 100%; height: 100%; overflow: visible; }
/*rtl:ignore*/#why .why-gauge-bg { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 7; stroke-linecap: round; }
/*rtl:ignore*/#why .why-gauge-slow { fill: none; stroke: rgba(255, 93, 102, .45); stroke-width: 7; stroke-dasharray: 1.6 2.4; }
/*rtl:ignore*/#why .why-gauge-val { fill: none; stroke: url(#why-g-val); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; }
/*rtl:ignore*/#why .why-gauge-th { stroke: #FF8A91; stroke-width: 1.5; stroke-linecap: round; }
/*rtl:ignore*/#why .why-gauge-th-t { fill: #FF9AA0; font-family: var(--font-mono); font-size: 8.5px; font-weight: 600; text-anchor: middle; }
/*rtl:ignore*/#why .why-gauge-read { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 2px; }
/*rtl:ignore*/#why .why-ms { font-size: clamp(26px, 7cqi, 32px); line-height: 1; color: #fff; font-weight: 600; letter-spacing: -0.03em; transition: color .4s; }
/*rtl:ignore*/#why .why-gauge-read span { margin-top: 4px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #8FA6CF; }
:root[data-theme="dark"] #why .why-gauge-read span { color: #BCB0C2; } /* brand Night */
/*rtl:ignore*/#why .why-race.is-filled .why-ms { color: #8DF0C8; }
/*rtl:ignore*/#why .why-hist { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding-bottom: 4px; }
/*rtl:ignore*/#why .why-hist-head { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8FA6CF; }
:root[data-theme="dark"] #why .why-hist-head { color: #BCB0C2; } /* brand Night */
/*rtl:ignore*/#why .why-hist-lim { color: #FF9AA0; letter-spacing: .06em; }
/*rtl:ignore*/#why .why-hist-plot { position: relative; height: clamp(62px, 15cqi, 78px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
/*rtl:ignore*/#why .why-hist-line { position: absolute; left: 0; right: 0; top: 25%; border-top: 1px dashed rgba(255, 138, 145, .55); }
/*rtl:ignore*/#why .why-hist-bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 3px; }
/*rtl:ignore*/#why .why-hist-bars i {
  flex: 1; height: 100%; border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, rgba(34, 201, 142, .85), rgba(34, 201, 142, .18));
  transform-origin: 50% 100%; transform: scaleY(var(--h, .4));
  transition: transform .7s var(--ease-out);
}
/*rtl:ignore*/#why .why-hist-bars i:last-child { background: linear-gradient(180deg, #A6F5D6, #22C98E); }

/* ================================================================ 3 · REGULATION */
#why .why-t-reg { flex-direction: row; flex-wrap: wrap; align-items: stretch; column-gap: clamp(18px, 2.8cqi, 30px); }
#why .why-reg-main { flex: 1.65 1 300px; min-width: 0; display: flex; flex-direction: column; gap: clamp(20px, 2vw, 26px); }
#why .why-lic-stage { flex: 1; display: flex; align-items: center; justify-content: center; perspective: 1100px; padding: 4px 4px 10px; min-width: 0; }
#why .why-lic {
  --rx: 3deg; --ry: -5deg;
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; max-width: 470px; aspect-ratio: 1.586;
  display: flex; flex-direction: column;
  padding: 6cqi 6.4cqi 5cqi;
  border-radius: clamp(12px, 4.2cqi, 18px);
  container-type: inline-size;
  background: linear-gradient(140deg, #FFFFFF 0%, #F4F7FC 38%, #E6EDF8 100%);
  border: 1px solid rgba(10, 22, 40, .1);
  box-shadow: inset 0 1px 0 #fff, 0 30px 50px -30px rgba(17, 52, 120, .45), 0 10px 20px -12px rgba(10, 22, 40, .18);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 1s var(--ease-out);
  will-change: transform;
}
:root[data-theme="dark"] #why .why-lic { border: 1px solid rgba(44, 12, 59, .1); } /* brand Night */
[data-theme="dark"] #why .why-lic {
  background: linear-gradient(140deg, #4B2E58 0%, #3B1B49 46%, #290B37 100%);
  border-color: rgba(200, 180, 213, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 36px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .2);
}
#why .why-lic.is-tilting { transition: transform .25s var(--ease-out); }
#why .why-lic-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
#why .why-lic-guil { position: absolute; inset: 0; width: 100%; height: 100%; }
#why .why-lic-guil path { fill: none; stroke: var(--brand); stroke-width: .6; }
#why .why-guil-a { opacity: .16; }
#why .why-guil-b { opacity: .12; }
[data-theme="dark"] #why .why-guil-a { opacity: .22; stroke: var(--brand-400); }
[data-theme="dark"] #why .why-guil-b { opacity: .16; stroke: var(--brand-400); }
#why .why-lic-holo { position: absolute; inset: 0; overflow: hidden; opacity: .34; mix-blend-mode: multiply; }
/* idle drift (keeps the foil alive on touch / without pointer); the pointer moves the inner band on top of it */
#why .why-lic-holo b { position: absolute; inset: 0; animation: why-holo 11s var(--ease-io) infinite alternate; }
#why .why-lic.is-tilting .why-lic-holo b { animation-play-state: paused; }
@keyframes why-holo { from { transform: translate3d(-9%, -5%, 0); } to { transform: translate3d(9%, 5%, 0); } }
[data-theme="dark"] #why .why-lic-holo { opacity: .42; mix-blend-mode: screen; }
#why .why-lic-holo i {
  position: absolute; left: -100%; top: -100%; width: 300%; height: 300%;
  background: linear-gradient(118deg, transparent 41%, rgba(0, 214, 255, .38) 45.5%, rgba(140, 110, 255, .34) 48%, rgba(255, 99, 196, .26) 50.5%, rgba(255, 210, 92, .32) 53%, transparent 57.5%);
  transform: translate3d(calc((var(--hx, .32) - .5) * -26%), calc((var(--hy, .3) - .5) * -18%), 0);
  transition: transform 1s var(--ease-out);
}
:root[data-theme="dark"] #why .why-lic-holo i { background: linear-gradient(118deg, transparent 41%, rgba(0, 214, 255, .38) 45.5%, rgba(156, 121, 178, .34) 48%, rgba(255, 99, 196, .26) 50.5%, rgba(255, 210, 92, .32) 53%, transparent 57.5%); } /* brand Night */
#why .why-lic-glare { position: absolute; left: -50%; top: -50%; width: 100%; height: 100%; background: radial-gradient(closest-side, rgba(255, 255, 255, .7), transparent 70%); opacity: 0; transform: translate3d(calc(var(--hx, .3) * 100%), calc(var(--hy, .2) * 100%), 0); transition: opacity .6s var(--ease-out), transform 1s var(--ease-out); }
[data-theme="dark"] #why .why-lic-glare { background: radial-gradient(closest-side, rgba(216, 207, 220, .22), transparent 70%); }
#why .why-lic.is-tilting .why-lic-holo i,
#why .why-lic.is-tilting .why-lic-glare { transition-duration: .25s, .25s; }
#why .why-lic.is-tilting .why-lic-glare { opacity: 1; }
#why .why-lic-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#why .why-lic-logo { width: 31cqi; height: auto; }
#why .why-lic-type {
  font-size: max(8.5px, 2.4cqi); letter-spacing: .26em; text-transform: uppercase; line-height: 1;
  color: var(--muted); border: 1px solid var(--line-strong); padding: .6em .7em .55em .9em; border-radius: 4px;
}
#why .why-lic-fields { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3.4cqi 4.5cqi; max-width: 64%; }
#why .why-lic-fields dt { font-size: max(8px, 2.2cqi); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
#why .why-lic-fields dd { margin: .45em 0 0; font-size: max(11px, 3.6cqi); font-weight: 600; letter-spacing: .02em; color: var(--ink); line-height: 1.1; white-space: nowrap; }
#why .why-lic-foot { margin-top: 4cqi; padding-top: 2.8cqi; border-top: 1px solid var(--line); font-size: max(7.5px, 2.05cqi); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container (max-width: 330px) { #why .why-lic-foot { letter-spacing: .05em; } }   /* keep the regulator's full name on narrow cards */
#why .why-lic-seal { position: absolute; right: 5.4cqi; bottom: 16.5cqi; width: 22.5cqi; aspect-ratio: 1; }
#why .why-lic-seal svg { width: 100%; height: 100%; overflow: visible; }
#why .why-lic-seal text { font-family: var(--font-mono); font-size: 8.4px; font-weight: 600; letter-spacing: .5px; fill: var(--brand-ink); opacity: .8; }
#why .why-seal-rot { transform-box: view-box; transform-origin: 50px 50px; animation: why-spin 36s linear infinite; }
#why .why-seal-ring { fill: var(--brand-50); stroke: var(--brand-100); stroke-width: 1; }
#why .why-seal-shield { fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linejoin: round; }
#why .why-seal-check { fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes why-spin { to { transform: rotate(360deg); } }

/* Negative Balance Protection */
#why .why-nbp {
  flex: 1 1 260px;
  display: flex; flex-direction: column; min-width: 0;
  padding: 18px 18px 14px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface-2);
}
[data-theme="dark"] #why .why-nbp { background: rgba(255, 255, 255, .02); }
#why .why-nbp-title { font-size: 16px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
/*rtl:ignore*/#why .why-nbp-chip {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 22px; padding: 0 8px; border-radius: 6px;
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  color: var(--muted); background: var(--bg-2); border: 1px solid var(--line);
  transition: color .4s, background-color .4s, border-color .4s;
}
/*rtl:ignore*/#why .why-nbp-chip.is-on { color: var(--bull); background: var(--bull-bg); border-color: transparent; }
/*rtl:ignore*/#why .why-nbp-chip-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
#why .why-nbp-text { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--text); text-wrap: pretty; }
/*rtl:ignore*/#why .why-nbp-chart { position: relative; flex: 1; min-height: 156px; margin-top: 14px; }
/*rtl:ignore*/#why .why-nbp-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
/*rtl:ignore*/#why .why-nbp-bar { position: absolute; left: 0; right: 0; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
/*rtl:ignore*/#why .why-nbp-eq { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1; white-space: nowrap; }
/*rtl:ignore*/#why .why-nbp-eq b { margin-left: 6px; font-size: 12.5px; letter-spacing: 0; color: var(--ink); }
/*rtl:ignore*/#why .why-nbp-floor { position: absolute; left: 0; right: 0; top: 72%; border-top: 1.5px dashed var(--bull-vivid); }
/*rtl:ignore*/#why .why-nbp-floor em { position: absolute; right: 0; top: 5px; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .04em; color: var(--bull); line-height: 1; }
/*rtl:ignore*/#why .why-nbp-below {
  position: absolute; left: 0; right: 0; top: 72%; bottom: 0;
  background: repeating-linear-gradient(-45deg, var(--line-strong) 0 1px, transparent 1px 7px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  mask-image: linear-gradient(180deg, #000, transparent);
}
/*rtl:ignore*/#why .why-nbp-shield {
  position: absolute; left: 62%; top: calc(72% + 6px); width: 30px; height: 30px; margin-left: -15px;
  display: grid; place-items: center; border-radius: 50%;
  color: var(--bull); background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 6px 14px -6px rgba(7, 127, 85, .45);
}
/*rtl:ignore*/#why .why-nbp-shield .ico { width: 17px; height: 17px; stroke-width: 1.7; }
/*rtl:ignore*/#why .why-nbp-ripple { position: absolute; left: 62%; top: 72%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 1.5px solid var(--bull-vivid); opacity: 0; pointer-events: none; }

/* ================================================================ 4 · SUPPORT */
#why .why-sup { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; }
#why .why-sup-main { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
#why .why-greet { position: relative; width: 100%; min-width: 4.6em; height: 1.3em; overflow: hidden; font-size: clamp(30px, 10.5cqi, 42px); line-height: 1.3; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
#why .why-hello { position: absolute; left: 0; top: 0; white-space: nowrap; }
html.js #why .why-hello { opacity: 0; transform: translate3d(0, 100%, 0); transition: transform .8s var(--ease-out), opacity .45s ease; }
html.js #why .why-hello.is-on { opacity: 1; transform: none; }
html.js #why .why-hello.is-out { opacity: 0; transform: translate3d(0, -100%, 0); }
html:not(.js) #why .why-hello:not(.is-on) { display: none; }
#why .why-hello[dir="rtl"] { font-family: "Geeza Pro", "Noto Naskh Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, var(--font-sans); letter-spacing: 0; font-weight: 600; }
#why .why-langs { display: flex; gap: 4px; font-size: 10.5px; letter-spacing: .06em; }
#why .why-langs span { padding: 4px 6px 3px; border-radius: 5px; line-height: 1; color: var(--muted); border: 1px solid transparent; transition: color .4s, background-color .4s, border-color .4s; }
#why .why-langs span.is-on { color: var(--brand-ink); background: var(--brand-50); border-color: var(--brand-100); }
#why .why-online { display: inline-flex; align-items: center; gap: 9px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bull); }
#why .why-online .pill-dot { width: 7px; height: 7px; }
#why .why-clock { position: relative; flex: none; width: clamp(116px, 36cqi, 144px); }
#why .why-clock svg { width: 100%; height: auto; overflow: visible; }
#why .why-clock-face { fill: var(--surface-2); stroke: var(--line); stroke-width: 1; }
[data-theme="dark"] #why .why-clock-face { fill: rgba(255, 255, 255, .02); }
#why .why-clock-track { fill: none; stroke: var(--line); stroke-width: 4.5; }
#why .why-clock-arc { fill: none; stroke: url(#why-g-day); stroke-width: 4.5; stroke-linecap: round; }
#why .why-gd-a { stop-color: var(--brand); }
#why .why-gd-b { stop-color: var(--cyan); }
#why .why-clock-ticks line { stroke: var(--faint); stroke-width: 1; stroke-linecap: round; }
#why .why-clock-ticks line.mj { stroke: var(--muted); stroke-width: 1.4; }
#why .why-clock-n { font-family: var(--font-mono); font-size: 6.4px; font-weight: 500; fill: var(--muted); text-anchor: middle; }
#why .why-clock-utc { font-family: var(--font-mono); font-size: 5.4px; font-weight: 600; letter-spacing: .6px; fill: var(--muted); text-anchor: middle; }
/* FX sessions (Sydney · Tokyo · London · New York) — echo of chapter 02's sessions board */
#why .why-sess-bg { fill: none; stroke: var(--line); stroke-width: 2.6; stroke-linecap: round; }
#why .why-sess {
  fill: none; stroke: var(--brand-400); stroke-opacity: .42; stroke-width: 2.6; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  transition: stroke .5s, stroke-opacity .5s;
}
#why .why-sess.is-open { stroke: var(--brand); stroke-opacity: 1; }
[data-theme="dark"] #why .why-sess.is-open { stroke: var(--brand-400); }
html.js #why .why-t-support:not(.is-in) .why-sess { stroke-dashoffset: 1; }
html.js #why .why-t-support.is-in .why-sess { transition: stroke-dashoffset 1.1s var(--ease-out) calc(.55s + var(--i, 0) * 130ms), stroke .5s, stroke-opacity .5s; }
#why .why-clock-now { transform-box: view-box; transform-origin: 60px 60px; transition: transform 1s var(--ease-out); }
#why .why-clock-now line { stroke: var(--ink); stroke-opacity: .72; stroke-width: 1; stroke-linecap: round; }
#why .why-clock-now-dot { fill: var(--bull-vivid); stroke: var(--surface); stroke-width: 1.5; }
#why .why-clock-now-ring { fill: none; stroke: var(--bull-vivid); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: why-ping 2.4s var(--ease-out) infinite; }
#why .why-clock-hub { fill: var(--ink); stroke: var(--surface); stroke-width: 1.2; }
@keyframes why-ping { 0% { transform: scale(.6); opacity: .9; } 75%, 100% { transform: scale(2.1); opacity: 0; } }

/* ================================================================ 5 · AWARDS (ink) */
#why .why-award { display: flex; align-items: center; gap: clamp(16px, 5cqi, 24px); margin-top: auto; }
#why .why-emblem { flex: none; width: clamp(100px, 34cqi, 128px); }
#why .why-emblem svg { width: 100%; height: auto; overflow: visible; }
#why .why-stem { fill: none; stroke: url(#why-g-gold); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
#why .why-leaf { fill: url(#why-g-gold); transform-box: fill-box; transform-origin: 0% 50%; }
#why .why-laurel--sheen { pointer-events: none; mix-blend-mode: screen; }
#why .why-laurel--sheen .why-leaf { fill: url(#why-g-sheen); }
#why .why-laurel--sheen .why-stem { stroke: url(#why-g-sheen); }
html.js #why .why-emblem .why-stem { stroke-dashoffset: 1; }
html.js #why .why-emblem .why-leaf { transform: scale(0); }
html.js #why .why-emblem.is-in .why-stem { stroke-dashoffset: 0; transition: stroke-dashoffset 1.3s var(--ease-io) .15s; }
html.js #why .why-emblem.is-in .why-leaf { transform: none; transition: transform .75s var(--ease-spring); transition-delay: calc(.3s + var(--i, 0) * 55ms); }
#why .why-emblem-n { font-family: var(--font-sans); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; fill: url(#why-g-gold); text-anchor: middle; }
#why .why-emblem-y { font-family: var(--font-mono); font-size: 7.5px; font-weight: 600; letter-spacing: 2px; fill: #D9BC6E; text-anchor: middle; }
#why .why-award-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
#why .why-award-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 10.5px; letter-spacing: .085em; text-transform: uppercase; color: #E8D49B; line-height: 1.4; }
#why .why-award-line > span { white-space: nowrap; }
#why .why-award-yr {
  display: inline-grid; place-items: center; height: 20px; padding: 0 7px; border-radius: 5px;
  font-weight: 600; letter-spacing: .1em; color: #F4D98B;
  background: rgba(226, 184, 74, .1); box-shadow: inset 0 0 0 1px rgba(226, 184, 74, .38);
}
#why .why-award-link { color: #9CC2FF; min-height: 44px; }
:root[data-theme="dark"] #why .why-award-link { color: #CCBAD8; } /* brand Night */
#why .why-award-link:hover { color: #fff; }
#why .why-award-link:focus-visible { color: #fff; outline-color: #9CC2FF; border-radius: 6px; }
:root[data-theme="dark"] #why .why-award-link:focus-visible { outline-color: #CCBAD8; } /* brand Night */   /* ≥3:1 on the ink tile */
#why .why-award-ch { display: inline-grid; place-items: center; height: 20px; padding: 0 6px; border-radius: 5px; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; color: #C9DAF8; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
:root[data-theme="dark"] #why .why-award-ch { color: #E1DBE4; } /* brand Night */

/* ================================================================ 6 · ASSETS */
#why .why-copy--count .why-title { display: flex; flex-direction: column; gap: 10px; }
#why .why-count {
  font-family: var(--font-sans); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" on;
  font-size: clamp(56px, 15.5cqi, 88px); line-height: .9; font-weight: 700; letter-spacing: -0.05em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: .04em; align-self: flex-start;
}
#why .why-count-l { font-size: var(--fs-h3); }
/*rtl:ignore*/#why .why-mq {
  display: flex; flex-direction: column; gap: 10px;
  margin: auto calc(-1 * var(--tile-pad)) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
/*rtl:ignore*/#why .why-mq-row { overflow: hidden; padding-block: 2px 4px; }
/*rtl:ignore*/#why .why-mq-track { display: flex; width: max-content; padding-left: var(--tile-pad); }
/*rtl:ignore*/#why .why-mq.is-ready .why-mq-track { padding-left: 0; animation: why-marquee 42s linear infinite; }
/*rtl:ignore*/#why .why-mq.is-ready .why-mq-row--rev .why-mq-track { animation-duration: 54s; animation-direction: reverse; }
/*rtl:ignore*/#why .why-mq-set { display: flex; gap: 8px; padding-right: 8px; flex: none; }
/*rtl:begin:ignore*/@keyframes why-marquee { to { transform: translate3d(-50%, 0, 0); } }/*rtl:end:ignore*/
/*rtl:ignore*/#why .why-chipx {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 11px;
  border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
/*rtl:ignore*/#why .why-chipx .ico { width: 18px; height: 18px; color: var(--brand); }
/*rtl:ignore*/#why .why-sym {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px;
  border-radius: 8px; border: 1px dashed var(--line-strong);
  font-family: var(--font-mono); font-size: 12px; white-space: nowrap;
}
/*rtl:ignore*/#why .why-sym b { font-weight: 600; color: var(--ink); letter-spacing: .02em; }
/*rtl:ignore*/#why .why-sym i { font-style: normal; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- hand-off → 04 The Network */
#why .why-next { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 240px; max-width: 100%; margin: clamp(36px, 4.5vw, 60px) auto 0; padding-bottom: clamp(20px, 2.4vw, 32px); }
#why .why-next-svg { width: 100%; height: auto; overflow: visible; }
#why .why-next-base { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 4; stroke-linecap: round; }
#why .why-next-p { stroke: var(--brand); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; }
#why .why-next-p1 { stroke-dashoffset: calc(1 - min(1, var(--p, 1) * 2)); }
#why .why-next-p2 { stroke-dashoffset: calc(1 - max(0, min(1, var(--p, 1) * 2 - 1))); }
#why .why-next-hub { fill: var(--brand); opacity: calc(min(1, var(--p, 1) * 2.2)); }
#why .why-next-node { fill: var(--bg); stroke: var(--brand); stroke-width: 1.5; opacity: calc(max(0, var(--p, 1) * 4 - 3)); }
#why .why-next-label { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); opacity: calc(max(0, var(--p, 1) * 3 - 2)); }
#why .why-next-label b { font-weight: 600; color: var(--brand-ink); letter-spacing: .06em; }

/* ---------------------------------------------------------------- off-screen pause + reduced motion */
#why .why-tile:not(.is-visible) .why-anim { animation-play-state: paused; }
html.reduced #why .why-anim { animation: none; }
html.reduced #why .why-clock-now-ring { display: none; }
html.reduced #why .why-lic,
html.reduced #why .why-lic-holo i,
html.reduced #why .why-lic-glare { transition: none; }
html.reduced #why .why-emblem .why-stem { stroke-dashoffset: 0; transition: none; }
html.reduced #why .why-emblem .why-leaf { transform: none; transition: none; }
/*rtl:ignore*/html.reduced #why .why-hist-bars i,
html.reduced #why .why-clock-now { transition: none; }
html.reduced #why .why-t-support .why-sess { stroke-dashoffset: 0; transition: none; }
@media (prefers-reduced-motion: reduce) {
  #why .why-anim { animation: none; }
  /*rtl:ignore*/#why .why-mq-track { animation: none; }
}

/* ---------------------------------------------------------------- small screens */
@media (max-width: 480px) {
  /*rtl:ignore*/#why .why-term-bar { padding: 0 12px; }
  /*rtl:ignore*/#why .why-term-tag { display: none; }
  /*rtl:ignore*/#why .why-cal-track { margin-inline: 28px 30px; }
  /*rtl:ignore*/#why .why-cal-scale { margin-inline: 28px 30px; }
  #why .why-sup { gap: 12px; }
}

/* ===== 40-partnership ===== */
/* =====================================================================================================
   04 · THE NETWORK — Partnership  (all selectors scoped under #partnership)
   ===================================================================================================== */
#partnership {
  --pn-gap: clamp(40px, 5.4vw, 92px);
  --pn-over: min(44px, calc(var(--pn-gap) * .5));   /* how far the dashboard card overhangs the stage */
  --pn-stage-h: clamp(520px, calc(100svh - 172px), 680px);
}

/* ---------------------------------------------------------------- layout */
#partnership .pn-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "head viz" "acc viz";
  column-gap: var(--pn-gap);
}
#partnership .pn-head { grid-area: head; margin-bottom: 44px; max-width: 620px; }
#partnership .pn-viz { grid-area: viz; position: relative; z-index: 2; min-width: 0; }
#partnership .pn-acc-col { grid-area: acc; position: relative; z-index: 1; min-width: 0; }
#partnership .pn-sticky { position: sticky; top: max(calc(var(--header-h) + 16px), calc((100svh - var(--pn-stage-h)) / 2)); }

#partnership .pn-head > .h2 { max-width: 16ch; }
@media (min-width: 1024px) {
  #partnership .pn-head > .h2 { font-size: clamp(38px, 3.55vw, 54px); }
}
#partnership .pn-p2 { margin-top: 16px; max-width: 58ch; font-size: var(--fs-body); line-height: 1.7; color: var(--muted); }

/* ---------------------------------------------------------------- accordion */
#partnership .pn-acc { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
#partnership .pn-item {
  position: relative;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  background: transparent;
  transition: background-color .45s var(--ease-out), border-color .45s var(--ease-out), box-shadow .6s var(--ease-out);
}
/* hairline separators between closed rows */
#partnership .pn-item::before {
  content: ""; position: absolute; left: 18px; right: 18px; top: -5px; height: 1px;
  background: var(--line); transition: opacity .35s ease;
}
#partnership .pn-acc > li:first-child .pn-item::before { display: none; }
#partnership .pn-item.is-open::before,
#partnership .pn-acc > li:has(.pn-item.is-open) + li .pn-item::before { opacity: 0; }
#partnership .pn-item:hover { background: color-mix(in srgb, var(--surface) 55%, transparent); }
#partnership .pn-item.is-open {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}
:root[data-theme="dark"] #partnership .pn-item:hover { background: rgba(255, 255, 255, .025); }
:root[data-theme="dark"] #partnership .pn-item.is-open { background: var(--surface); border-color: var(--line-strong); }

#partnership .pn-h { font-size: inherit; line-height: inherit; margin: 0; }
#partnership .pn-trigger {
  display: grid;
  grid-template-columns: 24px 40px minmax(0, 1fr) 30px;
  grid-template-areas: "num ico title tog";
  align-items: center;
  column-gap: 16px;
  width: 100%;
  min-height: 74px;
  padding: 16px 18px 16px 18px;
  border-radius: calc(var(--r-md) - 1px);
  text-align: left;
  color: var(--ink);
}
#partnership .pn-num {
  grid-area: num;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .04em;
  font-variant-numeric: tabular-nums slashed-zero; font-feature-settings: "tnum" on, "zero" on;
  color: var(--muted);
  transition: color .3s ease;
}
#partnership .pn-ico {
  grid-area: ico;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  color: var(--brand);
  background: var(--brand-50);
  box-shadow: inset 0 0 0 1px var(--brand-100);
  transition: color .35s ease, background .35s ease, box-shadow .45s var(--ease-out), transform .6s var(--ease-spring);
}
#partnership .pn-ico .ico { width: 20px; height: 20px; }
#partnership .pn-title {
  grid-area: title;
  font-size: 17.5px; font-weight: 650; line-height: 1.3; letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}
#partnership .pn-toggle {
  grid-area: tog;
  position: relative; justify-self: end;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: border-color .3s ease, background-color .3s ease, transform .5s var(--ease-out);
}
#partnership .pn-toggle::before,
#partnership .pn-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; border-radius: 2px;
  background: var(--ink);
  transition: transform .5s var(--ease-out), background-color .3s ease;
}
#partnership .pn-toggle::after { transform: rotate(90deg); }

#partnership .pn-trigger:hover .pn-toggle { border-color: var(--brand-400); }
#partnership .pn-trigger:hover .pn-ico { transform: translateY(-1px) rotate(-4deg); }
#partnership .pn-trigger:focus-visible { outline-offset: -2px; }

#partnership .pn-item.is-open .pn-num { color: var(--brand-ink); }
#partnership .pn-item.is-open .pn-ico {
  color: #fff; background: var(--btn-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 22px -10px var(--brand-glow);
}
#partnership .pn-item.is-open .pn-toggle { background: var(--brand-50); border-color: var(--brand-100); transform: rotate(180deg); }
#partnership .pn-item.is-open .pn-toggle::after { transform: rotate(0deg); }
#partnership .pn-item.is-open .pn-toggle::before,
#partnership .pn-item.is-open .pn-toggle::after { background: var(--brand-ink); }

/* height animation: grid rows 0fr -> 1fr; visibility keeps closed copy out of the a11y tree */
#partnership .pn-panel {
  display: grid; grid-template-rows: 1fr;
}
html.js #partnership .pn-panel {
  grid-template-rows: 0fr; visibility: hidden;
  transition: grid-template-rows .6s var(--ease-out), visibility 0s linear .6s;
}
html.js #partnership .pn-item.is-open .pn-panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
#partnership .pn-panel-in { min-height: 0; overflow: hidden; }
#partnership .pn-panel p {
  padding: 0 60px 22px calc(18px + 24px + 16px + 40px + 16px);
  margin-top: -6px;
  font-size: 15.5px; line-height: 1.65; color: var(--text);
  max-width: 62ch;
}
html.js #partnership .pn-panel p { opacity: 0; transform: translate3d(0, -6px, 0); transition: opacity .3s ease, transform .5s var(--ease-out); }
html.js #partnership .pn-item.is-open .pn-panel p { opacity: 1; transform: none; transition: opacity .55s ease .12s, transform .7s var(--ease-out) .08s; }

/* the "cable": the open feature plugs into the network on the right (desktop only).
   When the open row lines up with the overhanging dashboard card, JS adds .is-docked and the cable stops
   short, so its port plugs into the card's edge instead of disappearing under it. */
#partnership .pn-cable { display: none; }
@media (min-width: 1024px) {
  #partnership .pn-cable {
    --dock: 0px;
    display: block; position: absolute; z-index: 1; pointer-events: none;
    left: calc(100% + 1px); top: 37px; width: calc(var(--pn-gap) - 1px); height: 1px;
  }
  #partnership .pn-item.is-docked .pn-cable { --dock: calc(var(--pn-over) + 5px); }
  #partnership .pn-cable::before {  /* the line */
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--line-strong), var(--brand) 58%);
    transform: scaleX(0); transform-origin: 0 50%;
    clip-path: inset(0 var(--dock) 0 0);
    transition: transform .35s var(--ease-out), clip-path .55s var(--ease-out);
  }
  #partnership .pn-cable::after {   /* the port: on the stage edge, or against the dashboard card when docked */
    content: ""; position: absolute; right: -4px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%;
    background: var(--surface); box-shadow: 0 0 0 1.5px var(--brand), 0 0 0 5px var(--brand-50);
    opacity: 0; transform: translate3d(calc(-1 * var(--dock)), 0, 0) scale(.3);
    transition: opacity .2s ease, transform .55s var(--ease-out);
  }
  #partnership .pn-cable i {
    position: absolute; left: 0; top: -2px; width: 18px; height: 5px; border-radius: 4px;
    background: radial-gradient(closest-side, var(--brand), transparent);
    opacity: 0;
  }
  #partnership .pn-item.is-open .pn-cable::before { transform: scaleX(1); transition: transform .8s var(--ease-out) .25s, clip-path .55s var(--ease-out); }
  #partnership .pn-item.is-open .pn-cable::after {
    opacity: 1; transform: translate3d(calc(-1 * var(--dock)), 0, 0) scale(1);
    transition: opacity .3s ease .85s, transform .55s var(--ease-out);
  }
  #partnership .pn-item.is-open .pn-cable i { animation: pn-cable 2.6s var(--ease-io) 1s infinite; }
}
@keyframes pn-cable {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  60% { transform: translateX(calc(var(--pn-gap) - 22px - var(--dock))); opacity: 1; }
  70%, 100% { transform: translateX(calc(var(--pn-gap) - 22px - var(--dock))); opacity: 0; }
}

#partnership .pn-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 36px; }

/* ---------------------------------------------------------------- stage */
#partnership .pn-stage { position: relative; margin: 0; }
/* the base reveal leaves clip-path: inset(0) on .is-in — it would clip the overhanging dashboard, the cables
   and the CTA's glow ring (a hard-edged box around the button). None of these reveals use the mask variant. */
html.js #partnership [data-reveal].is-in { clip-path: none; }
/*rtl:ignore*/#partnership .pn-screen {
  position: relative; isolation: isolate; overflow: hidden;
  height: var(--pn-stage-h);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(58% 52% at 50% var(--cy-pct, 52%), var(--brand-50), transparent 72%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .9);
}
/*rtl:ignore*/:root[data-theme="dark"] #partnership .pn-screen {
  background:
    radial-gradient(60% 52% at 50% var(--cy-pct, 52%), rgba(153, 117, 176, .16), transparent 72%),
    linear-gradient(180deg, #2D0C3C 0%, #230A2E 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .05);
}
/*rtl:ignore*/#partnership .pn-paper {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: calc(50% + 16px) calc(var(--cy, 50%) + 16px);
  -webkit-mask-image: radial-gradient(70% 62% at 50% 50%, #000 15%, transparent 80%);
  mask-image: radial-gradient(70% 62% at 50% 50%, #000 15%, transparent 80%);
}
/*rtl:ignore*/#partnership .pn-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* HUD */
/*rtl:ignore*/#partnership .pn-hud {
  position: absolute; left: 22px; right: 22px; top: 20px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; line-height: 1;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  pointer-events: none;
}
/*rtl:ignore*/#partnership .pn-tag { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
/*rtl:ignore*/#partnership .pn-tag-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
/*rtl:ignore*/#partnership .pn-tag-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--brand); opacity: 0; animation: dot-ping 2.4s var(--ease-out) infinite; }
/*rtl:ignore*/#partnership .pn-modes { display: grid; justify-items: end; }
/*rtl:ignore*/#partnership .pn-mode {
  grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  opacity: 0; transform: translate3d(0, 7px, 0);
  transition: opacity .3s ease, transform .5s var(--ease-out);
}
/*rtl:ignore*/#partnership .pn-mode b {
  display: inline-grid; place-items: center; height: 20px; min-width: 28px; padding: 0 6px; border-radius: 5px;
  font-weight: 600; letter-spacing: .04em; color: var(--brand-ink); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100);
}
/*rtl:ignore*/#partnership .pn-stage[data-mode="0"] .pn-mode[data-m="0"],
#partnership .pn-stage[data-mode="1"] .pn-mode[data-m="1"],
#partnership .pn-stage[data-mode="2"] .pn-mode[data-m="2"],
#partnership .pn-stage[data-mode="3"] .pn-mode[data-m="3"],
#partnership .pn-stage[data-mode="4"] .pn-mode[data-m="4"],
#partnership .pn-stage[data-mode="5"] .pn-mode[data-m="5"] { opacity: 1; transform: none; transition-delay: .12s; color: var(--ink); }

/* centre label */
/*rtl:ignore*/#partnership .pn-you {
  position: absolute; z-index: 2; left: var(--cx, 50%); top: calc(var(--cy, 50%) + var(--cr, 26px) + var(--you-gap, 16px));
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  color: var(--bg); background: var(--ink);
  box-shadow: 0 8px 20px -10px rgba(10, 22, 40, .5);
  pointer-events: none;
  transition: opacity .6s ease;
}
:root[data-theme="dark"] #partnership .pn-you { box-shadow: 0 8px 20px -10px rgba(44, 12, 59, .5); } /* brand Night */
/*rtl:ignore*/#partnership .pn-you i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
/*rtl:ignore*/html.js #partnership .pn-stage:not(.is-built) .pn-you { opacity: 0; }

/* "Settled" tick (mode 03) */
/*rtl:ignore*/#partnership .pn-settled {
  position: absolute; z-index: 3; left: var(--cx, 50%); top: calc(var(--cy, 50%) - var(--cr, 26px) - 50px);
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px 0 8px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  color: var(--bull); background: var(--bull-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bull-vivid) 30%, transparent), 0 10px 24px -12px color-mix(in srgb, var(--bull-vivid) 60%, transparent);
  opacity: 0; transform: translate3d(-50%, 8px, 0) scale(.86);
  transition: opacity .35s ease, transform .6s var(--ease-spring);
  pointer-events: none;
}
/*rtl:ignore*/:root[data-theme="light"] #partnership .pn-settled { background: #EAF8F1; }
/*rtl:ignore*/#partnership .pn-settled .ico { width: 14px; height: 14px; stroke-width: 2.2; }
/*rtl:ignore*/#partnership .pn-stage.is-settled .pn-settled { opacity: 1; transform: translate3d(-50%, 0, 0) scale(1); }
/*rtl:ignore*/html.reduced #partnership .pn-stage[data-mode="3"] .pn-settled { opacity: 1; transform: translate3d(-50%, 0, 0); }

/* Partner manager node (mode 05) */
/*rtl:ignore*/#partnership .pn-mgr {
  position: absolute; z-index: 3; left: var(--pm-x, 86%); top: var(--pm-y, 16%);
  width: 0; height: 0;
  pointer-events: none;
}
/*rtl:ignore*/#partnership .pn-mgr-node {
  position: absolute; left: -22px; top: -22px;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--violet);
  background: var(--surface);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--violet) 55%, transparent), 0 0 0 7px color-mix(in srgb, var(--violet) 10%, transparent), var(--shadow-md);
  opacity: 0; transform: scale(.4);
  transition: opacity .4s ease, transform .7s var(--ease-spring);
}
/*rtl:ignore*/#partnership .pn-mgr-node .ico { width: 22px; height: 22px; }
/*rtl:ignore*/#partnership .pn-mgr-label {
  position: absolute; right: 32px; top: -13px; height: 26px; padding: 0 4px 0 10px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 12.5px; font-weight: 650; letter-spacing: -0.005em; color: var(--ink);
  background: var(--surface-float); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  opacity: 0; transform: translate3d(8px, 0, 0);
  transition: opacity .4s ease, transform .6s var(--ease-out);
}
/*rtl:ignore*/#partnership .pn-mgr-label em {
  font-style: normal; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .04em;
  padding: 3px 6px; border-radius: 5px; color: var(--violet);
  background: color-mix(in srgb, var(--violet) 12%, transparent);
}
/*rtl:ignore*/#partnership .pn-stage[data-mode="5"] .pn-mgr-node { opacity: 1; transform: none; transition-delay: .15s; }
/*rtl:ignore*/#partnership .pn-stage[data-mode="5"] .pn-mgr-label { opacity: 1; transform: none; transition-delay: .35s; }

/* legend */
#partnership .pn-legend {
  position: absolute; z-index: 2; right: 22px; bottom: 18px;
  display: flex; gap: 16px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  pointer-events: none;
}
#partnership .pn-legend span { display: inline-flex; align-items: center; gap: 7px; }
#partnership .pn-legend i { width: 7px; height: 7px; border-radius: 50%; }
#partnership .pn-legend i.t1 { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
#partnership .pn-legend i.t2 { background: var(--cyan); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 14%, transparent); }

/* ---------------------------------------------------------------- partner dashboard (glass) */
#partnership .pn-dash {
  position: absolute; z-index: 4;
  left: calc(-1 * var(--pn-over)); bottom: 30px;
  width: 262px; padding: 15px 16px 14px;
  border-radius: 18px;
  transform-origin: 0 100%;
  transform: scale(.94);
  transition: transform .8s var(--ease-out), box-shadow .6s var(--ease-out);
}
:root[data-theme="light"] #partnership .pn-dash { background: rgba(255, 255, 255, .78); }
html.js #partnership .pn-stage:not(.is-dash) .pn-dash { opacity: 0; transform: translate3d(-14px, 18px, 0) scale(.9); }
#partnership .pn-dash { transition: transform .8s var(--ease-out), box-shadow .6s var(--ease-out), opacity .6s ease; }
#partnership .pn-stage[data-mode="4"] .pn-dash {
  transform: scale(1.07);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--shadow-xl), 0 0 0 1px var(--brand-100);
}
/*rtl:ignore*/#partnership .pn-dash-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/*rtl:ignore*/#partnership .pn-dash-title { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
/*rtl:ignore*/#partnership .pn-dash-title .ico { width: 16px; height: 16px; color: var(--brand); }
/*rtl:ignore*/#partnership .pn-live {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: var(--bull); background: var(--bull-bg);
}
/*rtl:ignore*/#partnership .pn-live-dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--bull-vivid); }
/*rtl:ignore*/#partnership .pn-live-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid var(--bull-vivid); opacity: 0; animation: dot-ping 2.2s var(--ease-out) infinite; }
/*rtl:ignore*/#partnership .pn-rows { display: grid; gap: 9px; margin-top: 14px; }
/*rtl:ignore*/#partnership .pn-row {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) 48px; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
}
/*rtl:ignore*/#partnership .pn-row-k { color: var(--ink); font-weight: 600; white-space: nowrap; }
/*rtl:ignore*/#partnership .pn-row-v { color: var(--muted); text-align: right; letter-spacing: .02em; text-transform: none; white-space: nowrap; }
/*rtl:ignore*/#partnership .pn-bar { position: relative; height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
/*rtl:ignore*/#partnership .pn-bar i {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-400), var(--brand));
  transform-origin: 0 50%; transform: scaleX(var(--v, .6));
  transition: transform 1.1s var(--ease-out);
}
/*rtl:ignore*/#partnership .pn-bar.is-t2 i { background: linear-gradient(90deg, color-mix(in srgb, var(--cyan) 60%, var(--surface)), var(--cyan)); }
/*rtl:ignore*/#partnership .pn-chart { margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); }
/*rtl:ignore*/#partnership .pn-chart-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1;
}
/*rtl:ignore*/#partnership .pn-tf { display: inline-flex; gap: 2px; letter-spacing: .04em; }
/*rtl:ignore*/#partnership .pn-tf b, #partnership .pn-tf i { font-style: normal; font-weight: 600; padding: 3px 5px; border-radius: 4px; }
/*rtl:ignore*/#partnership .pn-tf b { color: var(--brand-ink); background: var(--brand-50); }
/*rtl:ignore*/#partnership .pn-tf i { color: var(--muted); font-weight: 500; }
/*rtl:ignore*/#partnership .pn-spark-wrap { position: relative; margin-top: 8px; height: 44px; }
/*rtl:ignore*/#partnership .pn-spark { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--brand); }
/*rtl:ignore*/#partnership .pn-spark .spark-line { stroke-width: 1.6; }
/*rtl:ignore*/#partnership .pn-spark-dot {
  position: absolute; left: var(--sx, 100%); top: var(--sy, 30%);
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 3px var(--brand-100);
  transition: top .5s var(--ease-out);
}
/*rtl:ignore*/#partnership .pn-scan { position: absolute; top: -2px; bottom: -2px; left: 0; width: 100%; opacity: 0; pointer-events: none; }
/*rtl:ignore*/#partnership .pn-scan::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--brand), transparent); }
/*rtl:ignore*/#partnership .pn-stage[data-mode="4"] .pn-scan { animation: pn-scan 2.4s var(--ease-io) .4s infinite; }
@keyframes pn-scan {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: .9; }
  85% { opacity: .9; }
  100% { transform: translateX(100%); opacity: 0; }
}
/*rtl:ignore*/#partnership .pn-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
/*rtl:ignore*/#partnership .pn-more-in { min-height: 0; overflow: hidden; display: flex; gap: 6px; opacity: 0; transition: opacity .3s ease; }
/*rtl:ignore*/#partnership .pn-stage[data-mode="4"] .pn-more { grid-template-rows: 1fr; }
/*rtl:ignore*/#partnership .pn-stage[data-mode="4"] .pn-more-in { opacity: 1; padding-top: 12px; transition: opacity .5s ease .25s; }
/*rtl:ignore*/#partnership .pn-stage[data-mode="4"] .pn-spark .spark-line { animation: pn-draw 1.4s var(--ease-io) both; }
@keyframes pn-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
/*rtl:ignore*/#partnership .pn-spark .spark-line { stroke-dasharray: 1; stroke-dashoffset: 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1279px) and (min-width: 1024px) {   /* 1200–1279 is as narrow as 1024–1199 once the rail padding kicks in */
  #partnership .pn-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  #partnership .pn-title { font-size: 16.5px; }
  #partnership .pn-trigger { grid-template-columns: 22px 38px minmax(0, 1fr) 28px; column-gap: 13px; padding-inline: 16px; }
  #partnership .pn-panel p { padding-left: calc(16px + 22px + 13px + 38px + 13px); padding-right: 36px; }
  #partnership .pn-dash { width: 240px; }
}
@media (max-width: 1023px) {
  #partnership { --pn-stage-h: clamp(320px, 62vw, 500px); }
  #partnership .pn-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "head" "viz" "acc"; }
  #partnership .pn-head { margin-bottom: 40px; max-width: 720px; }
  #partnership .pn-sticky { position: relative; top: auto; }
  #partnership .pn-viz { margin-bottom: 64px; }
  /*rtl:ignore*/#partnership .pn-screen { border-radius: var(--r-lg); }
  #partnership .pn-dash { left: auto; right: 16px; bottom: -40px; transform-origin: 100% 100%; }
  #partnership .pn-legend { left: 20px; right: auto; bottom: 16px; }
}
@media (max-width: 640px) {
  #partnership .pn-head { margin-bottom: 32px; }
  /*rtl:ignore*/#partnership .pn-hud { left: 16px; right: 16px; top: 15px; font-size: 10px; letter-spacing: .12em; }
  /*rtl:ignore*/#partnership .pn-mode b { height: 18px; min-width: 24px; }
  #partnership .pn-legend { left: 16px; bottom: 13px; gap: 12px; font-size: 9.5px; }
  /* dashboard becomes a horizontal dock under the network */
  #partnership .pn-dash {
    left: 12px; right: 12px; bottom: -64px; width: auto;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "head head" "rows chart" "more more";
    column-gap: 14px;
    padding: 12px 14px 12px; border-radius: 16px;
    transform-origin: 50% 100%;
    transform: none;
  }
  html.js #partnership .pn-stage:not(.is-dash) .pn-dash { transform: translate3d(0, 14px, 0); }
  #partnership .pn-stage[data-mode="4"] .pn-dash { transform: translate3d(0, -6px, 0); }
  /*rtl:ignore*/#partnership .pn-dash-head { grid-area: head; }
  /*rtl:ignore*/#partnership .pn-dash-title { font-size: 12.5px; gap: 7px; }
  /*rtl:ignore*/#partnership .pn-dash-title .ico { width: 14px; height: 14px; }
  /*rtl:ignore*/#partnership .pn-live { height: 20px; padding: 0 7px; font-size: 9px; }
  /*rtl:ignore*/#partnership .pn-rows { grid-area: rows; margin-top: 12px; gap: 9px; align-content: center; }
  /*rtl:ignore*/#partnership .pn-row { grid-template-columns: 38px minmax(0, 1fr); gap: 8px; font-size: 9.5px; }
  /*rtl:ignore*/#partnership .pn-row-v { display: none; }
  /*rtl:ignore*/#partnership .pn-chart { grid-area: chart; margin-top: 10px; padding-top: 0; padding-left: 12px; border-top: 0; border-left: 1px solid var(--line); }
  /*rtl:ignore*/#partnership .pn-chart-head { font-size: 8.5px; letter-spacing: .08em; }
  /*rtl:ignore*/#partnership .pn-tf { display: none; }
  /*rtl:ignore*/#partnership .pn-spark-wrap { height: 26px; margin-top: 6px; }
  /*rtl:ignore*/#partnership .pn-more { display: none; }       /* the dock keeps its height on phones: mode 04 = lift + ring + chart replay */
  #partnership .pn-legend { display: none; }     /* sits under the dock; the dock's Tier 1 / Tier 2 rows carry it */
  #partnership .pn-viz { margin-bottom: 84px; }
  /*rtl:ignore*/#partnership .pn-mgr-node { width: 36px; height: 36px; left: -18px; top: -18px; }
  /*rtl:ignore*/#partnership .pn-mgr-node .ico { width: 18px; height: 18px; }
  /*rtl:ignore*/#partnership .pn-mgr-label { right: 25px; top: -11px; height: 22px; padding: 0 3px 0 8px; gap: 6px; font-size: 11px; }
  /*rtl:ignore*/#partnership .pn-mgr-label em { font-size: 9.5px; padding: 2px 5px; }
  #partnership { --you-gap: 9px; }
  /*rtl:ignore*/#partnership .pn-you { height: 20px; padding: 0 8px; gap: 5px; font-size: 9.5px; letter-spacing: .08em; }

  #partnership .pn-trigger {
    grid-template-columns: 40px minmax(0, 1fr) 30px;
    grid-template-areas: "ico num tog" "ico title tog";
    column-gap: 14px; row-gap: 3px;
    min-height: 72px; padding: 14px 14px 14px 14px;
  }
  #partnership .pn-num { font-size: 11px; align-self: end; }
  #partnership .pn-title { font-size: 16px; align-self: start; }
  #partnership .pn-panel p { padding: 0 16px 18px calc(14px + 40px + 14px); margin-top: -2px; font-size: 15px; }
  #partnership .pn-cta .btn { width: 100%; }
}
@media (max-width: 400px) {
  #partnership .pn-panel p { padding-right: 14px; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  /*rtl:ignore*/html.js #partnership .pn-panel,
  html.js #partnership .pn-panel p,
  #partnership .pn-more, #partnership .pn-dash,
  #partnership .pn-cable::before, #partnership .pn-cable::after { transition: none; }
  /*rtl:ignore*/#partnership .pn-cable i, #partnership .pn-scan, #partnership .pn-tag-dot::after, #partnership .pn-live-dot::after { animation: none; display: none; }
  /*rtl:ignore*/#partnership .pn-stage[data-mode="4"] .pn-spark .spark-line { animation: none; }
}

/* ---------------------------------------------------------------- hand-off → 05 The Engine
   Mirror of chapter 03's exit (one line branching into three): the three sub-IB flows merge into one.
   --p comes from Atropi.progress (no JS / reduced motion → var(--p, 1) = final state). */
/* chapter 03 already ends on a "04 The Network" connector, so this chapter opens tighter than the default */
#partnership { padding-top: clamp(56px, 4.8vw, 72px); padding-bottom: clamp(28px, 3vw, 44px); }
#partnership .pn-next {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 240px; max-width: 100%; margin: clamp(48px, 4.6vw, 68px) auto 0;
}
#partnership .pn-next-svg { width: 100%; height: auto; overflow: visible; }
#partnership .pn-next-base { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 4; stroke-linecap: round; }
#partnership .pn-next-p { stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 1; }
#partnership .pn-next-p1 { stroke: var(--cyan); stroke-dashoffset: calc(1 - min(1, var(--p, 1) * 2)); }
#partnership .pn-next-p2 { stroke: var(--brand); stroke-dashoffset: calc(1 - max(0, min(1, var(--p, 1) * 2 - 1))); }
#partnership .pn-next-node {
  fill: var(--bg); stroke: var(--cyan); stroke-width: 1.5;
  opacity: calc(min(1, var(--p, 1) * 4));
}
#partnership .pn-next-hub { fill: var(--brand); opacity: calc(max(0, min(1, var(--p, 1) * 3 - 1.2))); }
#partnership .pn-next-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  opacity: calc(max(0, var(--p, 1) * 3 - 2));
}
#partnership .pn-next-label b { font-weight: 600; color: var(--brand-ink); letter-spacing: .06em; }
/* commission pulses: a single short dash rides each path (pathLength 1: dash .1, gap > length) */
#partnership .pn-next-pulse {
  stroke-width: 3; stroke-linecap: round; stroke-dasharray: .09 1.2; stroke-dashoffset: .09;
  opacity: 0;
}
#partnership .pn-next-in { stroke: var(--cyan); }
#partnership .pn-next-out { stroke: var(--brand); }
#partnership .pn-next.is-live .pn-next-pulse { opacity: 1; }
#partnership .pn-next.is-live .pn-next-in { animation: pn-next-in 2.8s cubic-bezier(.45, 0, .55, 1) infinite; }
#partnership .pn-next.is-live .pn-next-out { animation: pn-next-out 2.8s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes pn-next-in { 0% { stroke-dashoffset: .09; } 46%, 100% { stroke-dashoffset: -1; } }
@keyframes pn-next-out { 0%, 44% { stroke-dashoffset: .09; } 90%, 100% { stroke-dashoffset: -1; } }
@media (prefers-reduced-motion: reduce) {
  #partnership .pn-next-pulse { display: none; }
}
html.reduced #partnership .pn-next-pulse { display: none; }

/* ===== 50-platforms ===== */
/* =====================================================================================================
   05 · THE ENGINE — Trading Platforms (MetaTrader 5)                     scoped under #platforms
   Stage: a desktop MT5 terminal + MT5 mobile phone, built in HTML/CSS/canvas, designed at fixed
   "design pixels" (terminal 1040×640, phone 240×496) and scaled by JS (--dfit / --pfit).
   Scroll entry: --p (0→1) from Atropi.progress on .pf-stage. Pointer tilt: --tx / --ty (deg).
   ===================================================================================================== */

#platforms {
  --pf-ease: cubic-bezier(.16, 1, .3, 1);
  /* tighter rhythm than the default chapter: chapter 04 already ends on a "05 The Engine" connector,
     and the stage itself carries a lot of vertical mass */
  padding-top: clamp(24px, 2.6vw, 36px);
  padding-bottom: clamp(64px, 6vw, 88px);
}
#platforms .pf-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

/* ---------------------------------------------------------------- head */
#platforms .chapter-head { position: relative; margin-bottom: clamp(44px, 5.4vw, 80px); }

/* the feed: chapter 04's merged flow (centred in the container) continues down the head's gutter, from the
   section top to the stage top, and plugs into the terminal. --p from Atropi.progress (default = drawn). */
/*rtl:ignore*/#platforms .pf-feed {
  position: absolute; left: 50%; width: 7px; margin-left: -3px; pointer-events: none;
  top: calc(-1 * clamp(24px, 2.6vw, 36px)); bottom: calc(-1 * clamp(44px, 5.4vw, 80px));
}
/*rtl:ignore*/#platforms .pf-feed > i { position: absolute; display: block; }
/*rtl:ignore*/#platforms .pf-feed-base, #platforms .pf-feed-fill, #platforms .pf-feed-track { left: 3px; top: 0; bottom: 4px; width: 1.5px; }
/*rtl:ignore*/#platforms .pf-feed-base { background: repeating-linear-gradient(to bottom, var(--line-strong) 0 2px, transparent 2px 6px); }
/*rtl:ignore*/#platforms .pf-feed-fill {
  background: linear-gradient(to bottom, var(--cyan), var(--brand) 38%);
  transform-origin: 50% 0; transform: scaleY(var(--p, 1));
}
/*rtl:ignore*/#platforms .pf-feed-track { overflow: hidden; }
/*rtl:ignore*/#platforms .pf-feed-pulse {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent 0%, var(--brand-400) 7%, #fff 9%, transparent 16%);
  transform: translate3d(0, -20%, 0); opacity: 0;
}
/*rtl:ignore*/[data-theme="dark"] #platforms .pf-feed-pulse { background: linear-gradient(to bottom, transparent 0%, var(--brand-400) 7%, #E5E0E7 9%, transparent 16%); }
/*rtl:ignore*/#platforms.is-live.is-landed .pf-feed-pulse { animation: pf-feed 3.2s cubic-bezier(.45, 0, .55, 1) 1.2s infinite; }
@keyframes pf-feed { 0% { transform: translate3d(0, -20%, 0); opacity: 1; } 55% { transform: translate3d(0, 100%, 0); opacity: 1; } 56%, 100% { transform: translate3d(0, 100%, 0); opacity: 0; } }
/*rtl:ignore*/#platforms .pf-feed-node {
  left: 0; bottom: -3.5px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 3px var(--brand-100);
  opacity: clamp(0, calc((var(--p, 1) - .9) * 10), 1);
}
/*rtl:ignore*/#platforms .pf-feed-node::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--brand); opacity: 0;
}
/*rtl:ignore*/#platforms.is-landed .pf-feed-node::after { animation: pf-ping 1.6s var(--pf-ease) 2; }
@media (max-width: 899px) { /*rtl:ignore*/#platforms .pf-feed { display: none; } }
#platforms .chapter-head-main > .h2 { max-width: 13.5ch; }
#platforms .chapter-head-aside .lead { max-width: 52ch; }

/* ---------------------------------------------------------------- stage geometry (JS refines these) */
/*rtl:ignore*/#platforms .pf-stage-wrap { position: relative; }
/*rtl:ignore*/#platforms .pf-stage {
  --dfit: 1; --pfit: 1;
  --dx: 0px; --dy: 0px; --px: 948px; --py: 236px; --sh: 744px;
  --tx: 0deg; --ty: 0deg; --par: 0px;
  position: relative;
  height: var(--sh);
}
@media (max-width: 1279px) { /*rtl:ignore*/#platforms .pf-stage { --dfit: .86; --pfit: .86; --px: 815px; --py: 203px; --sh: 640px; } }
@media (max-width: 1199px) { /*rtl:ignore*/#platforms .pf-stage { --dfit: .74; --pfit: .74; --px: 701px; --py: 175px; --sh: 551px; } }
@media (max-width: 899px)  { /*rtl:ignore*/#platforms .pf-stage { --dfit: .56; --pfit: .56; --px: 531px; --py: 132px; --sh: 417px; } }
@media (max-width: 639px)  { /*rtl:ignore*/#platforms .pf-stage { --dfit: .5; --pfit: .85; --dx: 72px; --dy: 68px; --px: 0px; --py: 0px; --sh: 436px; } }

/* network → grid backdrop (hand-off from chapter 04 · The Network) */
/*rtl:ignore*/#platforms .pf-net {
  position: absolute; z-index: 0; pointer-events: none;
  left: calc(50% - 50vw); width: 100vw; top: -120px; bottom: -48px;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: var(--gx, 0px) var(--gy, 0px);
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 50%, #000 38%, transparent 84%);
  mask-image: radial-gradient(ellipse 72% 68% at 50% 50%, #000 38%, transparent 84%);
}
/*rtl:ignore*/#platforms .pf-net::before { /* grid fades in as the network settles */
  content: ""; position: absolute; inset: 0; background: var(--bg);
  opacity: calc(1 - var(--p, 1));
}
/*rtl:ignore*/#platforms .pf-net-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: clamp(0, calc(1 - var(--p, 1) * 1.3), 1); }
/*rtl:ignore*/#platforms .pf-net-links line { stroke: var(--brand); stroke-opacity: .34; stroke-width: 1; stroke-dasharray: 2 4; }
/*rtl:ignore*/#platforms .pf-node {
  position: absolute; width: 7px; height: 7px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line-strong);
  transform: translate3d(calc(var(--ox) * (1 - var(--p, 1))), calc(var(--oy) * (1 - var(--p, 1))), 0) scale(calc(1 - var(--p, 1) * .35));
  opacity: calc(1 - var(--p, 1) * .4);
}
/*rtl:ignore*/#platforms .pf-node.is-hot { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
/*rtl:ignore*/#platforms .pf-node.is-hot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--brand);
  opacity: 0; animation: pf-ping 3.2s var(--pf-ease) infinite; animation-delay: var(--d, 0s);
}
@keyframes pf-ping { 0% { transform: scale(.4); opacity: .8; } 70%, 100% { transform: scale(1.8); opacity: 0; } }

/*rtl:ignore*/#platforms .pf-floor {
  position: absolute; z-index: 1; pointer-events: none;
  left: calc(var(--dx) + 1040px * var(--dfit) * .06); width: calc(1040px * var(--dfit) * .88);
  top: calc(var(--dy) + 640px * var(--dfit) - 30px); height: 80px;
  background: radial-gradient(closest-side, rgba(17, 52, 120, .22), transparent);
  filter: blur(6px);
  opacity: calc(var(--p, 1) * 1);
  transform: scaleX(calc(.7 + var(--p, 1) * .3));
}
/*rtl:ignore*/[data-theme="dark"] #platforms .pf-floor { background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); }

/* order routing: a comet travels from the BUY button to the phone when the fill lands */
/*rtl:ignore*/#platforms .pf-route { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
/*rtl:ignore*/#platforms .pf-route path { fill: none; stroke-linecap: round; opacity: 0; }
/*rtl:ignore*/#platforms .pf-route-trail { stroke: var(--brand); stroke-width: 1; stroke-dasharray: 1.5 5; }
/*rtl:ignore*/#platforms .pf-route-comet { stroke: var(--brand); stroke-width: 2; filter: drop-shadow(0 0 5px var(--brand-glow)); }

/* ---------------------------------------------------------------- desktop placement + scroll tilt */
/*rtl:ignore*/#platforms .pf-desk {
  position: absolute; z-index: 2;
  left: var(--dx); top: var(--dy);
  width: calc(1040px * var(--dfit)); height: calc(640px * var(--dfit));
  transition: opacity .6s var(--pf-ease), transform .6s var(--pf-ease);
}
/*rtl:ignore*/#platforms .pf-desk-tilt {
  /* eased entry: the screen "stands up" fast, then settles (outCubic-like via a squared term) */
  --pe: calc(1 - (1 - var(--p, 1)) * (1 - var(--p, 1)));
  position: absolute; inset: 0;
  transform-origin: 50% 100%;
  transform:
    perspective(calc(1500px * var(--dfit)))
    translate3d(0, calc((1 - var(--pe)) * 56px * var(--dfit)), 0)
    rotateX(calc((1 - var(--pe)) * 24deg + var(--ty)))
    rotateY(var(--tx))
    scale(calc(.9 + var(--pe) * .1));
}
/* specular sheen that sweeps across the glass while the screen stands up; gone at rest */
/*rtl:ignore*/#platforms .pf-term::after {
  content: ""; position: absolute; inset: -10% -30%; z-index: 6; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .55) 48%, rgba(255, 255, 255, .15) 53%, transparent 62%);
  transform: translate3d(calc(-60% + var(--p, 1) * 90%), 0, 0);
  opacity: clamp(0, min(calc((var(--p, 1) - .25) * 3), calc((1 - var(--p, 1)) * 5)), .9);
}
/*rtl:ignore*/[data-theme="dark"] #platforms .pf-term::after { background: linear-gradient(105deg, transparent 38%, rgba(209, 192, 219, .14) 48%, rgba(209, 192, 219, .05) 53%, transparent 62%); }
/*rtl:ignore*/#platforms .pf-stage.is-moving .pf-desk-tilt,
#platforms .pf-stage.is-moving .pf-phone-tilt { will-change: transform; }

/* ---------------------------------------------------------------- terminal (design px) */
/*rtl:ignore*/#platforms .pf-term {
  --t-bar: color-mix(in srgb, var(--surface-3) 62%, var(--surface));
  --t-bar-2: var(--surface-2);
  --t-panel: var(--surface);
  --t-chart: var(--surface);
  --t-line: var(--line);
  --t-line-2: var(--line-strong);
  --t-dim: var(--muted);
  --t-sel: var(--brand-50);
  position: absolute; left: 0; top: 0;
  width: 1040px; height: 640px;
  transform: scale(var(--dfit)); transform-origin: 0 0;
  display: grid; grid-template-rows: 36px 24px 38px minmax(0, 1fr) 156px 24px;
  background: var(--t-panel);
  color: var(--text);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line-strong), 0 1px 0 rgba(255, 255, 255, .6) inset, var(--shadow-xl);
  font-family: var(--font-sans); font-size: 11.5px; line-height: 1; font-weight: 500;
  -webkit-user-select: none; user-select: none;
}
/*rtl:ignore*/[data-theme="dark"] #platforms .pf-term {
  --t-bar: var(--surface-2);
  --t-bar-2: color-mix(in srgb, var(--surface-2) 60%, var(--surface));
  --t-panel: var(--surface);
  --t-chart: var(--bg-2);
  --t-sel: rgba(153, 117, 176, .14);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 1px 0 rgba(255, 255, 255, .06) inset, var(--shadow-xl), 0 30px 120px -40px rgba(153, 117, 176, .35);
}
/*rtl:ignore*/#platforms .pf-term .mono, #platforms .t-px, #platforms .t-tr, #platforms .t-sum b, #platforms .t-clock, #platforms .t-ohlc-v, #platforms .t-bf, #platforms .t-oc-lot span {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" on;
}
/*rtl:ignore*/#platforms .t-i { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* title bar */
/*rtl:ignore*/#platforms .t-title {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: var(--t-bar); border-bottom: 1px solid var(--t-line);
  color: var(--ink); font-weight: 600; font-size: 12px; letter-spacing: -.005em;
}
/*rtl:ignore*/#platforms .t-lights { position: absolute; left: 14px; top: 50%; display: flex; gap: 8px; transform: translateY(-50%); }
/*rtl:ignore*/#platforms .t-lights i { width: 12px; height: 12px; border-radius: 50%; background: var(--bear-vivid); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .18); }
/*rtl:ignore*/#platforms .t-lights i:nth-child(2) { background: var(--gold-2); }
/*rtl:ignore*/#platforms .t-lights i:nth-child(3) { background: var(--bull-vivid); }
/*rtl:ignore*/#platforms .t-name { display: inline-flex; align-items: center; gap: 8px; }
/*rtl:ignore*/#platforms .t-appico { width: 14px; height: 14px; border-radius: 4px; }
/*rtl:ignore*/#platforms .t-acct {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 8px;
  border-radius: 5px; background: var(--t-panel); box-shadow: inset 0 0 0 1px var(--t-line);
  font-family: var(--font-mono); font-size: 10px; font-weight: 500; color: var(--t-dim);
}
/*rtl:ignore*/#platforms .t-live { width: 6px; height: 6px; border-radius: 50%; background: var(--bull-vivid); box-shadow: 0 0 0 2px var(--bull-bg); }

/* menu bar + toolbar */
/*rtl:ignore*/#platforms .t-menu { display: flex; align-items: center; gap: 18px; padding: 0 14px; background: var(--t-bar-2); border-bottom: 1px solid var(--t-line); color: var(--text); font-size: 11.5px; }
/*rtl:ignore*/#platforms .t-tools { display: flex; align-items: center; gap: 4px; padding: 0 10px; background: var(--t-bar-2); border-bottom: 1px solid var(--t-line); color: var(--text); }
/*rtl:ignore*/#platforms .t-btn { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px; border-radius: 6px; font-weight: 600; color: var(--ink); }
/*rtl:ignore*/#platforms .t-algo .t-play { fill: var(--bull-vivid); stroke: var(--bull-vivid); }
/*rtl:ignore*/#platforms .t-algo { color: var(--ink); background: var(--bull-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bull-vivid) 30%, transparent); }
/*rtl:ignore*/#platforms .t-sep { width: 1px; height: 18px; margin: 0 6px; background: var(--t-line-2); }
/*rtl:ignore*/#platforms .t-ib { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; color: var(--t-dim); }
/*rtl:ignore*/#platforms .t-ib.is-on { color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); }
/*rtl:ignore*/#platforms .t-tf { display: inline-flex; gap: 1px; padding: 2px; border-radius: 7px; background: var(--t-panel); box-shadow: inset 0 0 0 1px var(--t-line); }
/*rtl:ignore*/#platforms .t-tf b { display: inline-grid; place-items: center; min-width: 30px; height: 22px; border-radius: 5px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; color: var(--t-dim); }
/*rtl:ignore*/#platforms .t-tf b.is-on { background: var(--brand); color: #fff; font-weight: 600; }
/*rtl:ignore*/#platforms .t-search { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; width: 150px; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--t-panel); box-shadow: inset 0 0 0 1px var(--t-line); color: var(--t-dim); }
/*rtl:ignore*/#platforms .t-search .t-i { width: 13px; height: 13px; }

/* body: market watch | chart */
/*rtl:ignore*/#platforms .t-body { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 0; }
/*rtl:ignore*/#platforms .t-mw { display: grid; grid-template-rows: 26px 22px minmax(0, 1fr) 24px; border-right: 1px solid var(--t-line); background: var(--t-panel); min-height: 0; }
/*rtl:ignore*/#platforms .t-ph { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 10px; background: var(--t-bar-2); border-bottom: 1px solid var(--t-line); color: var(--ink); font-weight: 600; }
/*rtl:ignore*/#platforms .t-clock { font-weight: 500; color: var(--t-dim); }
/*rtl:ignore*/#platforms .t-x { width: 12px; height: 12px; color: var(--t-dim); }
/*rtl:ignore*/#platforms .t-mw-head, #platforms .t-mw-row { display: grid; grid-template-columns: 14px 72px 1fr 1fr; align-items: center; column-gap: 4px; padding: 0 10px 0 8px; }
/*rtl:ignore*/#platforms .t-mw-head { color: var(--t-dim); font-size: 10.5px; border-bottom: 1px solid var(--t-line); }
/*rtl:ignore*/#platforms .t-mw-head span:first-child { grid-column: 1 / 3; padding-left: 18px; }
/*rtl:ignore*/#platforms .t-mw-head span:not(:first-child), #platforms .t-px { text-align: right; }
/*rtl:ignore*/#platforms .t-mw-rows { overflow: hidden; }
/*rtl:ignore*/#platforms .t-mw-row {
  height: 26px; border-bottom: 1px solid color-mix(in srgb, var(--t-line) 60%, transparent);
  opacity: clamp(0, calc((var(--p, 1) - .32 - var(--i) * .035) * 7), 1);
}
/*rtl:ignore*/#platforms .t-mw-row.is-sel { background: var(--t-sel); box-shadow: inset 2px 0 0 var(--brand); }
/*rtl:ignore*/#platforms .t-sym { color: var(--ink); font-weight: 600; letter-spacing: .01em; }
/*rtl:ignore*/#platforms .t-px { color: var(--text); font-size: 11px; padding: 3px 3px; margin-right: -3px; border-radius: 4px; }
/*rtl:ignore*/#platforms .t-dir { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; justify-self: center; }
/*rtl:ignore*/#platforms .t-dir.is-up { border-bottom: 5px solid var(--bull-vivid); }
/*rtl:ignore*/#platforms .t-dir.is-down { border-top: 5px solid var(--bear-vivid); }
/*rtl:ignore*/#platforms .t-mw-add { height: 26px; display: flex; align-items: center; padding-left: 26px; color: var(--t-dim); font-size: 10.5px; opacity: .8; }
/*rtl:ignore*/#platforms .t-tabs { display: flex; align-items: stretch; border-top: 1px solid var(--t-line); background: var(--t-bar-2); font-size: 10.5px; color: var(--t-dim); }
/*rtl:ignore*/#platforms .t-tabs span { display: inline-flex; align-items: center; padding: 0 10px; border-right: 1px solid var(--t-line); }
/*rtl:ignore*/#platforms .t-tabs span.is-on { background: var(--t-panel); color: var(--ink); font-weight: 600; box-shadow: inset 0 2px 0 var(--brand); }

/*rtl:ignore*/#platforms .t-chart { position: relative; background: var(--t-chart); min-width: 0; overflow: hidden; }
/* without JS the canvas stays empty: show chart paper instead */
/*rtl:ignore*/html:not(.js) #platforms .t-chart {
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 40px;
}
/*rtl:ignore*/#platforms .t-cv { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 22px); }
/*rtl:ignore*/#platforms .t-ohlc { position: absolute; left: 12px; top: 10px; display: flex; align-items: baseline; gap: 0; color: var(--ink); font-size: 11.5px; white-space: nowrap; }
/*rtl:ignore*/#platforms .t-ohlc b { font-weight: 700; }
/*rtl:ignore*/#platforms .t-ohlc span:nth-child(2) { color: var(--t-dim); margin-right: 10px; }
/*rtl:ignore*/#platforms .t-ohlc-v { color: var(--t-dim); font-size: 10.5px; letter-spacing: .01em; word-spacing: 4px; }

/* one-click trading panel */
/*rtl:ignore*/#platforms .t-oc {
  position: absolute; left: 12px; top: 30px;
  display: flex; align-items: stretch; height: 46px;
  border-radius: 9px; background: var(--t-panel);
  box-shadow: 0 0 0 1px var(--t-line-2), 0 6px 16px -8px rgba(17, 52, 120, .25);
  overflow: hidden;
}
/*rtl:ignore*/[data-theme="dark"] #platforms .t-oc { box-shadow: 0 0 0 1px var(--t-line-2), 0 8px 20px -8px rgba(0, 0, 0, .6); }
/*rtl:ignore*/#platforms .t-oc-btn {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 3px;
  width: 104px; padding: 0 12px; cursor: pointer; overflow: hidden;
  transition: filter .2s ease;
}
/*rtl:ignore*/#platforms .t-oc-btn.is-sell { background: var(--bear-bg); color: var(--bear); }
/*rtl:ignore*/#platforms .t-oc-btn.is-buy { background: var(--brand); color: #fff; align-items: flex-end; text-align: right; }
/*rtl:ignore*/#platforms .t-oc-btn:hover { filter: brightness(1.06); }
/*rtl:ignore*/#platforms .t-oc-k { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; opacity: .9; }
/*rtl:ignore*/#platforms .t-bf { display: inline-flex; align-items: flex-start; line-height: 1; font-weight: 500; }
/*rtl:ignore*/#platforms .t-bf small { font-size: 12px; padding-top: 5px; }
/*rtl:ignore*/#platforms .t-bf b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
/*rtl:ignore*/#platforms .t-bf sup { font-size: 10px; padding-top: 1px; margin-left: 1px; }
/*rtl:ignore*/#platforms .t-oc-lot { display: flex; align-items: center; gap: 4px; padding: 0 10px; color: var(--ink); font-size: 12px; font-weight: 600; border-inline: 1px solid var(--t-line); background: var(--t-panel); }
/*rtl:ignore*/#platforms .t-oc-lot .t-i { width: 11px; height: 11px; color: var(--t-dim); }
/*rtl:ignore*/#platforms .t-ripple { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: currentColor; opacity: .35; pointer-events: none; }

/*rtl:ignore*/#platforms .t-ctabs { position: absolute; left: 0; right: 0; bottom: 0; height: 22px; display: flex; border-top: 1px solid var(--t-line); background: var(--t-bar-2); font-size: 10.5px; color: var(--t-dim); }
/*rtl:ignore*/#platforms .t-ctabs span { display: inline-flex; align-items: center; padding: 0 12px; border-right: 1px solid var(--t-line); }
/*rtl:ignore*/#platforms .t-ctabs span.is-on { background: var(--t-chart); color: var(--ink); font-weight: 600; }

/*rtl:ignore*/#platforms .t-cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; opacity: 0; pointer-events: none; z-index: 5; filter: drop-shadow(0 2px 3px rgba(10, 22, 40, .35)); }
:root[data-theme="dark"] #platforms .t-cursor { filter: drop-shadow(0 2px 3px rgba(44, 12, 59, .35)); } /* brand Night */
/*rtl:ignore*/#platforms .t-cursor svg { width: 100%; height: 100%; fill: #0A1628; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
:root[data-theme="dark"] #platforms .t-cursor svg { fill: #2C0C3B; } /* brand Night */

/* toolbox */
/*rtl:ignore*/#platforms .t-box { display: grid; grid-template-columns: 22px minmax(0, 1fr); border-top: 1px solid var(--t-line-2); background: var(--t-panel); min-height: 0; }
/*rtl:ignore*/#platforms .t-box-strip { display: grid; place-items: center; background: var(--t-bar-2); border-right: 1px solid var(--t-line); }
/*rtl:ignore*/#platforms .t-box-strip span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; letter-spacing: .08em; color: var(--t-dim); font-weight: 600; }
/*rtl:ignore*/#platforms .t-box-main { display: grid; grid-template-rows: 22px minmax(0, 1fr) 25px 24px; min-width: 0; }
/*rtl:ignore*/#platforms .t-tr { display: grid; grid-template-columns: 82px 82px 140px 48px 56px 76px 76px 76px 76px 72px; align-items: center; column-gap: 8px; padding: 0 128px 0 12px; height: 25px; font-size: 10.5px; color: var(--text); white-space: nowrap; }
/*rtl:ignore*/#platforms .t-tr span:nth-child(n+5) { text-align: right; }
/*rtl:ignore*/#platforms .t-tr-head { height: 22px; font-family: var(--font-sans); color: var(--t-dim); border-bottom: 1px solid var(--t-line); background: var(--t-bar-2); }
/*rtl:ignore*/#platforms .t-tr-rows { overflow: hidden; }
/*rtl:ignore*/#platforms .t-tr-rows .t-tr { border-bottom: 1px solid color-mix(in srgb, var(--t-line) 60%, transparent); opacity: clamp(0, calc((var(--p, 1) - .6) * 6), 1); }
/*rtl:ignore*/#platforms .t-tr .t-sym { font-family: var(--font-sans); }
/*rtl:ignore*/#platforms .t-buy { color: var(--brand-ink); font-weight: 600; }
/*rtl:ignore*/#platforms .t-sell { color: var(--bear); font-weight: 600; }
/*rtl:ignore*/#platforms .t-pl { font-weight: 600; }
/*rtl:ignore*/#platforms .t-pl.up { color: var(--bull); }
/*rtl:ignore*/#platforms .t-pl.down { color: var(--bear); }
/*rtl:ignore*/#platforms .t-tr.is-new { animation: pf-row-in 1.6s var(--pf-ease) both; }
/*rtl:ignore*/#platforms .t-tr.is-out { animation: pf-row-out .5s var(--pf-ease) both; }
/*rtl:begin:ignore*/@keyframes pf-row-in { 0% { background: var(--brand-100); clip-path: inset(0 100% 0 0); } 30% { clip-path: inset(0 0 0 0); } 100% { background: transparent; clip-path: inset(0 0 0 0); } }/*rtl:end:ignore*/
/*rtl:begin:ignore*/@keyframes pf-row-out { to { opacity: 0; transform: translateX(-12px); } }/*rtl:end:ignore*/
/*rtl:ignore*/#platforms .t-sum { display: flex; align-items: center; gap: 6px; padding: 0 12px; font-size: 10.5px; color: var(--t-dim); white-space: nowrap; border-top: 1px solid var(--t-line); }
/*rtl:ignore*/#platforms .t-sum .t-i { width: 13px; height: 13px; color: var(--gold); }
/*rtl:ignore*/#platforms .t-sum b { color: var(--ink); font-weight: 600; }
/*rtl:ignore*/#platforms .t-sum span { margin-left: 14px; }
/*rtl:ignore*/#platforms .t-box-tabs { border-top: 1px solid var(--t-line); }

/*rtl:ignore*/#platforms .t-status { display: flex; align-items: center; gap: 0; border-top: 1px solid var(--t-line); background: var(--t-bar); color: var(--t-dim); font-size: 10.5px; }
/*rtl:ignore*/#platforms .t-status > span { padding: 0 14px; border-right: 1px solid var(--t-line); height: 100%; display: inline-flex; align-items: center; }
/*rtl:ignore*/#platforms .t-status > span:first-child { flex: 1; }
/*rtl:ignore*/#platforms .t-status > .t-conn { gap: 8px; font-family: var(--font-mono); padding-right: 140px; }
/*rtl:ignore*/#platforms .t-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
/*rtl:ignore*/#platforms .t-bars b { width: 3px; border-radius: 1px; background: var(--bull-vivid); }
/*rtl:ignore*/#platforms .t-bars b:nth-child(1) { height: 4px; } /*rtl:ignore*/#platforms .t-bars b:nth-child(2) { height: 6px; }
/*rtl:ignore*/#platforms .t-bars b:nth-child(3) { height: 8px; } /*rtl:ignore*/#platforms .t-bars b:nth-child(4) { height: 10px; }

/* ---------------------------------------------------------------- phone placement + parallax */
/*rtl:ignore*/#platforms .pf-phone-pos {
  position: absolute; z-index: 4;
  left: var(--px); top: var(--py);
  width: calc(240px * var(--pfit)); height: calc(496px * var(--pfit));
  transition: opacity .6s var(--pf-ease), transform .6s var(--pf-ease);
}
/*rtl:ignore*/#platforms .pf-phone-tilt {
  --pp: clamp(0, calc((var(--p, 1) - .28) * 1.39), 1);
  position: absolute; inset: 0;
  transform-origin: 50% 100%;
  transform:
    perspective(calc(1600px * var(--pfit)))
    translate3d(0, calc((1 - var(--pp)) * 150px * var(--pfit) + var(--par)), 0)
    rotateZ(calc((1 - var(--pp)) * 4deg))
    rotateX(calc(var(--ty) * .6))
    rotateY(calc(var(--tx) * -.8));
}
/*rtl:ignore*/#platforms .pf-phone-tilt::before { /* soft contact shadow that tightens on landing */
  content: ""; position: absolute; left: 6%; right: 6%; bottom: -5%; height: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(17, 52, 120, .38), transparent);
  filter: blur(10px);
  opacity: calc(.35 + var(--pp) * .65);
  transform: translateY(calc((1 - var(--pp)) * 40px)) scale(calc(1.25 - var(--pp) * .25));
}
/*rtl:ignore*/[data-theme="dark"] #platforms .pf-phone-tilt::before { background: radial-gradient(closest-side, rgba(0, 0, 0, .8), transparent); }

/*rtl:ignore*/#platforms .pf-phone {
  position: absolute; left: 0; top: 0;
  width: 240px; height: 496px;
  transform: scale(var(--pfit)); transform-origin: 0 0;
  padding: 7px; border-radius: 42px;
  background: linear-gradient(150deg, #FDFEFF 0%, #D5DBE4 22%, #F4F6F9 48%, #C3CAD5 78%, #EEF1F5 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .9),
    inset 0 0 0 2px rgba(10, 22, 40, .10),
    0 40px 70px -24px rgba(17, 52, 120, .42),
    0 14px 28px -14px rgba(10, 22, 40, .28);
  font-family: var(--font-sans); line-height: 1;
  -webkit-user-select: none; user-select: none;
}
/*rtl:ignore*/[data-theme="dark"] #platforms .pf-phone {
  background: linear-gradient(150deg, #715B7B 0%, #3E1F4C 24%, #533960 50%, #300F3F 78%, #61496D 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .14),
    inset 0 0 0 2px rgba(0, 0, 0, .5),
    0 50px 90px -28px rgba(0, 0, 0, .9),
    0 0 60px -20px rgba(153, 117, 176, .35);
}
/*rtl:ignore*/#platforms .pf-phone::after { /* side button */
  content: ""; position: absolute; right: -2px; top: 112px; width: 3px; height: 54px; border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, rgba(10, 22, 40, .18), rgba(10, 22, 40, .05));
}
:root[data-theme="dark"] #platforms .pf-phone::after { background: linear-gradient(90deg, rgba(44, 12, 59, .18), rgba(44, 12, 59, .05)); } /* brand Night */
/*rtl:ignore*/#platforms .ph-screen {
  position: relative; height: 100%; overflow: hidden;
  border-radius: 35px;
  background: var(--surface);
  color: var(--ink);
  display: grid; grid-template-rows: 34px 38px minmax(0, 1fr) 50px 12px;
  box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .12);
}
/*rtl:ignore*/[data-theme="dark"] #platforms .ph-screen { background: var(--bg); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .8); }
/*rtl:ignore*/#platforms .ph-island { position: absolute; left: 50%; top: 8px; width: 66px; height: 19px; margin-left: -33px; border-radius: 12px; background: #05080F; z-index: 3; }
/*rtl:ignore*/#platforms .ph-status { display: flex; align-items: center; justify-content: space-between; padding: 6px 18px 0 24px; font-size: 11.5px; font-weight: 700; letter-spacing: -.01em; }
/*rtl:ignore*/#platforms .ph-sicons { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); }
/*rtl:ignore*/#platforms .ph-sicons svg { height: 9px; width: auto; fill: currentColor; }
/*rtl:ignore*/#platforms .ph-head { display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; padding: 0 10px; border-bottom: 1px solid var(--line); }
/*rtl:ignore*/#platforms .ph-head b { text-align: center; font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
/*rtl:ignore*/#platforms .ph-i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/*rtl:ignore*/#platforms .ph-head .ph-i { color: var(--brand); justify-self: center; }
/*rtl:ignore*/#platforms .ph-rows { overflow: hidden; }
/*rtl:ignore*/#platforms .ph-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 64px 64px; align-items: center; column-gap: 4px;
  height: 50px; padding: 0 10px 0 12px; border-bottom: 1px solid var(--line);
  opacity: clamp(0, calc((var(--pp, 1) - .25 - var(--i) * .06) * 5), 1);
}
/*rtl:ignore*/#platforms .ph-sym { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
/*rtl:ignore*/#platforms .ph-sym b { font-size: 12px; font-weight: 700; letter-spacing: .01em; }
/*rtl:ignore*/#platforms .ph-sym > span { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 8.5px; color: var(--muted); }
/*rtl:ignore*/#platforms .ph-spr { font-style: normal; display: inline-flex; align-items: center; gap: 2px; }
/*rtl:ignore*/#platforms .ph-spr::before { content: ""; width: 5px; height: 7px; background: linear-gradient(currentColor, currentColor) center/1px 100% no-repeat; border-top: 1px solid; border-bottom: 1px solid; opacity: .8; }
/*rtl:ignore*/#platforms .ph-q { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
/*rtl:ignore*/#platforms .ph-px { display: inline-flex; align-items: flex-start; font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink); transition: color .25s ease; }
/*rtl:ignore*/#platforms .ph-px small { font-size: 9.5px; padding-top: 3px; letter-spacing: -.02em; }
/*rtl:ignore*/#platforms .ph-px b { font-size: 15px; font-weight: 600; letter-spacing: -.04em; }
/*rtl:ignore*/#platforms .ph-px sup { font-size: 8px; margin-left: 1px; }
/*rtl:ignore*/#platforms .ph-px.is-up { color: var(--brand); }
/*rtl:ignore*/#platforms .ph-px.is-down { color: var(--bear); }
/*rtl:ignore*/#platforms .ph-lh { font-family: var(--font-mono); font-size: 7.5px; color: var(--muted); white-space: nowrap; }
/*rtl:ignore*/#platforms .ph-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface-2) 80%, transparent); }
/*rtl:ignore*/[data-theme="dark"] #platforms .ph-tabbar { background: var(--surface); }
/*rtl:ignore*/#platforms .ph-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 7.5px; font-weight: 600; color: var(--muted); }
/*rtl:ignore*/#platforms .ph-tabbar span.is-on { color: var(--brand); }
/*rtl:ignore*/#platforms .ph-tabbar .ph-i { width: 17px; height: 17px; }
/*rtl:ignore*/#platforms .ph-home { display: grid; place-items: start center; background: color-mix(in srgb, var(--surface-2) 80%, transparent); }
/*rtl:ignore*/[data-theme="dark"] #platforms .ph-home { background: var(--surface); }
/*rtl:ignore*/#platforms .ph-home::before { content: ""; width: 78px; height: 4px; border-radius: 4px; background: var(--ink); opacity: .85; }

/* push notification */
/*rtl:ignore*/#platforms .ph-push {
  position: absolute; left: 7px; right: 7px; top: 36px; z-index: 4;
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: start;
  padding: 9px 10px; border-radius: 16px;
  background: var(--surface-float);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 0 0 1px var(--line), 0 14px 28px -12px rgba(10, 22, 40, .35);
  opacity: 0; transform: translate3d(0, -130%, 0) scale(.96);
  transition: transform .7s var(--ease-spring), opacity .35s ease;
}
/*rtl:ignore*/[data-theme="dark"] #platforms .ph-push { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 16px 30px -10px rgba(0, 0, 0, .7); }
/*rtl:ignore*/#platforms .pf-phone.is-push .ph-push { opacity: 1; transform: none; }
/*rtl:ignore*/#platforms .ph-push-ico { width: 26px; height: 26px; border-radius: 7px; }
/*rtl:ignore*/#platforms .ph-push-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 9px; color: var(--muted); }
/*rtl:ignore*/#platforms .ph-push-top b { color: var(--ink); font-size: 9.5px; font-weight: 700; letter-spacing: .02em; }
/*rtl:ignore*/#platforms .ph-push-msg { margin-top: 4px; font-size: 9.5px; line-height: 1.35; color: var(--text); font-weight: 500; }

/* sync ping around the phone when an order lands */
/*rtl:ignore*/#platforms .pf-phone-pos::after {
  content: ""; position: absolute; inset: -2px; border-radius: calc(42px * var(--pfit)); pointer-events: none;
  box-shadow: 0 0 0 1px var(--brand); opacity: 0;
}
/*rtl:ignore*/#platforms .pf-phone-pos.is-ping::after { animation: pf-sync 1.4s var(--pf-ease); }
@keyframes pf-sync { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08); } }

/* device focus — driven by the download tiles. The desktop simply fades (only the backdrop is behind it);
   the phone stays opaque and gets a veil instead, so the terminal never shows through its screen. */
/*rtl:ignore*/#platforms .pf-stage[data-focus="phone"] .pf-desk { opacity: .42; }
/*rtl:ignore*/#platforms .pf-stage[data-focus="desk"] .pf-desk { transform: translate3d(0, -6px, 0); }
/*rtl:ignore*/#platforms .pf-stage[data-focus="phone"] .pf-phone-pos { transform: translate3d(0, -10px, 0); }
/*rtl:ignore*/#platforms .pf-stage[data-focus="desk"] .pf-phone-pos { transform: translate3d(6px, 8px, 0); }
/*rtl:ignore*/#platforms .ph-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 6; border-radius: inherit; pointer-events: none;
  background: var(--bg); opacity: 0;
  transition: opacity .6s var(--pf-ease);
}
/*rtl:ignore*/#platforms .pf-stage[data-focus="desk"] .ph-screen::after { opacity: .62; }

/* caption */
#platforms .pf-note {
  position: absolute; left: var(--note-x, 0px); top: var(--note-y, 680px);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
#platforms .pf-note-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bull-vivid); box-shadow: 0 0 0 3px var(--bull-bg); }

/* ---------------------------------------------------------------- download dock */
/* base .is-in leaves clip-path: inset(0) on revealed wrappers, which would clip the tiles' hover lift,
   their shadows and the 3px-offset focus ring. Once revealed, nothing here needs clipping. */
html.js #platforms [data-reveal].is-in:not([data-reveal="mask"]) { clip-path: none; }
#platforms .pf-dock {
  position: relative; z-index: 4;
  display: grid; grid-template-columns: minmax(250px, 1fr) minmax(0, 520px) 320px; gap: 24px clamp(20px, 2.6vw, 36px);
  align-items: center;
  margin-top: clamp(20px, 2vw, 28px);
  padding-top: clamp(32px, 3.4vw, 44px);
  border-top: 1px solid var(--line);
}
#platforms .pf-dock::before { /* a short brand segment on the hairline: the thread passing through */
  content: ""; position: absolute; left: 0; top: -1px; width: 96px; height: 1px; background: var(--grad-brand);
}
#platforms .pf-dock-label { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
#platforms .pf-dock-title { margin-top: 12px; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.12; font-weight: 700; letter-spacing: -.025em; color: var(--ink); max-width: 13ch; }

#platforms .pf-tiles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#platforms .pf-tiles > li { min-width: 0; }
#platforms .pf-tile {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 34px; align-items: center; gap: 14px;
  min-height: 72px; padding: 12px 14px 12px 12px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform .5s var(--pf-ease), box-shadow .5s var(--pf-ease), border-color .3s ease, background-color .3s ease;
}
[data-theme="dark"] #platforms .pf-tile { background: color-mix(in srgb, var(--surface) 86%, transparent); }
#platforms .pf-tile:hover, #platforms .pf-tile:focus-visible { transform: translate3d(0, -3px, 0); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 38%, var(--line)); }
#platforms .pf-glyph {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
#platforms .pf-glyph .ico { width: 22px; height: 22px; }
#platforms .pf-tile:hover .pf-glyph, #platforms .pf-tile:focus-visible .pf-glyph { background: var(--brand-50); color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand-100); }
#platforms .pf-tile-txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
#platforms .pf-tile-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1; white-space: nowrap; }
#platforms .pf-tile-n { font-size: 16px; font-weight: 650; letter-spacing: -.01em; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#platforms .pf-tile-go {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink);
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
#platforms .pf-tile-go .ico { width: 17px; height: 17px; }
#platforms .pf-dl-arrow { transition: transform .45s var(--pf-ease); }
#platforms .pf-tile:hover .pf-tile-go, #platforms .pf-tile:focus-visible .pf-tile-go { background: var(--brand); border-color: var(--brand); color: #fff; }
#platforms .pf-tile:hover .pf-dl-arrow, #platforms .pf-tile:focus-visible .pf-dl-arrow { transform: translateY(2px); }

/* QR card */
#platforms .pf-qr {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 16px;
  padding: 14px 16px 14px 14px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
#platforms .pf-qr-plate {
  position: relative; width: 112px; height: 112px; padding: 8px; border-radius: 14px;
  background: #fff; /* QR codes need a white quiet zone in both themes */
  box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .08);
}
:root[data-theme="dark"] #platforms .pf-qr-plate { box-shadow: inset 0 0 0 1px rgba(44, 12, 59, .08); } /* brand Night */
#platforms .pf-qr-plate::before { /* loading skeleton: sits under the (opaque) QR and is covered once it paints */
  content: ""; position: absolute; inset: 8px; border-radius: 4px;
  background: linear-gradient(100deg, rgba(10, 22, 40, .05) 30%, rgba(10, 22, 40, .1) 50%, rgba(10, 22, 40, .05) 70%) 0 0 / 300% 100%;
  animation: pf-skel 1.4s linear infinite;
}
:root[data-theme="dark"] #platforms .pf-qr-plate::before { background: linear-gradient(100deg, rgba(44, 12, 59, .05) 30%, rgba(44, 12, 59, .1) 50%, rgba(44, 12, 59, .05) 70%) 0 0 / 300% 100%; } /* brand Night */
#platforms .pf-qr-plate.is-ready::before { animation: none; opacity: 0; }
/*rtl:begin:ignore*/@keyframes pf-skel { to { background-position: -150% 0; } }/*rtl:end:ignore*/
#platforms .pf-qr-img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 4px; color: #0A1628; font-size: 9px; line-height: 1.3; }
:root[data-theme="dark"] #platforms .pf-qr-img { color: #2C0C3B; } /* brand Night */
#platforms .pf-qr-corners i { position: absolute; width: 14px; height: 14px; border: 2px solid var(--brand); }
#platforms .pf-qr-corners i:nth-child(1) { left: -4px; top: -4px; border-right: 0; border-bottom: 0; border-top-left-radius: 7px; }
#platforms .pf-qr-corners i:nth-child(2) { right: -4px; top: -4px; border-left: 0; border-bottom: 0; border-top-right-radius: 7px; }
#platforms .pf-qr-corners i:nth-child(3) { left: -4px; bottom: -4px; border-right: 0; border-top: 0; border-bottom-left-radius: 7px; }
#platforms .pf-qr-corners i:nth-child(4) { right: -4px; bottom: -4px; border-left: 0; border-top: 0; border-bottom-right-radius: 7px; }
#platforms .pf-qr-laser {
  position: absolute; left: 6px; right: 6px; top: 8px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--brand) 20%, var(--brand-400) 50%, var(--brand) 80%, transparent);
  box-shadow: 0 0 10px 1px var(--brand-glow);
  opacity: 0;
}
#platforms .pf-qr-wrap.is-in .pf-qr-laser { animation: pf-laser 3.4s var(--ease-io) .6s infinite; }
@keyframes pf-laser { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .9; } 50% { transform: translateY(94px); opacity: .9; } 60%, 100% { transform: translateY(94px); opacity: 0; } }
#platforms .pf-qr-k { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
#platforms .pf-qr-t { margin-top: 8px; font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--ink); text-wrap: balance; }

/* infinite ambient loops (node pings, QR laser, skeleton) idle while the chapter is off-screen (JS toggles .is-live) */
/*rtl:ignore*/html.js #platforms:not(.is-live) .pf-node.is-hot::after,
html.js #platforms:not(.is-live) .pf-qr-laser,
html.js #platforms:not(.is-live) .pf-qr-plate::before { animation-play-state: paused; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1359px) {
  #platforms .pf-dock { grid-template-columns: minmax(0, 1fr) 320px; }
  #platforms .pf-dock-copy { grid-column: 1 / -1; }
  #platforms .pf-dock-title { margin-top: 10px; max-width: none; }
}
@media (max-width: 979px) {
  #platforms .pf-dock { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  #platforms .chapter-head-main > .h2 { max-width: none; }
  #platforms .pf-note { position: static; margin-top: 20px; }
  /*rtl:ignore*/#platforms .pf-net { top: -48px; bottom: -40px; }
}
@media (max-width: 480px) {
  #platforms .pf-tiles { gap: 10px; }
  #platforms .pf-tile { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; min-height: 64px; padding: 10px 12px 10px 10px; }
  #platforms .pf-glyph { width: 36px; height: 36px; border-radius: 10px; }
  #platforms .pf-glyph .ico { width: 19px; height: 19px; }
  #platforms .pf-tile-go { display: none; }
  #platforms .pf-tile-k { font-size: 9.5px; letter-spacing: .08em; }
  #platforms .pf-tile-n { font-size: 15px; }
  #platforms .pf-qr { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  #platforms .pf-qr-plate { width: 96px; height: 96px; padding: 6px; }
  @keyframes pf-laser { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .9; } 50% { transform: translateY(78px); opacity: .9; } 60%, 100% { transform: translateY(78px); opacity: 0; } }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  /*rtl:ignore*/#platforms .pf-route { display: none; }
  /*rtl:ignore*/#platforms .pf-node.is-hot::after { animation: none; }
  #platforms .pf-qr-wrap.is-in .pf-qr-laser { animation: none; opacity: 0; }
  #platforms .pf-qr-plate::before { animation: none; }
  /*rtl:ignore*/#platforms .ph-push, #platforms .pf-desk, #platforms .pf-phone-pos { transition: none; }
  /*rtl:ignore*/#platforms .t-tr.is-new { animation: none; }
  /*rtl:ignore*/#platforms .pf-feed-pulse { display: none; }
  /*rtl:ignore*/#platforms.is-landed .pf-feed-node::after { animation: none; }
}
/*rtl:ignore*/html.reduced #platforms .pf-feed-pulse { display: none; }

/* ===== 60-services ===== */
/* =====================================================================================================
   06 · THE FLOW — Our Services  (#services)
   Signature: "The Journey" — a price-line thread draws with scroll through five stations. Each station is a
   pending order level: when the line reaches it the order is "Filled" (node pulse, level line turns solid,
   status tag flips), the card reveals and its UI vignette plays. Sticky console mirrors the journey (>=1100px).
   Final states are the defaults (no-JS / reduced motion); pre-states only apply once JS arms the section.
   ===================================================================================================== */

#services {
  --path-w: 40px;
  --node: 18px;
  --card-pad: clamp(20px, 2.4vw, 32px);
  --meta-h: 26px;
  --node-top: calc(var(--card-pad) + var(--meta-h) / 2);
  --st-gap: clamp(40px, 6.4vw, 104px);
  --track-pt: clamp(24px, 3.6vw, 56px);
  --sv-stage: var(--surface-2);
  --sv-ui: var(--surface);
  --sv-ui-2: var(--surface-2);
  --sv-shadow: 0 1px 2px rgba(10, 22, 40, .05), 0 14px 30px -16px rgba(17, 52, 120, .28);
}
:root[data-theme="dark"] #services {
  --sv-stage: var(--bg-2);
  --sv-ui: var(--surface-2);
  --sv-ui-2: var(--surface-3);
  --sv-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 36px -18px rgba(0, 0, 0, .8);
}
@media (min-width: 768px) { #services { --path-w: 76px; --node: 20px; } }
@media (min-width: 1100px) { #services { --path-w: 80px; } }
@media (min-width: 1440px) { #services { --path-w: 108px; } }

#services.chapter { padding-block: clamp(72px, 7.2vw, 108px) clamp(72px, 8vw, 120px); }
#services .chapter-head { margin-bottom: clamp(40px, 5vw, 72px); }
#services .chapter-head .h2 { max-width: 16ch; }

/* ---------------------------------------------------------------- route (head) — segmented order-flow bar, fills with the journey */
#services .sv-route {
  position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 30px; padding: 0; list-style: none;
  border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
#services .sv-route::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  transform-origin: 0 50%; transform: scaleX(var(--route-p, 1));
  transition: transform .8s var(--ease-out);
}
#services .sv-route li + li { border-left: 1px solid var(--line); }
#services .sv-route a {
  position: relative; display: flex; align-items: center; gap: 8px;
  min-height: 54px; padding: 8px 12px;
  font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: -0.005em; white-space: nowrap;
  transition: background-color .25s, color .25s;
}
#services .sv-route a .mono { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted); transition: color .3s; }
#services .sv-route a:hover, #services .sv-route a:focus-visible { background: var(--brand-50); color: var(--brand-ink); }
/* the bar clips its children (rounded corners), so the focus ring sits inside each segment */
#services .sv-route a:focus-visible { outline-offset: -3px; border-radius: 3px; }
#services .sv-route li.is-on a .mono { color: var(--brand-ink); }
@media (max-width: 560px) {
  #services .sv-route a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; min-height: 58px; padding: 8px 9px; font-size: 12.5px; }
}
@media (max-width: 380px) { #services .sv-route a { font-size: 12px; padding: 8px 7px; } }

/* ---------------------------------------------------------------- journey layout */
#services .sv-journey { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) {
  #services .sv-journey { grid-template-columns: minmax(230px, 250px) minmax(0, 1fr); column-gap: clamp(20px, 2.6vw, 44px); }
}
@media (min-width: 1440px) {
  #services .sv-journey { grid-template-columns: minmax(260px, 300px) minmax(0, 1fr); }
}

#services .sv-track { position: relative; padding-top: var(--track-pt); }
/* no-JS fallback spine (replaced by the drawn thread once JS builds it) */
#services .sv-track::before {
  content: ""; position: absolute; left: calc(var(--path-w) / 2); top: 0; bottom: 0; width: 1px; margin-left: -.5px;
  background: linear-gradient(var(--brand), var(--brand-400) 70%, transparent);
  opacity: .5;
}
#services.is-built .sv-track::before { display: none; }

#services .sv-stations { list-style: none; margin: 0; padding: 0 0 0 var(--path-w); display: grid; gap: var(--st-gap); }
#services .sv-station { position: relative; }

/* ---------------------------------------------------------------- the thread (SVG, built by JS) */
#services .sv-thread {
  position: absolute; left: 0; top: 0; z-index: 1;
  width: var(--path-w); height: 100%;
  overflow: visible; pointer-events: none;
  display: none;
}
#services.is-built .sv-thread { display: block; }
#services .sv-thread-base { fill: none; stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 1.5 5; stroke-linecap: round; }
#services .sv-thread-line { fill: none; stroke: url(#sv-thread-grad); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
#services .sv-thread-tail { fill: none; stroke-width: 1.6; stroke-dasharray: 2 6; stroke-linecap: round; opacity: .35; transition: opacity .6s var(--ease-out); }
#services.is-handoff .sv-thread-tail { opacity: 1; }
#services.is-handoff.is-near .sv-thread-tail { animation: sv-flow 1.1s linear infinite; }
@keyframes sv-flow { to { stroke-dashoffset: -16; } }
#services .sv-tg-0 { stop-color: var(--brand); stop-opacity: 0; }
#services .sv-tg-a { stop-color: var(--brand); }
#services .sv-tg-b { stop-color: var(--brand-400); }
#services .sv-tg-c { stop-color: var(--cyan); }
#services .sv-tl-a { stop-color: var(--cyan); stop-opacity: 1; }
#services .sv-tl-b { stop-color: var(--cyan); stop-opacity: 0; }
#services .sv-hg-a { stop-color: var(--brand); stop-opacity: .28; }
#services .sv-hg-b { stop-color: var(--brand); stop-opacity: 0; }
#services .sv-head { transition: opacity .4s; }
#services .sv-head.is-idle { opacity: 0; }
#services .sv-head-glow { fill: url(#sv-head-glow); }
#services .sv-head-dot { fill: var(--brand); stroke: var(--bg); stroke-width: 2; }
#services .sv-head-ring { fill: none; stroke: var(--brand); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; opacity: 0; }
#services.is-near .sv-head-ring { animation: sv-ring 2.2s var(--ease-out) infinite; }
@keyframes sv-ring { 0% { transform: scale(.7); opacity: .8; } 80%, 100% { transform: scale(2.6); opacity: 0; } }

/* ---------------------------------------------------------------- nodes + level lines */
#services .sv-node {
  position: absolute; z-index: 2;
  left: calc(var(--path-w) / -2); top: var(--node-top);
  width: var(--node); height: var(--node);
  margin: calc(var(--node) / -2) 0 0 calc(var(--node) / -2);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 0 5px var(--bg), 0 0 0 10px var(--brand-50);
  transition: box-shadow .6s var(--ease-out);
}
#services .sv-node::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  background: var(--brand);
  transition: transform .6s var(--ease-spring);
}
#services .sv-node-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--brand); opacity: 0; pointer-events: none; }
#services .sv-station.is-on .sv-node-ring { animation: sv-ping 1.5s var(--ease-out) 2; }
@keyframes sv-ping { 0% { transform: scale(1); opacity: .85; } 100% { transform: scale(2.8); opacity: 0; } }
#services.is-armed .sv-station:not(.is-on) .sv-node { box-shadow: inset 0 0 0 1.5px var(--line-strong), 0 0 0 5px var(--bg), 0 0 0 10px transparent; }
#services.is-armed .sv-station:not(.is-on) .sv-node::after { transform: scale(0); }

#services .sv-level {
  position: absolute; z-index: 1; top: var(--node-top);
  left: calc(var(--path-w) / -2 + var(--node) / 2 + 8px); right: 0;
  width: auto; height: 1px; margin-top: -.5px;
  pointer-events: none;
  display: none;
}
@media (min-width: 768px) {
  #services .sv-level { display: block; right: 100%; }
  #services .sv-level::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, var(--line-strong) 55%, transparent 0); background-size: 6px 1px; }
  #services .sv-level::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform-origin: 0 50%; transition: transform .55s var(--ease-out) .05s; }
  #services.is-armed .sv-station:not(.is-on) .sv-level::after { transform: scaleX(0); transition-delay: 0s; }
}

/* ---------------------------------------------------------------- station card */
#services .sv-card {
  position: relative;
  container-type: inline-size;
  padding: var(--card-pad);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  outline: 1px dashed transparent; outline-offset: -1px;
  transition: transform .9s var(--ease-out), box-shadow .7s var(--ease-out), background-color .6s var(--ease-out), border-color .4s, outline-color .4s;
}
#services .sv-card:hover { border-color: var(--line-strong); }
/* pending = a resting order drawn the way MT5 draws one: dashed, hollow, waiting for price. Filled = solid card. */
#services.is-armed .sv-station:not(.is-seen) .sv-card {
  transform: translate3d(0, 14px, 0);
  background-color: color-mix(in srgb, var(--surface) 38%, transparent);
  border-color: transparent; outline-color: var(--line-strong);
  box-shadow: none;
}
#services .sv-copy { transition: opacity .7s var(--ease-out) .05s; }
#services.is-armed .sv-station:not(.is-seen) .sv-copy { opacity: .5; }

#services .sv-card-in { position: relative; display: grid; gap: 22px; }
@container (min-width: 520px) {
  #services .sv-card-in { grid-template-columns: minmax(0, 1fr) clamp(250px, 48cqi, 300px); column-gap: clamp(24px, 5cqi, 52px); align-items: center; }
}
#services .sv-copy { min-width: 0; align-self: start; }

/* meta row = the order level continues across the card into the status tag */
#services .sv-meta { display: flex; align-items: center; gap: 12px; height: var(--meta-h); margin-bottom: 20px; }
#services .sv-step { font-size: 12.5px; font-weight: 600; color: var(--ink); letter-spacing: .02em; white-space: nowrap; }
#services .sv-step span { color: var(--muted); font-weight: 500; }
#services .sv-phase {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-ink); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100);
}
#services .sv-rule { position: relative; flex: 1; min-width: 12px; height: 1px; }
#services .sv-rule::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, var(--line-strong) 55%, transparent 0); background-size: 6px 1px; }
#services .sv-rule::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--bull-vivid)); transform-origin: 0 50%; transition: transform .55s var(--ease-out) .18s; }
#services.is-armed .sv-station:not(.is-on) .sv-rule::after { transform: scaleX(0); transition-delay: 0s; transition-duration: .3s; }

#services .sv-status { position: relative; display: inline-grid; height: 24px; flex: none; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
#services .sv-status > span {
  grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0 9px; border-radius: 6px;
  transition: opacity .35s var(--ease-out), transform .5s var(--ease-out);
}
#services .sv-st-p { color: var(--muted); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transform: translateY(-6px); }
#services .sv-st-p::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid currentColor; }
#services .sv-st-f { color: var(--bull); background: var(--bull-bg); transition-delay: .42s; }
#services .sv-st-f svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
#services.is-armed .sv-station:not(.is-on) .sv-st-p { opacity: 1; transform: none; }
#services.is-armed .sv-station:not(.is-on) .sv-st-f { opacity: 0; transform: translateY(6px); transition-delay: 0s; }

#services .sv-copy .h3 { margin: 0; max-width: 22ch; }
#services .sv-text { margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--text); max-width: 42ch; }
#services .sv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* payment methods (station 02) — lives INSIDE the deposit vignette, under the receipt: the original strip on a light
   plate, set as two rows of three (the same image clipped into halves, so every mark stays legible at stage size).
   The method named on the receipt ("via VISA") is the one selected on the plate; a bead travels up the connector
   from the plate into the receipt whenever the method changes. Row-local logo positions: % of the half-strip. */
#services .sv-v2 { grid-template-rows: auto auto; justify-items: center; align-content: center; }
#services .sv-pay { position: relative; width: 100%; max-width: 280px; padding-top: 16px; }
#services .sv-pay-flow {
  position: absolute; left: 50%; top: 0; width: 1px; height: 14px; margin-left: -.5px;
  background-image: linear-gradient(var(--line-strong) 55%, transparent 0); background-size: 1px 4px;
}
#services .sv-pay-flow i {
  position: absolute; left: -2.5px; bottom: -3px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--bull-vivid); box-shadow: 0 0 0 3px var(--bull-bg); opacity: 0;
}
/*rtl:ignore*/#services .sv-pay-plate {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px;
  padding: 10px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(10, 22, 40, .05), 0 12px 24px -16px rgba(17, 52, 120, .32);
}
:root[data-theme="dark"] #services .sv-pay-plate { box-shadow: 0 14px 26px -14px rgba(9, 2, 12, .75); }
#services .sv-pay-plate .paym-i {
  position: relative; justify-content: center; height: 34px; padding: 0; border-radius: 9px;
  background: var(--surface-2); border-color: transparent; box-shadow: none;
  transition: background-color .35s ease, box-shadow .35s ease, transform .5s var(--ease-out);
}
#services .sv-pay-plate .paym-g { width: 20px; height: 20px; }
#services .sv-pay-plate .paym-i::after { /* tab-style underline under the selected mark */
  content: ""; position: absolute; left: 22%; right: 22%; bottom: -4px; height: 2px; border-radius: 2px;
  background: var(--brand-hex); transform: scaleX(0); transition: transform .45s var(--ease-out);
}
:root[data-theme="dark"] #services .sv-pay-plate .paym-i::after { background: var(--brand); }
#services .sv-pay-plate .paym-i.is-sel { background: var(--surface); box-shadow: 0 0 0 1px var(--brand-100), 0 6px 16px -8px var(--brand-glow); transform: translateY(-1px); }
#services .sv-pay-plate .paym-i.is-sel::after { transform: scaleX(1); }
#services .sv-pay-k {
  display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 0 9px;
  font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1;
}
#services .sv-pay-k svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- vignette stage (shared) */
#services .sv-vig {
  position: relative; isolation: isolate;
  container-type: inline-size;
  display: grid; place-items: center;
  min-height: 240px; padding: 24px 18px;
  border-radius: var(--r-md);
  background: var(--sv-stage);
  border: 1px solid var(--line);
  overflow: hidden;
}
#services .sv-vig::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, #000 30%, transparent 85%);
}
#services .sv-vig::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(90% 70% at 50% 0%, var(--field-a), transparent 70%);
}
#services .sv-vig { transition: background-color .6s var(--ease-out), border-color .4s; }
#services .sv-vig > * { transition: opacity .5s var(--ease-out) .04s, transform .7s var(--ease-out) .04s; }
#services.is-armed .sv-station:not(.is-seen) .sv-vig { background-color: transparent; border-style: dashed; border-color: var(--line-strong); }
#services.is-armed .sv-station:not(.is-seen) .sv-vig > * { opacity: 0; transform: translate3d(0, 14px, 0) scale(.97); }

/* ---------- V1 · sign-up window */
#services .sv-win { width: 100%; max-width: 290px; background: var(--sv-ui); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sv-shadow); overflow: hidden; }
#services .sv-win-bar { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; border-bottom: 1px solid var(--line); background: var(--sv-ui-2); }
#services .sv-win-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); flex: none; }
#services .sv-url {
  display: flex; align-items: center; gap: 5px; flex: 1; min-width: 0; height: 18px; margin-left: 8px; padding: 0 8px;
  border-radius: 6px; background: var(--sv-ui); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 9.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#services .sv-url svg { width: 10px; height: 10px; flex: none; fill: none; stroke: var(--bull); stroke-width: 2; stroke-linecap: round; }
#services .sv-form { display: grid; gap: 9px; padding: 14px 14px 15px; }
#services .sv-field { display: grid; gap: 4px; }
#services .sv-flabel { font-size: 10.5px; font-weight: 600; color: var(--muted); line-height: 1.2; }
#services .sv-input {
  position: relative; container-type: inline-size;
  display: flex; align-items: center; height: 30px; padding: 0 10px;
  border-radius: 8px; background: var(--sv-ui); box-shadow: inset 0 0 0 1px var(--line-strong);
}
#services .sv-input::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 0 3px var(--brand-100);
  opacity: 0;
}
#services .sv-fill { display: block; height: 6px; width: calc(var(--w) * 1%); border-radius: 3px; background: var(--ink); opacity: .55; transform-origin: 0 50%; }
#services .sv-caret { position: absolute; left: 10px; top: 8px; width: 1.5px; height: 14px; border-radius: 1px; background: var(--brand); opacity: 0; transform: translateX(calc(var(--w) * 1cqi + 2px)); }
#services .sv-dots { display: flex; gap: 4px; }
#services .sv-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); opacity: .7; }
#services .sv-pw-ok { width: 14px; height: 14px; margin-left: auto; fill: none; stroke: var(--bull); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#services .sv-submit {
  position: relative; display: grid; height: 32px; margin-top: 3px; border-radius: 8px; overflow: hidden;
  font-size: 11.5px; font-weight: 650; color: #fff; letter-spacing: .01em;
}
#services .sv-submit > span { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 6px; }
#services .sv-submit-a { background: var(--btn-bg); }
#services .sv-submit-b { background: var(--bull-vivid); color: #fff; clip-path: inset(0 0 0 0); }
#services .sv-submit-b svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 0; }
:root[data-theme="light"] #services .sv-submit-b { background: #0B8A5E; }

/* V1 sequence (plays when the station is seen) */
#services .sv-station.is-seen .sv-fill { transition: transform calc(var(--n) * 12ms) steps(var(--n), end) var(--d); }
#services .sv-station.is-seen .sv-caret { transition: transform calc(var(--n) * 12ms) steps(var(--n), end) var(--d); animation: sv-caret calc(var(--n) * 12ms + 200ms) linear var(--d) both; }
#services .sv-station.is-seen .sv-input::after { animation: sv-focus calc(var(--n, 10) * 12ms + 220ms) var(--ease-out) var(--d) both; }
#services .sv-station.is-seen .sv-dots i { transition: opacity .12s ease calc(var(--d) + var(--k) * 14ms), transform .22s var(--ease-spring) calc(var(--d) + var(--k) * 14ms); }
#services .sv-station.is-seen .sv-pw-ok { transition: opacity .18s ease .5s, transform .32s var(--ease-spring) .5s; }
#services .sv-station.is-seen .sv-submit-a { transition: transform .14s ease .52s; }
#services .sv-station.is-seen .sv-submit-b { transition: clip-path .3s var(--ease-io) .54s; }
#services .sv-station.is-seen .sv-submit-b svg { transition: stroke-dashoffset .24s var(--ease-out) .64s; }
@keyframes sv-caret { 0%, 78% { opacity: 1; } 82%, 88% { opacity: 0; } 92%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sv-focus { 0% { opacity: 0; } 12%, 80% { opacity: 1; } 100% { opacity: 0; } }
#services.is-armed .sv-station:not(.is-seen) .sv-fill { transform: scaleX(0); }
#services.is-armed .sv-station:not(.is-seen) .sv-caret { transform: translateX(0); }
#services.is-armed .sv-station:not(.is-seen) .sv-dots i { opacity: 0; transform: scale(.2); }
#services.is-armed .sv-station:not(.is-seen) .sv-pw-ok { opacity: 0; transform: scale(.4); }
#services.is-armed .sv-station:not(.is-seen) .sv-submit-b { clip-path: inset(0 100% 0 0); }
#services.is-armed .sv-station:not(.is-seen) .sv-submit-b svg { stroke-dashoffset: 22; }

/* ---------- V2 · deposit receipt */
#services .sv-rc-wrap { width: 100%; max-width: 280px; filter: drop-shadow(0 14px 22px rgba(17, 52, 120, .16)) drop-shadow(0 1px 1px rgba(10, 22, 40, .06)); }
:root[data-theme="dark"] #services .sv-rc-wrap { filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .55)); }
#services .sv-receipt {
  position: relative; padding: 15px 16px 23px;
  background: var(--sv-ui);
  border-radius: 14px 14px 0 0;
  -webkit-mask: radial-gradient(circle at 6px 100%, transparent 4.5px, #000 5px) 0 100% / 12px 9px repeat-x, linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 8.5px) no-repeat;
  mask: radial-gradient(circle at 6px 100%, transparent 4.5px, #000 5px) 0 100% / 12px 9px repeat-x, linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 8.5px) no-repeat;
}
#services .sv-rc-head { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
#services .sv-rc-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bull-bg); color: var(--bull); }
#services .sv-rc-ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
#services .sv-rc-hd { display: grid; min-width: 0; }
#services .sv-rc-title { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.25; letter-spacing: -0.01em; white-space: nowrap; }
#services .sv-rc-sub { font-size: 10.5px; color: var(--muted); line-height: 1.5; white-space: nowrap; }
#services .sv-rc-method { display: inline-block; color: var(--ink); font-weight: 600; }
@container (max-width: 256px) {
  #services .sv-rc-head { grid-template-columns: 32px minmax(0, 1fr); row-gap: 6px; }
  #services .sv-rc-ico { grid-row: span 2; align-self: start; margin-top: 2px; }
  #services .sv-rc-chip { grid-column: 2; justify-self: start; }
}
#services .sv-rc-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px; background: var(--bull-bg); color: var(--bull); font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
#services .sv-rc-amt { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 11px; padding: 10px 0; border-block: 1px dashed var(--line-strong); }
#services .sv-rc-k { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
#services .sv-rc-v { display: inline-flex; align-items: center; gap: 10px; }
#services .sv-rc-dots { display: inline-flex; align-items: center; gap: 4px; }
#services .sv-rc-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
#services .sv-rc-dots b { width: 3px; height: 3px; margin: 6px 1px 0; border-radius: 50%; background: var(--ink); font-size: 0; }
#services .sv-rc-eye { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; }
#services .sv-rc-steps { position: relative; display: grid; gap: 8px; }
#services .sv-rc-steps li { position: relative; display: grid; grid-template-columns: 12px minmax(0, 1fr) 14px; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
#services .sv-rc-steps li + li::before { content: ""; position: absolute; left: 5.5px; bottom: 50%; height: calc(100% + 8px - 12px); margin-bottom: 6px; width: 1px; background: var(--bull-vivid); transform-origin: 50% 100%; }
#services .sv-rc-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bull-vivid); box-shadow: 0 0 0 3px var(--bull-bg); }
#services .sv-rc-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#services .sv-rc-ck { width: 14px; height: 14px; fill: none; stroke: var(--bull); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* V2 sequence */
#services .sv-station.is-seen .sv-rc-ico { transition: transform .45s var(--ease-spring) .06s, opacity .2s ease .06s; }
#services .sv-station.is-seen .sv-rc-dot { transition: background-color .22s ease calc(.16s + var(--k) * .12s), box-shadow .26s ease calc(.16s + var(--k) * .12s); }
#services .sv-station.is-seen .sv-rc-steps li::before { transition: transform .18s var(--ease-out) calc(.06s + var(--k) * .12s); }
#services .sv-station.is-seen .sv-rc-l { transition: color .22s ease calc(.16s + var(--k) * .12s); }
#services .sv-station.is-seen .sv-rc-ck { transition: opacity .18s ease calc(.2s + var(--k) * .12s), transform .3s var(--ease-spring) calc(.2s + var(--k) * .12s); }
#services .sv-station.is-seen .sv-rc-chip { transition: opacity .2s ease .46s, transform .34s var(--ease-spring) .46s; }
#services.is-armed .sv-station:not(.is-seen) .sv-rc-ico { transform: scale(.4); opacity: 0; }
#services.is-armed .sv-station:not(.is-seen) .sv-rc-dot { background: var(--sv-ui); box-shadow: inset 0 0 0 1.5px var(--line-strong), 0 0 0 3px transparent; }
#services.is-armed .sv-station:not(.is-seen) .sv-rc-steps li::before { transform: scaleY(0); }
#services.is-armed .sv-station:not(.is-seen) .sv-rc-l { color: var(--muted); }
#services.is-armed .sv-station:not(.is-seen) .sv-rc-ck { opacity: 0; transform: scale(.3); }
#services.is-armed .sv-station:not(.is-seen) .sv-rc-chip { opacity: 0; transform: scale(.6); }

/* ---------- V3 · one-click quote, spread lands on 0.0 */
/*rtl:ignore*/#services .sv-quote { width: 100%; max-width: 296px; padding: 14px; background: var(--sv-ui); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sv-shadow); }
/*rtl:ignore*/#services .sv-q-head { display: flex; align-items: center; gap: 8px; }
/*rtl:ignore*/#services .sv-q-sym { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
/*rtl:ignore*/#services .sv-q-acct { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 5px; font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); }
/*rtl:ignore*/#services .sv-q-live { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
/*rtl:ignore*/#services .sv-q-live i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--bull-vivid); }
/*rtl:ignore*/#services .sv-q-live i::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid var(--bull-vivid); animation: dot-ping 2.4s var(--ease-out) infinite; }
/*rtl:ignore*/#services .sv-q-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 6px; margin-top: 12px; }
/*rtl:ignore*/#services .sv-q-side { display: grid; gap: 4px; padding: 9px 10px 10px; border-radius: 10px; }
/*rtl:ignore*/#services .sv-q-sell { background: var(--bear-bg); color: var(--bear); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bear-vivid) 18%, transparent); }
/*rtl:ignore*/#services .sv-q-buy { background: var(--brand-50); color: var(--brand-ink); text-align: right; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 20%, transparent); }
/*rtl:ignore*/#services .sv-q-lbl { font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
/*rtl:ignore*/#services .sv-q-px { display: inline-flex; align-items: flex-start; justify-self: start; line-height: 1; border-radius: 4px; padding: 1px 2px; margin: -1px -2px; }
/*rtl:ignore*/#services .sv-q-buy .sv-q-px { justify-self: end; }
/*rtl:ignore*/#services .sv-q-px small { font-size: clamp(11px, 4.4cqi, 13px); font-weight: 500; margin-top: .55em; opacity: .85; }
/*rtl:ignore*/#services .sv-q-px b { font-size: clamp(21px, 9.6cqi, 29px); font-weight: 600; letter-spacing: -0.02em; }
/*rtl:ignore*/#services .sv-q-px sup { font-size: clamp(10px, 4cqi, 12px); font-weight: 600; margin-left: 1px; }
/*rtl:ignore*/#services .sv-q-spread { display: grid; place-content: center; justify-items: center; gap: 3px; min-width: 44px; padding: 0 2px; }
/*rtl:ignore*/#services .sv-q-sv { display: grid; place-items: center; min-width: 46px; height: 30px; padding: 0 6px; border-radius: 8px; background: var(--sv-ui); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
/*rtl:ignore*/#services .sv-q-su { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
/*rtl:ignore*/#services .sv-q-gauge { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
/*rtl:ignore*/#services .sv-q-gk { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
/*rtl:ignore*/#services .sv-q-bar { position: relative; flex: 1; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
/*rtl:ignore*/#services .sv-q-bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--bull-vivid), var(--brand)); transform-origin: 0 50%; transform: scaleX(.02); }
/*rtl:ignore*/#services .sv-q-gv { min-width: 26px; text-align: right; font-size: 11px; font-weight: 600; color: var(--bull); }
/*rtl:ignore*/#services .sv-q-note { margin-top: 8px; font-size: 9.5px; letter-spacing: .06em; color: var(--muted); text-align: right; }

/* ---------- V4 · instrument heat mosaic */
#services .sv-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 320px; }
#services .sv-tile {
  display: grid; gap: 2px; min-width: 0; align-content: center;
  padding: 7px 8px 6px; border-radius: 9px;
  background: var(--sv-ui); box-shadow: inset 0 0 0 1px var(--line);
  transition: opacity .4s var(--ease-out) calc(.06s + var(--d) * 45ms), transform .5s var(--ease-spring) calc(.06s + var(--d) * 45ms), background-color .5s ease;
}
#services .sv-tile b { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; color: var(--ink); letter-spacing: .01em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: clip; }
#services .sv-tile em { font-style: normal; font-size: 9.5px; font-weight: 500; line-height: 1.3; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
#services .sv-tile.up { background: color-mix(in srgb, var(--bull-vivid) 9%, var(--sv-ui)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bull-vivid) 20%, transparent); }
#services .sv-tile.down { background: color-mix(in srgb, var(--bear-vivid) 8%, var(--sv-ui)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bear-vivid) 18%, transparent); }
#services .sv-tile.up em { color: var(--bull); }
#services .sv-tile.down em { color: var(--bear); }
#services .sv-tile-count { grid-column: span 2; align-content: center; padding: 6px 10px; background: var(--grad-ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 22px -12px rgba(17, 52, 120, .6); }
:root[data-theme="dark"] #services .sv-tile-count { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 22px -12px rgba(85, 59, 97, .6); } /* brand Night */
#services .sv-tile-count b { font-size: 19px; color: #fff; letter-spacing: -0.02em; line-height: 1.1; }
#services .sv-tile-count em { font-family: var(--font-sans); font-size: 10px; color: #A9BBDB; letter-spacing: 0; }
:root[data-theme="dark"] #services .sv-tile-count em { color: #CCC1D1; } /* brand Night */
#services.is-armed .sv-station:not(.is-seen) .sv-tile { opacity: .2; transform: scale(.88); }

/* ---------- V5 · devices in sync */
/*rtl:ignore*/#services .sv-dev { width: 100%; max-width: 300px; height: auto; overflow: visible; }
/*rtl:ignore*/#services .sv-dv-frame { fill: var(--sv-ui); stroke: var(--line-strong); stroke-width: 1; stroke-linejoin: round; }
/*rtl:ignore*/#services path.sv-dv-frame { fill: none; }
/*rtl:ignore*/#services .sv-dv-screen { fill: var(--sv-ui-2); stroke: var(--line); stroke-width: 1; }
/*rtl:ignore*/#services .sv-dv-bar, #services .sv-dv-notch { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-linecap: round; }
/*rtl:ignore*/#services .sv-dv-dotc { fill: var(--line-strong); }
/*rtl:ignore*/#services .sv-dv-ui { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-linecap: round; }
/*rtl:ignore*/#services .sv-dv-chart { fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
/*rtl:ignore*/#services .sv-dv-mob .sv-dv-chart { stroke-width: 1.3; }
/*rtl:ignore*/#services .sv-dv-area { fill: url(#sv-dev-area); }
#services .sv-stop-a { stop-color: var(--brand); stop-opacity: .2; }
#services .sv-stop-b { stop-color: var(--brand); stop-opacity: 0; }
/*rtl:ignore*/#services .sv-dv-last { fill: var(--brand); stroke: var(--sv-ui-2); stroke-width: 1.5; }
/*rtl:ignore*/#services .sv-dv-bus, #services .sv-dv-drop { fill: none; stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 3; }
/*rtl:ignore*/#services .sv-dv-port { fill: var(--brand-50); stroke: var(--brand); stroke-width: 1.2; }
/*rtl:ignore*/#services .sv-dv-pulse { fill: var(--brand); opacity: 0; }
/*rtl:ignore*/#services.is-live .sv-station.is-seen .sv-dv-pulse { animation: sv-bus 3.4s var(--ease-io) 1.4s infinite; }
/*rtl:begin:ignore*/@keyframes sv-bus { 0% { transform: translateX(0); opacity: 0; } 6% { opacity: 1; } 45% { transform: translateX(133px); opacity: 1; } 55% { transform: translateX(133px); } 88% { opacity: 1; } 96%, 100% { transform: translateX(203.5px); opacity: 0; } }/*rtl:end:ignore*/
/*rtl:ignore*/#services .sv-dv-t { font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; fill: var(--muted); }
#services .sv-sync {
  position: absolute; top: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px 0 7px; border-radius: var(--r-pill);
  background: var(--sv-ui); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bull);
}
#services .sv-sync svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .7s var(--ease-out); }
#services .sv-sync.is-tick svg { transform: rotate(180deg); }
/* V5 sequence: desktop draws, then the bus syncs web, then mobile */
/*rtl:ignore*/#services .sv-station.is-seen .sv-dv-desk .sv-dv-chart { transition: stroke-dashoffset .42s var(--ease-io) .04s; }
/*rtl:ignore*/#services .sv-station.is-seen .sv-dv-web .sv-dv-chart { transition: stroke-dashoffset .36s var(--ease-io) .2s; }
/*rtl:ignore*/#services .sv-station.is-seen .sv-dv-mob .sv-dv-chart { transition: stroke-dashoffset .32s var(--ease-io) .34s; }
/*rtl:ignore*/#services .sv-station.is-seen .sv-dv-desk .sv-dv-area { transition: opacity .3s ease .3s; }
/*rtl:ignore*/#services .sv-station.is-seen .sv-dv-web .sv-dv-area { transition: opacity .3s ease .42s; }
/*rtl:ignore*/#services .sv-station.is-seen .sv-dv-mob .sv-dv-area { transition: opacity .3s ease .52s; }
/*rtl:ignore*/#services .sv-station.is-seen .sv-dv-last { transition: opacity .2s ease .6s; }
/*rtl:ignore*/#services .sv-station.is-seen .sv-dv-port { transition: fill .3s ease .1s, stroke .3s ease .1s; }
/*rtl:ignore*/#services .sv-station.is-seen .sv-dv-port:nth-of-type(2) { transition-delay: .2s; }
/*rtl:ignore*/#services .sv-station.is-seen .sv-dv-port:nth-of-type(3) { transition-delay: .34s; }
#services .sv-station.is-seen .sv-sync { transition: opacity .22s ease .54s, transform .34s var(--ease-spring) .54s; }
/*rtl:ignore*/#services.is-armed .sv-station:not(.is-seen) .sv-dv-chart { stroke-dashoffset: 1; }
/*rtl:ignore*/#services.is-armed .sv-station:not(.is-seen) .sv-dv-area,
#services.is-armed .sv-station:not(.is-seen) .sv-dv-last { opacity: 0; }
/*rtl:ignore*/#services.is-armed .sv-station:not(.is-seen) .sv-dv-port { fill: var(--sv-ui); stroke: var(--line-strong); }
#services.is-armed .sv-station:not(.is-seen) .sv-sync { opacity: 0; transform: scale(.7); }

/* ---------- compact stage (vignette content box under ~250px: phones, tight desktop columns) */
@container (max-width: 250px) {
  /*rtl:ignore*/#services .sv-quote { padding: 12px; }
  /*rtl:ignore*/#services .sv-q-row { gap: 5px; }
  /*rtl:ignore*/#services .sv-q-side { padding: 8px 7px 9px; }
  /*rtl:ignore*/#services .sv-q-spread { min-width: 38px; padding: 0; }
  /*rtl:ignore*/#services .sv-q-sv { min-width: 38px; height: 28px; padding: 0 4px; font-size: 13.5px; }
  /*rtl:ignore*/#services .sv-q-px small { font-size: 10px; }
  /*rtl:ignore*/#services .sv-q-px b { font-size: 19px; }
  /*rtl:ignore*/#services .sv-q-px sup { font-size: 10px; }
  /*rtl:ignore*/#services .sv-q-acct { display: none; }
  #services .sv-mosaic { gap: 5px; }
  #services .sv-tile { padding: 6px 6px 5px; }
  #services .sv-tile b { font-size: 9px; letter-spacing: 0; }
  #services .sv-tile em { font-size: 9px; }
  #services .sv-tile-count b { font-size: 17px; }
  #services .sv-tile-count em { font-size: 9.5px; }
}

/* ---------------------------------------------------------------- exit → 07 The Proof (hand-off) */
#services .sv-exit { position: relative; padding: var(--st-gap) 0 0 var(--path-w); }
#services .sv-exit-node {
  position: absolute; z-index: 2; left: calc(var(--path-w) / 2); top: var(--exit-y, calc(var(--st-gap) + 30px));
  width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px;
  border-radius: 3px; transform: rotate(45deg);
  background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--cyan), 0 0 0 5px var(--bg);
  transition: background-color .5s, box-shadow .5s;
}
#services.is-armed:not(.is-handoff) .sv-exit-node { box-shadow: inset 0 0 0 1.5px var(--line-strong), 0 0 0 5px var(--bg); }
#services.is-handoff .sv-exit-node { background: var(--cyan); }
#services .sv-exit-link {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 60px; max-width: 100%; padding: 8px 20px 8px 8px;
  border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: border-color .3s, box-shadow .5s var(--ease-out), opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
#services .sv-exit-link:hover { border-color: var(--brand-400); box-shadow: var(--shadow-md); }
#services.is-armed:not(.is-handoff) .sv-exit-link { opacity: .55; }
#services .sv-exit-num { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-ink); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
#services .sv-exit-txt { display: grid; min-width: 0; line-height: 1.3; }
#services .sv-exit-k { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
#services .sv-exit-t { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
#services .sv-exit-arrow { width: 20px; height: 20px; color: var(--brand); flex: none; transition: transform .45s var(--ease-out); }
#services .sv-exit-link:hover .sv-exit-arrow { transform: translateY(3px); }
#services.is-handoff .sv-exit-arrow { animation: sv-nudge 1.8s var(--ease-io) .4s 2; }
@keyframes sv-nudge { 0%, 100% { transform: none; } 50% { transform: translateY(4px); } }

/* ---------------------------------------------------------------- sticky journey console (>=1100px) */
#services .sv-panel { display: none; }
html:not(.js) #services .sv-journey { grid-template-columns: minmax(0, 1fr); }
html:not(.js) #services .sv-panel { display: none; }
@media (min-width: 1100px) {
  #services .sv-panel { display: block; position: sticky; top: calc(var(--header-h) + 40px); align-self: start; padding-top: var(--track-pt); }
}
#services .sv-panel-label { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1; }
#services .sv-panel-sep { width: 18px; height: 1px; background: var(--line-strong); }
#services .sv-live { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--bull-vivid); flex: none; }
#services .sv-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--bull-vivid); opacity: 0; animation: dot-ping 2.4s var(--ease-out) infinite; }
#services .sv-count { display: flex; align-items: flex-end; gap: 12px; margin-top: 20px; color: var(--ink); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" on, "zero" off; }
#services .sv-count-cur { display: inline-flex; font-size: clamp(92px, 8.2vw, 132px); font-weight: 500; line-height: 1; letter-spacing: -0.07em; }
#services .sv-digit { color: var(--line-strong); }
:root[data-theme="dark"] #services .sv-digit { color: rgba(255, 255, 255, .16); }
#services .sv-roll { display: inline-block; height: 1em; overflow: hidden; }
#services .sv-roll-strip { display: block; transform: translate3d(0, calc((var(--n, 1) - 1) * -1em), 0); transition: transform .85s var(--ease-spring); }
#services .sv-roll-strip > span { display: block; height: 1em; line-height: 1; }
#services .sv-count-tot { display: inline-flex; align-items: baseline; gap: 8px; padding-bottom: .85em; font-size: 20px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
#services .sv-count-sep { color: var(--faint); }
#services .sv-titles { display: grid; margin-top: 10px; }
#services .sv-pt {
  grid-area: 1 / 1; align-self: start;
  font-size: 21px; font-weight: 650; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance;
  max-width: 16ch; opacity: 0; transform: translate3d(0, 10px, 0);
  transition: opacity .35s var(--ease-out), transform .55s var(--ease-out);
}
#services .sv-pt.is-active { opacity: 1; transform: none; transition-delay: .1s; }
/*rtl:ignore*/#services .sv-mini { position: relative; margin-top: 30px; padding-bottom: 22px; }
/*rtl:ignore*/#services .sv-mini-svg { width: 100%; height: auto; overflow: visible; }
/*rtl:ignore*/#services .sv-mini-grid path { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
/*rtl:ignore*/#services .sv-mini-guides path { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 3; }
/*rtl:ignore*/#services .sv-mini-area { fill: url(#sv-mini-area); }
/*rtl:ignore*/#services .sv-mini-base { fill: none; stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 1.5 4; stroke-linecap: round; }
/*rtl:ignore*/#services .sv-mini-line { fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
/*rtl:ignore*/#services .sv-mini-nodes circle { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
/*rtl:ignore*/#services .sv-mini-nodes circle.is-on { fill: var(--brand); stroke: var(--brand); }
/*rtl:ignore*/#services .sv-mini-dot { fill: var(--brand); stroke: var(--bg); stroke-width: 1.5; }
/*rtl:ignore*/#services .sv-mini-ring { fill: none; stroke: var(--brand); stroke-width: 1; transform-box: fill-box; transform-origin: center; opacity: 0; }
/*rtl:ignore*/#services.is-near .sv-mini-ring { animation: sv-ring 2.2s var(--ease-out) infinite; }
/*rtl:ignore*/#services .sv-mini-labels { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; list-style: none; padding: 0; margin: 0; }
/*rtl:ignore*/#services .sv-mini-labels li {
  position: absolute; left: var(--x); top: 0; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 14px;
  transition: color .4s;
}
/*rtl:ignore*/#services .sv-mini-labels li.is-on { color: var(--ink); }
@media (max-width: 1439px) { /*rtl:ignore*/#services .sv-mini-labels li { font-size: 9px; letter-spacing: .05em; } #services .sv-pt { font-size: 20px; } }
/*rtl:ignore*/#services .sv-mini-labels li.is-active { color: var(--brand-ink); }
#services .sv-next { display: grid; gap: 4px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
#services .sv-next-k { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
#services .sv-next-t { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }

/* ---------------------------------------------------------------- mobile refinements */
@media (max-width: 767px) {
  #services .sv-meta { gap: 8px; margin-bottom: 16px; }
  #services .sv-text { font-size: 15.5px; }
  #services .sv-vig { min-height: 0; padding: 20px 12px; }
  #services .sv-actions .btn { width: 100%; }
  #services .sv-exit-t { font-size: 14px; }
  #services .sv-exit-link { padding-right: 16px; gap: 12px; }
}
@media (max-width: 400px) {
  #services .sv-phase { display: none; }
}

/* ---------------------------------------------------------------- reduced motion: final states, no loops */
@media (prefers-reduced-motion: reduce) {
  #services .sv-station *, #services .sv-station, #services .sv-panel *, #services .sv-exit * { transition-duration: 1ms !important; transition-delay: 0s !important; }
  /*rtl:ignore*/#services .sv-thread-tail, #services .sv-head-ring, #services .sv-mini-ring, #services .sv-dv-pulse, #services .sv-node-ring, #services .sv-caret, #services .sv-input::after { animation: none !important; }
}

/* ===== 70-awards ===== */
/* =====================================================================================================
   07 · THE PROOF — AWARDS  (#awards)
   Foil plaques that print like four bullish candles (body grows from its open, wicks extend, each one
   opens higher), a dashed support trendline through the higher lows, laurels that stroke-draw then fill,
   a single sheen sweep on reveal + on hover, and a 3D tilt that follows the pointer.
   Layout: 4-up ≥1100 · 2×2 (horizontal plaques) 700–1099 · snap carousel with dots <700.
   ===================================================================================================== */

#awards {
  --aw-step: 26px;                 /* each candle opens this much higher than the previous one */
  --aw-wt: 34px;                   /* top wick */
  --aw-wb: 22px;                   /* bottom wick */
  --aw-gap: clamp(16px, 1.8vw, 24px);
  --aw-gold-ink: #85600F;          /* gold text on light surfaces (AA) */
  --aw-wick: rgba(180, 132, 28, .62);
  --aw-face: linear-gradient(180deg, #FFFFFF 0%, #FFFDF8 100%);
  --aw-rim: linear-gradient(160deg, rgba(196, 148, 44, .62) 0%, rgba(10, 22, 40, .07) 32%, rgba(10, 22, 40, .07) 66%, rgba(196, 148, 44, .44) 100%);
  --aw-rim-hover: linear-gradient(160deg, rgba(196, 148, 44, .9) 0%, rgba(196, 148, 44, .18) 40%, rgba(10, 22, 40, .08) 62%, rgba(196, 148, 44, .7) 100%);
  --aw-warm: rgba(233, 196, 106, .15);
  --aw-disc: rgba(240, 214, 150, .26);
  --aw-sheen: rgba(255, 246, 220, .9);
  --aw-glare: rgba(255, 236, 190, .42);
  --aw-tag-bg: rgba(233, 196, 106, .14);
  --aw-tag-line: rgba(180, 132, 28, .3);
  --aw-shadow: 0 1px 2px rgba(10, 22, 40, .05), 0 18px 40px -26px rgba(120, 88, 20, .35);
  --aw-shadow-hover: 0 2px 4px rgba(10, 22, 40, .05), 0 34px 60px -28px rgba(120, 88, 20, .45), 0 0 0 4px rgba(233, 196, 106, .12);
  --aw-field: rgba(233, 196, 106, .16);
  --aw-trend: var(--brand);
  padding-bottom: clamp(72px, 8vw, 112px);
}
:root[data-theme="dark"] #awards {
  --aw-gold-ink: #F4D67B;
  --aw-wick: rgba(221, 186, 83, .55);
  --aw-face: linear-gradient(180deg, #381846 0%, #2D0C3C 100%);
  --aw-rim: linear-gradient(160deg, rgba(245, 217, 132, .5) 0%, rgba(255, 255, 255, .06) 32%, rgba(255, 255, 255, .06) 66%, rgba(221, 186, 83, .36) 100%);
  --aw-rim-hover: linear-gradient(160deg, rgba(245, 217, 132, .85) 0%, rgba(221, 186, 83, .2) 40%, rgba(255, 255, 255, .07) 62%, rgba(221, 186, 83, .6) 100%);
  --aw-warm: rgba(221, 186, 83, .09);
  --aw-disc: rgba(221, 186, 83, .1);
  --aw-sheen: rgba(251, 241, 201, .32);
  --aw-glare: rgba(248, 228, 165, .11);
  --aw-tag-bg: rgba(221, 186, 83, .1);
  --aw-tag-line: rgba(221, 186, 83, .28);
  --aw-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 48px -28px rgba(0, 0, 0, .85);
  --aw-shadow-hover: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 40px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(245, 217, 132, .12), 0 18px 60px -30px rgba(221, 186, 83, .35);
  --aw-field: rgba(221, 186, 83, .055);
}

/* ---------------------------------------------------------------- foil gradients (shared <defs>) */
#awards .aw-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
#awards .aw-f0 { stop-color: #86621A; }
#awards .aw-f1 { stop-color: #C59A42; }
#awards .aw-f2 { stop-color: #EBCF86; }
#awards .aw-f3 { stop-color: #B38529; }
#awards .aw-f4 { stop-color: #73550F; }
#awards .aw-ff0 { stop-color: #A57C27; }
#awards .aw-ff1 { stop-color: #D3AE5C; }
#awards .aw-ff2 { stop-color: #F1DC9F; }
#awards .aw-ff3 { stop-color: #9C741D; }
:root[data-theme="dark"] #awards .aw-f0 { stop-color: #AE9242; }
:root[data-theme="dark"] #awards .aw-f1 { stop-color: #E7C357; }
:root[data-theme="dark"] #awards .aw-f2 { stop-color: #FBF1C8; }
:root[data-theme="dark"] #awards .aw-f3 { stop-color: #CDAC4D; }
:root[data-theme="dark"] #awards .aw-f4 { stop-color: #917A36; }
:root[data-theme="dark"] #awards .aw-ff0 { stop-color: #9F863C; }
:root[data-theme="dark"] #awards .aw-ff1 { stop-color: #D8B652; }
:root[data-theme="dark"] #awards .aw-ff2 { stop-color: #F8E19C; }
:root[data-theme="dark"] #awards .aw-ff3 { stop-color: #836F31; }
#awards .aw-tg0 { stop-color: var(--cyan); stop-opacity: 0; }
#awards .aw-tg1 { stop-color: var(--cyan); stop-opacity: .9; }
#awards .aw-tg2 { stop-color: var(--gold); stop-opacity: 1; }

/* ---------------------------------------------------------------- atmosphere */
#awards .aw-field {
  position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 62%; width: min(1240px, 120vw); height: 760px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--aw-field), transparent);
}
#awards .grid-bg { -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 58%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 60% 50% at 50% 58%, #000 10%, transparent 72%); }

/* ---------------------------------------------------------------- hand-off in: thread from 06 → node above "07" */
#awards .aw-thread { position: absolute; left: 0; top: 0; z-index: 0; width: 100%; height: 10px; overflow: visible; pointer-events: none; display: none; }
#awards.is-threaded .aw-thread { display: block; }
#awards .aw-thread-base { fill: none; stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 1.5 5; stroke-linecap: round; }
#awards .aw-thread-line { fill: none; stroke: url(#aw-thread-grad); stroke-width: 1.6; stroke-linecap: round; }
#awards.is-armed:not(.is-arrived) .aw-thread-base { animation: aw-flow 1.2s linear infinite; }
@keyframes aw-flow { to { stroke-dashoffset: -13; } }
#awards .aw-thread-node {
  position: absolute; z-index: 1; left: var(--nx, 50%); top: var(--ny, 0px);
  width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 2.5px;
  transform: rotate(45deg) scale(.85);
  background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-strong), 0 0 0 5px var(--bg);
  transition: background-color .5s var(--ease-out), box-shadow .5s var(--ease-out), transform .7s var(--ease-spring);
  display: none;
}
#awards.is-threaded .aw-thread-node { display: block; }
#awards.is-arrived .aw-thread-node {
  transform: rotate(45deg) scale(1);
  background: var(--gold);
  box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 0 5px var(--bg), 0 0 22px 2px rgba(226, 184, 74, .45);
}

/* ---------------------------------------------------------------- head */
#awards .chapter-head { margin-bottom: clamp(56px, 6vw, 92px); }
#awards .chapter-head > .h2 { font-size: clamp(44px, 6vw, 84px); letter-spacing: -0.04em; line-height: 1; }
#awards .chapter-head > .lead { max-width: 60ch; }

/* ---------------------------------------------------------------- stage + list (desktop 4-up) */
/*rtl:ignore*/#awards .aw-stage { position: relative; }
/*rtl:ignore*/#awards .aw-scroller { position: relative; z-index: 1; }
/*rtl:ignore*/#awards .aw-list {
  list-style: none; margin: 0; padding: 0 0 calc(3 * var(--aw-step) + 28px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--aw-gap);
  align-items: stretch;
}
/*rtl:ignore*/#awards .aw-item {
  position: relative; display: flex; flex-direction: column;
  padding: var(--aw-wt) 0 var(--aw-wb);
  transform: translate3d(0, calc((3 - var(--i)) * var(--aw-step)), 0);
}
/*rtl:ignore*/#awards .aw-rise { position: relative; flex: 1; display: flex; }

/* candle wicks */
/*rtl:ignore*/#awards .aw-wick { position: absolute; left: 50%; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--aw-wick); }
/*rtl:ignore*/#awards .aw-wick-t { top: 0; height: var(--aw-wt); transform-origin: 50% 100%; }
/*rtl:ignore*/#awards .aw-wick-b { bottom: 0; height: var(--aw-wb); transform-origin: 50% 0; }
/*rtl:ignore*/#awards .aw-wick-t::before {
  content: ""; position: absolute; left: 50%; top: -3px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--aw-wick);
}

/* ---------------------------------------------------------------- plaque */
/*rtl:ignore*/#awards .aw-plaque {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 0%;
  position: relative; isolation: isolate; overflow: hidden;
  flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 20px clamp(18px, 1.7vw, 26px) clamp(24px, 2.2vw, 30px);
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  background: radial-gradient(120% 55% at 50% 0%, var(--aw-warm), transparent 62%) padding-box, var(--aw-face) padding-box, var(--aw-rim) border-box;
  box-shadow: var(--aw-shadow);
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .7s var(--ease-out), box-shadow .6s var(--ease-out);
}
/*rtl:ignore*/#awards .aw-plaque::after {          /* hover rim: brighter foil edge, cross-faded (backgrounds can't transition) */
  content: ""; position: absolute; inset: -1px; z-index: 3; pointer-events: none; border-radius: inherit;
  padding: 1px; background: var(--aw-rim-hover);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
/*rtl:ignore*/#awards .aw-item:hover .aw-plaque { box-shadow: var(--aw-shadow-hover); }
/*rtl:ignore*/#awards .aw-item:hover .aw-plaque::after { opacity: 1; }
/*rtl:ignore*/#awards .aw-plaque.is-tilting { transition: transform .12s linear, box-shadow .6s var(--ease-out); }

/*rtl:ignore*/#awards .aw-glare {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx) var(--gy), var(--aw-glare), transparent 55%);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
/*rtl:ignore*/#awards .aw-item:hover .aw-glare { opacity: 1; }
/*rtl:ignore*/#awards .aw-sheen { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; overflow: hidden; }
/*rtl:ignore*/#awards .aw-sheen i {
  position: absolute; top: -20%; bottom: -20%; left: 0; width: 42%;
  background: linear-gradient(90deg, transparent 0%, var(--aw-sheen) 50%, transparent 100%);
  transform: translate3d(-120%, 0, 0) skewX(-18deg);
  opacity: 0;
}

/* meta row: index + market tag */
/*rtl:ignore*/#awards .aw-meta {
  position: relative; z-index: 1; align-self: stretch;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 11px; line-height: 1; letter-spacing: .12em; text-transform: uppercase;
}
/*rtl:ignore*/#awards .aw-idx { color: var(--ink); font-weight: 600; letter-spacing: .06em; }
/*rtl:ignore*/#awards .aw-idx span { color: var(--muted); font-weight: 500; margin-left: 2px; }
/*rtl:ignore*/#awards .aw-tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--r-xs);
  color: var(--aw-gold-ink); background: var(--aw-tag-bg); box-shadow: inset 0 0 0 1px var(--aw-tag-line);
  font-weight: 600; font-size: 10.5px; white-space: nowrap;
}

/* medallion: laurel + year */
/*rtl:ignore*/#awards .aw-medal { position: relative; z-index: 1; width: min(172px, 76%); aspect-ratio: 1; margin: 10px auto 6px; flex: none; }
/*rtl:ignore*/#awards .aw-medal::before {
  content: ""; position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--aw-disc), transparent 70%);
}
/*rtl:ignore*/#awards .aw-wreath { position: relative; width: 100%; height: 100%; overflow: visible; }
/*rtl:ignore*/#awards .aw-ring { fill: none; stroke: url(#aw-foil); stroke-width: .7; opacity: .42; }
/*rtl:ignore*/#awards .aw-stem { fill: none; stroke: url(#aw-foil); stroke-width: 1.5; stroke-linecap: round; }
/*rtl:ignore*/#awards .aw-tie { stroke-width: 1.3; }
/*rtl:ignore*/#awards .aw-leaf { fill: url(#aw-foil-fill); fill-opacity: .92; stroke: url(#aw-foil); stroke-width: .8; stroke-linejoin: round; }
/*rtl:ignore*/#awards .aw-year {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-58%);
  font-size: clamp(22px, 2.1vw, 28px); font-weight: 600; letter-spacing: .04em; line-height: 1;
  background: linear-gradient(160deg, var(--aw-gold-ink) 0%, #C99E45 48%, var(--aw-gold-ink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
/*rtl:ignore*/:root[data-theme="dark"] #awards .aw-year { background-image: linear-gradient(160deg, #F8E3A1 0%, #D4B250 52%, #FAECBB 100%); }
/*rtl:ignore*/#awards .aw-medal-k {
  position: absolute; left: 0; right: 0; top: 50%; margin-top: 16px;
  font-size: 9px; font-weight: 600; letter-spacing: .32em; text-indent: .32em; text-transform: uppercase; line-height: 1;
  color: var(--aw-gold-ink); opacity: .85;
}

/* text */
#awards .aw-title {
  position: relative; z-index: 1;
  margin-top: 8px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.3; font-weight: 650; letter-spacing: -0.012em;
  color: var(--ink); text-wrap: balance;
}
#awards .aw-sub { position: relative; z-index: 1; margin-top: auto; padding-top: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: balance; }
#awards .aw-sub::before { content: ""; display: block; width: 22px; height: 1px; margin: 0 auto 12px; background: var(--aw-wick); }

/* support trendline through the higher lows (built by JS on desktop) */
/*rtl:ignore*/#awards .aw-trend { position: absolute; left: 0; top: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; display: none; }
/*rtl:ignore*/#awards.is-trend .aw-trend { display: block; }
/*rtl:ignore*/#awards .aw-trend-line { fill: none; stroke: var(--aw-trend); stroke-width: 1.4; stroke-dasharray: 5 6; stroke-linecap: round; opacity: .7; }
/*rtl:ignore*/#awards .aw-trend-pt { fill: var(--bg); stroke: var(--aw-trend); stroke-width: 1.5; }
/*rtl:ignore*/#awards .aw-trend-tip { fill: var(--aw-trend); stroke: none; }
/*rtl:ignore*/#awards .aw-trend-lbl { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .14em; fill: var(--brand-ink); text-transform: uppercase; }

/* dots (carousel only) */
/*rtl:ignore*/#awards .aw-dots { display: none; }

/* foot */
#awards .aw-foot { display: flex; justify-content: center; margin-top: clamp(4px, 1vw, 12px); }
#awards .aw-all { min-height: 44px; }

/* ---------------------------------------------------------------- reveal: candles print, laurels draw (html.js only) */
/*rtl:ignore*/html.js #awards .aw-rise {
  clip-path: inset(100% -70px -70px -70px);
  transform: translate3d(0, 26px, 0);
  transition: clip-path 1.05s var(--ease-out), transform 1.05s var(--ease-out);
  transition-delay: calc(var(--i) * 150ms + 80ms);
}
/*rtl:ignore*/html.js #awards .aw-wick { transform: scaleY(0); transition: transform .55s var(--ease-out); }
/*rtl:ignore*/html.js #awards .aw-wick-b { transition-delay: calc(var(--i) * 150ms); }
/*rtl:ignore*/html.js #awards .aw-wick-t { transition-delay: calc(var(--i) * 150ms + 820ms); }
/*rtl:ignore*/html.js #awards .aw-wick-t::before { opacity: 0; transition: opacity .4s var(--ease-out) calc(var(--i) * 150ms + 1100ms); }
/*rtl:ignore*/html.js #awards .aw-stem { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease-io); transition-delay: calc(var(--i) * 150ms + 520ms); }
/*rtl:ignore*/html.js #awards .aw-leaf {
  stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0;
  transition: stroke-dashoffset .7s var(--ease-out), fill-opacity .8s var(--ease-out);
  transition-delay: calc(var(--i) * 150ms + 640ms + var(--d) * 50ms), calc(var(--i) * 150ms + 1050ms + var(--d) * 50ms);
}
/*rtl:ignore*/html.js #awards .aw-ring { opacity: 0; transition: opacity .9s var(--ease-out) calc(var(--i) * 150ms + 900ms); }
/*rtl:ignore*/html.js #awards .aw-year, html.js #awards .aw-medal-k { opacity: 0; transition: opacity .8s var(--ease-out) calc(var(--i) * 150ms + 980ms); }
/*rtl:ignore*/html.js #awards .aw-meta, html.js #awards .aw-title, html.js #awards .aw-sub { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i) * 150ms + 520ms); }
html.js #awards .aw-sub { transition-delay: calc(var(--i) * 150ms + 640ms); }
/*rtl:ignore*/html.js #awards .aw-trend { clip-path: inset(-20px 100% -20px 0); transition: clip-path 1.3s var(--ease-io) 1.1s; }

/*rtl:ignore*/#awards .aw-stage.is-in .aw-rise { clip-path: inset(-70px -70px -70px -70px); transform: none; }
/*rtl:ignore*/#awards .aw-stage.is-in .aw-wick { transform: none; }
/*rtl:ignore*/#awards .aw-stage.is-in .aw-wick-t::before { opacity: 1; }
/*rtl:ignore*/#awards .aw-stage.is-in .aw-stem,
#awards .aw-stage.is-in .aw-leaf { stroke-dashoffset: 0; }
/*rtl:ignore*/#awards .aw-stage.is-in .aw-leaf { fill-opacity: .92; }
/*rtl:ignore*/#awards .aw-stage.is-in .aw-ring { opacity: .42; }
/*rtl:ignore*/#awards .aw-stage.is-in .aw-year, #awards .aw-stage.is-in .aw-medal-k { opacity: 1; }
/*rtl:ignore*/#awards .aw-stage.is-in .aw-medal-k { opacity: .85; }
/*rtl:ignore*/#awards .aw-stage.is-in .aw-meta, #awards .aw-stage.is-in .aw-title, #awards .aw-stage.is-in .aw-sub { opacity: 1; transform: none; }
/*rtl:ignore*/#awards .aw-stage.is-in .aw-trend { clip-path: inset(-20px -20px -20px 0); }
/* once printed, drop the long reveal delays so hover/tilt feel instant */
/*rtl:ignore*/#awards .aw-stage.is-done .aw-rise { transition: none; }

/* ---------------------------------------------------------------- 2×2 — horizontal plaques */
@media (max-width: 1099px) {
  /*rtl:ignore*/#awards .aw-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 0; row-gap: calc(var(--aw-gap) + 4px); }
  /*rtl:ignore*/#awards .aw-item { transform: none; }
  /*rtl:ignore*/#awards .aw-plaque {
    display: grid; grid-template-columns: clamp(124px, 17vw, 156px) minmax(0, 1fr);
    grid-template-areas: "meta meta" "medal title" "medal sub";
    grid-template-rows: auto 1fr 1fr;
    column-gap: clamp(16px, 2.6vw, 28px); align-items: center; text-align: left;
    padding: 20px 26px 22px 18px;
  }
  /*rtl:ignore*/#awards .aw-meta { grid-area: meta; }
  /*rtl:ignore*/#awards .aw-medal { grid-area: medal; width: 100%; margin: 6px 0 0; }
  #awards .aw-title { grid-area: title; align-self: end; margin-top: 0; }
  #awards .aw-sub { grid-area: sub; align-self: start; margin-top: 0; padding-top: 10px; }
  #awards .aw-sub::before { margin: 0 0 10px; }
  /*rtl:ignore*/#awards.is-trend .aw-trend { display: none; }
}

/* ---------------------------------------------------------------- <700 — snap carousel */
@media (max-width: 699px) {
  #awards { --aw-wt: 26px; --aw-wb: 16px; }
  /*rtl:ignore*/#awards .aw-scroller {
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  /*rtl:ignore*/#awards .aw-scroller::-webkit-scrollbar { display: none; }
  /*rtl:ignore*/#awards .aw-list {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-auto-columns: min(78vw, 300px); gap: 14px;
    width: max-content; padding: 0 var(--gutter) 6px 0;
  }
  /*rtl:ignore*/#awards .aw-item { scroll-snap-align: start; }
  /*rtl:ignore*/#awards .aw-plaque { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 20px 24px; }
  /*rtl:ignore*/#awards .aw-medal { width: min(156px, 70%); margin: 8px auto 4px; }
  #awards .aw-title { margin-top: 6px; align-self: auto; }
  #awards .aw-sub { margin-top: auto; padding-top: 12px; align-self: auto; }
  #awards .aw-sub::before { margin: 0 auto 10px; }
  /*rtl:ignore*/#awards .aw-scroller:focus-visible { outline-offset: -2px; border-radius: var(--r-lg); }

  /*rtl:ignore*/#awards .aw-dots { display: flex; justify-content: center; gap: 0; margin-top: 10px; }
  /*rtl:ignore*/#awards .aw-dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
  /*rtl:ignore*/#awards .aw-dot i { display: block; width: 8px; height: 8px; border-radius: 99px; background: var(--line-strong); transition: width .45s var(--ease-out), background-color .3s; }
  /*rtl:ignore*/#awards .aw-dot:hover i { background: var(--faint); }
  /*rtl:ignore*/#awards .aw-dot.is-active i { width: 24px; background: var(--brand); }
  #awards .aw-foot { margin-top: 6px; }
}

/* ---------------------------------------------------------------- reduced motion: everything at rest */
@media (prefers-reduced-motion: reduce) {
  /*rtl:ignore*/html.js #awards .aw-rise, html.js #awards .aw-wick, html.js #awards .aw-wick-t::before, html.js #awards .aw-stem, html.js #awards .aw-leaf,
  html.js #awards .aw-ring, html.js #awards .aw-year, html.js #awards .aw-medal-k, html.js #awards .aw-meta, html.js #awards .aw-title,
  html.js #awards .aw-sub, html.js #awards .aw-trend { transition: none; }
  /*rtl:ignore*/html.js #awards .aw-rise { clip-path: none; transform: none; }
  /*rtl:ignore*/html.js #awards .aw-wick { transform: none; }
  /*rtl:ignore*/html.js #awards .aw-wick-t::before { opacity: 1; }
  /*rtl:ignore*/html.js #awards .aw-stem, html.js #awards .aw-leaf { stroke-dashoffset: 0; }
  /*rtl:ignore*/html.js #awards .aw-leaf { fill-opacity: .92; }
  /*rtl:ignore*/html.js #awards .aw-ring { opacity: .42; }
  /*rtl:ignore*/html.js #awards .aw-year { opacity: 1; }
  /*rtl:ignore*/html.js #awards .aw-medal-k { opacity: .85; }
  /*rtl:ignore*/html.js #awards .aw-meta, html.js #awards .aw-title, html.js #awards .aw-sub { opacity: 1; transform: none; }
  /*rtl:ignore*/html.js #awards .aw-trend { clip-path: none; }
  /*rtl:ignore*/#awards .aw-plaque { transform: none; transition: box-shadow .4s ease; }
  #awards .aw-thread-base { animation: none; }
  /*rtl:ignore*/#awards .aw-dot i { transition: none; }
}

/* ===== 80-cta ===== */
/* =====================================================================================================
   08 · YOUR MOVE — FINAL CTA  (#cta)
   Day: a rich brand-blue gradient panel with white type. Night: deep navy panel with a blue glow.
   Behind the copy: faint grid + the story thread (dotted forecast → solid line, drawn with Atropi.progress)
   climbing from bottom-left to top-right into a glowing price dot, "BUY · Filled" and the hero's line.
   The section's lower band blends into the footer (mirrors the footer's own light-field).
   ===================================================================================================== */

#cta {
  --cta-pad-x: clamp(22px, 5.6vw, 84px);
  --cta-pad-t: clamp(30px, 5.6vw, 84px);
  --cta-pad-b: clamp(36px, 6.4vw, 96px);
  --cta-bg:
    radial-gradient(70% 95% at 92% 4%, rgba(132, 182, 255, .55), transparent 58%),
    radial-gradient(60% 80% at 0% 100%, rgba(5, 40, 140, .45), transparent 62%),
    linear-gradient(128deg, #0E5DE3 0%, #0B52D2 34%, #0A45BC 64%, #2B37A2 100%);
  --cta-border: rgba(255, 255, 255, .14);
  --cta-shadow: 0 60px 120px -50px rgba(11, 70, 200, .6), 0 24px 44px -28px rgba(10, 22, 40, .35), inset 0 1px 0 rgba(255, 255, 255, .22);
  --cta-gridline: rgba(255, 255, 255, .075);
  --cta-text: #EEF4FF;
  --cta-soft: #DCE7FF;
  --cta-line-a: rgba(255, 255, 255, .2);
  --cta-line-b: rgba(255, 255, 255, .95);
  --cta-line-c: #FFFFFF;
  --cta-glow-line: rgba(255, 255, 255, .16);
  --cta-area-a: rgba(255, 255, 255, .22);
  --cta-forecast: rgba(255, 255, 255, .5);
  --cta-level: rgba(255, 255, 255, .34);
  --cta-dot-glow: rgba(255, 255, 255, .55);
  --cta-tip-glow: rgba(190, 220, 255, .55);
  --cta-tag-bg: rgba(255, 255, 255, .97);
  --cta-tag-ink: #0A1628;
  --cta-tag-border: rgba(255, 255, 255, .6);
  --cta-tag-buy: #0B4FBE;
  --cta-tag-fill: #077F55;
  --cta-tag-fill-bg: #E3F6EE;
  --cta-footer: var(--surface);
  padding-top: 0;
  padding-bottom: clamp(72px, 8vw, 120px);
}
:root[data-theme="dark"] #cta {
  --cta-bg:
    radial-gradient(62% 90% at 90% 0%, rgba(153, 117, 176, .34), transparent 60%),
    radial-gradient(55% 75% at 0% 100%, rgba(85, 25, 124, .16), transparent 62%),
    linear-gradient(160deg, #341443 0%, #250A31 56%, #31103F 100%);
  --cta-border: rgba(187, 163, 203, .18);
  --cta-shadow: 0 0 0 1px rgba(153, 117, 176, .07), 0 50px 130px -46px rgba(153, 117, 176, .5), 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .07);
  --cta-gridline: rgba(187, 163, 203, .075);
  --cta-text: #DED8E2;
  --cta-soft: #D0C5D5;
  --cta-line-a: rgba(187, 163, 203, .25);
  --cta-line-b: #BBA3CB;
  --cta-line-c: #ECE9EE;
  --cta-glow-line: rgba(153, 117, 176, .22);
  --cta-area-a: rgba(153, 117, 176, .3);
  --cta-forecast: rgba(200, 180, 213, .45);
  --cta-level: rgba(200, 180, 213, .3);
  --cta-dot-glow: rgba(187, 163, 203, .75);
  --cta-tip-glow: rgba(153, 117, 176, .55);
  --cta-tag-bg: rgba(47, 14, 62, .96);
  --cta-tag-ink: #F5F3F6;
  --cta-tag-border: rgba(187, 163, 203, .25);
  --cta-tag-buy: #C8B4D5;
  --cta-tag-fill: #62C39C;
  --cta-tag-fill-bg: rgba(98, 195, 156, .14);
  --cta-footer: #15061C;
}

/* ---------------------------------------------------------------- seamless hand-off into the footer */
#cta::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 360px; pointer-events: none;
  background:
    radial-gradient(60% 100% at 15% 100%, var(--field-a), transparent 70%),
    linear-gradient(to bottom, transparent, var(--cta-footer));
}

/* ---------------------------------------------------------------- panel */
#cta .cta-wrap { position: relative; }
#cta .cta-panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(540px, 44vw, 640px);
  padding: var(--cta-pad-t) var(--cta-pad-x) var(--cta-pad-b);
  border-radius: var(--r-xl);
  border: 1px solid var(--cta-border);
  background: var(--cta-bg);
  box-shadow: var(--cta-shadow);
  color: var(--cta-text);
  --logo-a: #e6e2e8; --logo-b: #b3a0bb;
}
#cta .cta-panel :focus-visible { outline-color: #fff; }

/*rtl:ignore*/#cta .cta-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; }
/*rtl:ignore*/#cta .cta-bg > span { position: absolute; inset: 0; }
/*rtl:ignore*/#cta .cta-grid {
  background-image: linear-gradient(var(--cta-gridline) 1px, transparent 1px), linear-gradient(90deg, var(--cta-gridline) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 85% 90% at 72% 42%, #000 18%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 90% at 72% 42%, #000 18%, transparent 78%);
}
/*rtl:ignore*/#cta .cta-spot { background: radial-gradient(560px circle at var(--mx, 70%) var(--my, 30%), rgba(255, 255, 255, .09), transparent 60%); opacity: 0; transition: opacity .6s var(--ease-out); }
/*rtl:ignore*/#cta .cta-panel:hover .cta-spot { opacity: 1; }
/*rtl:ignore*/#cta .cta-glow {
  inset: auto; left: var(--ex, 86%); top: var(--ey, 28%); width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--cta-tip-glow), transparent);
  opacity: .25; transform: scale(.7);
  transition: opacity 1.2s var(--ease-out), transform 1.6s var(--ease-out);
}
/*rtl:ignore*/#cta.is-filled .cta-glow { opacity: .75; transform: none; }
/*rtl:ignore*/#cta .cta-noise { background-image: var(--noise); opacity: .07; mix-blend-mode: overlay; }

/* ---------------------------------------------------------------- copy */
#cta .cta-copy { position: relative; z-index: 2; width: min(620px, 54%); }
#cta .cta-copy > .eyebrow { margin-bottom: 22px; color: rgba(255, 255, 255, .92); }
#cta .eyebrow-num { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: #fff; }
#cta .kicker { margin-bottom: 18px; color: var(--cta-soft); }
#cta .kicker-name { color: #fff; }
#cta .kicker-name::after { background: rgba(255, 255, 255, .42); }
#cta .h2 { color: #fff; font-size: clamp(36px, 4.4vw, 64px); max-width: none; }
#cta .cta-lead { margin-top: 22px; max-width: 46ch; font-size: var(--fs-lead); line-height: 1.6; color: var(--cta-text); }
#cta .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
#cta .cta-primary { color: #0A1628; }
:root[data-theme="dark"] #cta .cta-primary { color: #2C0C3B; } /* brand Night */
#cta .cta-primary .btn-arrow { color: #1167EB; }
:root[data-theme="dark"] #cta .cta-primary .btn-arrow { color: #885EA3; } /* brand Night */
#cta .cta-primary:hover { box-shadow: 0 1px 2px rgba(10, 22, 40, .12), 0 16px 34px -14px rgba(0, 0, 0, .45), 0 0 0 4px rgba(255, 255, 255, .16); }
:root[data-theme="dark"] #cta .cta-primary:hover { box-shadow: 0 1px 2px rgba(44, 12, 59, .12), 0 16px 34px -14px rgba(0, 0, 0, .45), 0 0 0 4px rgba(255, 255, 255, .16); } /* brand Night */
#cta .cta-outline { color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .04); }
#cta .cta-outline:hover { color: #fff; background: rgba(255, 255, 255, .13); border-color: #fff; }
:root[data-theme="dark"] #cta .cta-outline { border-color: rgba(200, 180, 213, .4); }
:root[data-theme="dark"] #cta .cta-outline:hover { border-color: #C8B4D5; background: rgba(153, 117, 176, .14); }
#cta .cta-note {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 30px; max-width: 60ch;
  font-size: 12.5px; line-height: 1.6; color: var(--cta-soft);
}
#cta .cta-note .ico { width: 16px; height: 16px; flex: none; margin-top: 2px; opacity: .85; }

/* ---------------------------------------------------------------- the thread (built by JS) */
/*rtl:ignore*/#cta .cta-chart { position: absolute; inset: 0; z-index: 1; pointer-events: none; visibility: hidden; }
/*rtl:ignore*/#cta.is-built .cta-chart { visibility: visible; }
/*rtl:ignore*/#cta .cta-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#cta .cta-ag0 { stop-color: var(--cta-area-a); }
#cta .cta-ag1 { stop-color: var(--cta-area-a); stop-opacity: 0; }
#cta .cta-lg0 { stop-color: var(--cta-line-a); }
#cta .cta-lg1 { stop-color: var(--cta-line-b); }
#cta .cta-lg2 { stop-color: var(--cta-line-c); }
/*rtl:ignore*/#cta .cta-forecast { fill: none; stroke: var(--cta-forecast); stroke-width: 1.6; stroke-dasharray: 1.5 6; stroke-linecap: round; stroke-linejoin: round; }
/*rtl:ignore*/#cta .cta-area { fill: url(#cta-area-g); }
/*rtl:ignore*/#cta .cta-line { fill: none; stroke: url(#cta-line-g); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/*rtl:ignore*/#cta .cta-line-glow { fill: none; stroke: var(--cta-glow-line); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }

/*rtl:ignore*/#cta .cta-last {
  position: absolute; left: 0; top: 0; width: 100%; height: 0;
  border-top: 1px dashed var(--cta-level);
  will-change: transform;
}
/*rtl:ignore*/#cta .cta-dot {
  position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .2), 0 0 26px 6px var(--cta-dot-glow);
  will-change: transform;
}
/*rtl:ignore*/#cta .cta-dot i { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
/*rtl:ignore*/#cta .cta-dot-ring { border: 1px solid #fff; opacity: 0; }
/*rtl:ignore*/#cta .cta-dot-burst { border: 2px solid #fff; opacity: 0; }
/*rtl:ignore*/#cta.is-filled .cta-dot-ring { animation: cta-ping 2.4s var(--ease-out) .9s infinite; }
/*rtl:ignore*/#cta.is-filled .cta-dot-burst { animation: cta-burst 1s var(--ease-out) 1; }
@keyframes cta-ping { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
@keyframes cta-burst { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(6); opacity: 0; } }

/* BUY · Filled tag (above-left of the final price) */
/*rtl:ignore*/#cta .cta-tag {
  position: absolute; left: var(--ex, 86%); top: var(--ey, 28%);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 13px 6px 6px; border-radius: 12px;
  background: var(--cta-tag-bg); color: var(--cta-tag-ink);
  border: 1px solid var(--cta-tag-border);
  box-shadow: 0 16px 34px -14px rgba(3, 18, 60, .55), 0 2px 6px rgba(3, 18, 60, .18);
  white-space: nowrap;
  transform-origin: 100% 100%;
  transform: translate3d(calc(-100% - 16px), calc(-100% - 14px), 0) scale(.86);
  opacity: 0;
  transition: transform .7s var(--ease-spring), opacity .4s var(--ease-out);
}
:root[data-theme="dark"] #cta .cta-tag { box-shadow: 0 16px 34px -14px rgba(43, 12, 58, .55), 0 2px 6px rgba(43, 12, 58, .18); } /* brand Night */
/*rtl:ignore*/#cta.is-filled .cta-tag { opacity: 1; transform: translate3d(calc(-100% - 16px), calc(-100% - 14px), 0); transition-delay: .18s; }
/*rtl:ignore*/#cta .cta-tag-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--cta-tag-fill-bg); color: var(--cta-tag-fill); }
/*rtl:ignore*/#cta .cta-tag-ico .ico { width: 15px; height: 15px; stroke-width: 2.2; }
/*rtl:ignore*/#cta .cta-tag-t { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cta-tag-fill); }
/*rtl:ignore*/#cta .cta-tag-t b { color: var(--cta-tag-buy); font-weight: 700; }
/*rtl:ignore*/#cta .cta-tag-t i { font-style: normal; color: var(--cta-tag-ink); opacity: .35; }

/* "Atropi, For More Benefit" — the hero's opening line, closing the loop */
/*rtl:ignore*/#cta .cta-motto {
  position: absolute; z-index: 2; right: var(--cta-pad-x); top: var(--cta-pad-t);
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; line-height: 1; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; white-space: nowrap;
}
/*rtl:ignore*/#cta .cta-motto-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #22C98E; flex: none; box-shadow: 0 0 0 3px rgba(34, 201, 142, .22); }
/*rtl:ignore*/#cta .cta-motto-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #22C98E; opacity: 0; animation: dot-ping 2.4s var(--ease-out) infinite; }
/*rtl:ignore*/#cta.is-built .cta-motto {
  top: calc(var(--ey, 28%) + 26px); right: auto; left: var(--ex, 86%);
  transform: translate3d(calc(-100% + 7px), 10px, 0); opacity: 0;
  transition: transform .9s var(--ease-out), opacity .7s var(--ease-out);
}
/*rtl:ignore*/#cta.is-built.is-filled .cta-motto { opacity: 1; transform: translate3d(calc(-100% + 7px), 0, 0); transition-delay: .42s; }

/* ---------------------------------------------------------------- < 900: chart strip on top, copy below */
@media (max-width: 1023px) {
  #cta .cta-panel { flex-direction: column; align-items: stretch; min-height: 0; }
  /*rtl:ignore*/#cta .cta-chart { position: relative; inset: auto; height: clamp(176px, 40vw, 260px); margin: -6px calc(-1 * var(--cta-pad-x)) 26px; }
  #cta .cta-copy { width: 100%; }
  /*rtl:ignore*/#cta.is-built .cta-motto { top: calc(var(--cta-pad-t) + 2px); left: var(--cta-pad-x); right: auto; transform: translate3d(0, 8px, 0); }
  /*rtl:ignore*/#cta.is-built.is-filled .cta-motto { transform: none; }
  /*rtl:ignore*/#cta .cta-glow { width: 420px; height: 420px; margin: -210px 0 0 -210px; }
}
@media (max-width: 640px) {
  #cta .h2 { font-size: clamp(34px, 9.4vw, 44px); }
  #cta .cta-lead { font-size: 16.5px; }
  #cta .cta-actions { flex-direction: column; align-items: stretch; margin-top: 30px; }
  #cta .cta-actions .btn { width: 100%; }
  #cta .cta-panel { border-radius: var(--r-lg); }
  /*rtl:ignore*/#cta .cta-motto { font-size: 10.5px; letter-spacing: .14em; gap: 10px; }
  /*rtl:ignore*/#cta .cta-tag { padding: 5px 11px 5px 5px; gap: 8px; }
  /*rtl:ignore*/#cta .cta-tag-ico { width: 24px; height: 24px; }
  /*rtl:ignore*/#cta .cta-tag-t { font-size: 11px; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  /*rtl:ignore*/#cta .cta-tag, #cta.is-built .cta-motto, #cta .cta-glow { transition: none; }
  /*rtl:ignore*/#cta.is-filled .cta-dot-ring, #cta.is-filled .cta-dot-burst, #cta .cta-motto-dot::after { animation: none; }
}

/* ===== languages (WordPress) — fa · ar (RTL, Vazirmatn) · ru ==========================================
   LTR (en) never matches these rules. The RTL part below is emitted into home-rtl.css only (rtl:raw).
   RTL model: the page layout mirrors (copy right, visuals left, rail right). Market UI stays in LTR islands —
   the Signal Terminal and its satellite cards, the ticker tape, quote readouts, the sessions board (time axis),
   the spread / latency / balance / marquee tiles, the IB network screen + partner dashboard, the MetaTrader
   device stage, the journey mini-chart, quote and payment vignettes, the award "candles" with their higher-lows
   trendline and the closing chart composition. Their rules carry rtl:ignore (see build_assets.py RTL_KEEP);
   translated labels that mix script and figures inside the islands take their own direction (unicode-bidi:
   plaintext / direction: rtl, listed one by one so alignments stay as designed); market figures (.mono / .num)
   stay LTR, while a translated mono label takes its own direction. (No comments inside the rtl:raw block below —
   they would close it.) */

/* ru: the headline runs ~20 % longer — four lines ("с брокером, которому" = 10.2em, EN's longest line is 8.6em),
   so the fluid size scales by 0.84 to keep the hero's height */
html[lang^="ru"] #hero .hero-title { font-size: clamp(28px, min(9.15cqi, 7.4vh), 66px); }

/* ru: the deposit receipt title ("Депозит зачислен") doesn't fit beside the status chip — the chip drops under the
   title, the layout the receipt already uses in a narrow container */
html[lang^="ru"] #services .sv-rc-head { grid-template-columns: 32px minmax(0, 1fr); row-gap: 6px; }
html[lang^="ru"] #services .sv-rc-ico { grid-row: span 2; align-self: start; margin-top: 2px; }
html[lang^="ru"] #services .sv-rc-chip { grid-column: 2; justify-self: start; }

/* ru: session countdowns ("Открытие через 11ч 52м", 22 characters) — a wider status column instead of 17ch */
/*rtl:ignore*/html[lang^="ru"] #markets .mk-sx-board { --st: 250px; }
/*rtl:ignore*/html[lang^="ru"] #markets .mk-sx-cd { width: 22ch; }
@media (max-width: 1099px) {
  /*rtl:ignore*/html[lang^="ru"] #markets .mk-sx-board { --st: 156px; }
  /*rtl:ignore*/html[lang^="ru"] #markets .mk-sx-cd { width: auto; }
}

/* ru: the closing headline ("Начните торговать уверенно уже сегодня") sets in 2–3 lines instead of 4 single words */
html[lang^="ru"] #cta .h2 { font-size: clamp(32px, 3.7vw, 54px); text-wrap: balance; }

/* fa · ar · ru: the motto under the thread's end point sits 43px further left, so the rising line doesn't strike
   through its last word (Latin) / first word (Arabic script); EN keeps the approved position */
@media (min-width: 1024px) {
  /*rtl:ignore*/html[lang^="fa"] #cta.is-built .cta-motto, html[lang^="ar"] #cta.is-built .cta-motto, html[lang^="ru"] #cta.is-built .cta-motto { transform: translate3d(calc(-100% - 36px), 10px, 0); }
  /*rtl:ignore*/html[lang^="fa"] #cta.is-built.is-filled .cta-motto, html[lang^="ar"] #cta.is-built.is-filled .cta-motto, html[lang^="ru"] #cta.is-built.is-filled .cta-motto { transform: translate3d(calc(-100% - 36px), 0, 0); }
}

/* fa · ar typography: headings balanced, no tracking on Arabic script anywhere in the chapters; in the mono
   (market-UI) labels the word spaces come from Vazirmatn too, so translated labels don't get monospace gaps */
html[lang^="fa"] #main .hero-title, html[lang^="fa"] #main .h2, html[lang^="fa"] #main .h3, html[lang^="fa"] #main .lead,
html[lang^="ar"] #main .hero-title, html[lang^="ar"] #main .h2, html[lang^="ar"] #main .h3, html[lang^="ar"] #main .lead { text-wrap: balance; }
html[lang^="fa"] #main .mono, html[lang^="fa"] #main .num, html[lang^="ar"] #main .mono, html[lang^="ar"] #main .num { letter-spacing: 0 !important; }
html[lang^="fa"] #hero .hero-title, html[lang^="ar"] #hero .hero-title { line-height: 1.22; }
/* Hero "Trust" swash outside English: sit under the word's ink and clear the next line. In fa the word is mid-headline
   (Vazirmatn's tall alefs/madda above), so the swash hugs the baseline and its line gets a little extra room; in ar / ru
   the word ends the headline and the swash drops below the descenders (ق · д р я). RTL: the curve is mirrored so it
   rises — and ends on its dot — at the end of the word in reading order (the rtl twin keeps right:-2% / width:108%). */
/*rtl:ignore*/html[lang^="fa"] #hero .hero-trust-line, html[lang^="ar"] #hero .hero-trust-line { transform: scaleX(-1); }
html[lang^="fa"] #hero .hero-trust-line { bottom: -.04em; }
html[lang^="fa"] #hero .hl:has(.hero-trust) { margin-bottom: .2em; }
html[lang^="ar"] #hero .hero-trust-line { bottom: -.34em; }
html[lang^="ru"] #hero .hero-trust-line { bottom: -.5em; }
html[lang^="fa"] #main, html[lang^="ar"] #main { --font-mono: "Atropi Mono Arabic", "JetBrains Mono", "Vazirmatn", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }

/*rtl:raw:
@font-face { font-family: 'Atropi Mono Arabic'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/vazirmatn-arabic.woff2) format('woff2'); unicode-range: U+0020, U+00A0, U+0600-06FF, U+0750-077F, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }

[dir="rtl"] #hero .term, [dir="rtl"] #hero .sat-in, [dir="rtl"] #ticker .tk-viewport, [dir="rtl"] #markets .mk-q-price, [dir="rtl"] #markets .mk-sx-board,
[dir="rtl"] #why .why-term, [dir="rtl"] #why .why-race, [dir="rtl"] #why .why-nbp-chart, [dir="rtl"] #why .why-mq,
[dir="rtl"] #partnership .pn-screen, [dir="rtl"] #partnership .pn-dash, [dir="rtl"] #platforms .pf-stage,
[dir="rtl"] #services .sv-mini, [dir="rtl"] #services .sv-quote, [dir="rtl"] #services .sv-pay-plate, [dir="rtl"] #services .sv-dev,
[dir="rtl"] #awards .aw-stage, [dir="rtl"] #cta .cta-chart { direction: ltr; }

[dir="rtl"] :is(#hero .toast-t, #hero .toast-s, #hero .sat-lev .sat-in > span, #why .why-term-tag, #why .why-cal-r, #why .why-nbp-eq, #platforms .t-ph > span, #platforms .t-sum span, #platforms .t-status span, #platforms .ph-push-msg, #platforms .t-mw-add, #services .sv-q-acct, #partnership .pn-row-k) { unicode-bidi: plaintext; }
[dir="rtl"] :is(#hero .toast-t, #hero .toast-s, #platforms .t-mw-add, #services .sv-q-note) { text-align: left; }
[dir="rtl"] :is(#partnership .pn-tag, #partnership .pn-mode, #partnership .pn-you, #partnership .pn-mgr-label, #partnership .pn-legend > span, #partnership .pn-dash-title) { direction: rtl; }
[dir="rtl"] :is(#markets .mk-q-chg [data-q-abs], #platforms .t-sum b) { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] #main :is(.mono, .num):not(:is(#hero .term, #hero .sat-in, #ticker .tk-viewport, #markets .mk-sx-board, #why .why-term, #why .why-race, #why .why-nbp-chart, #why .why-mq, #partnership .pn-screen, #partnership .pn-dash, #platforms .pf-stage, #services .sv-mini, #services .sv-quote, #awards .aw-stage, #cta .cta-chart) *) { unicode-bidi: plaintext; }
[dir="rtl"] #hero .term-foot { justify-content: flex-start; }

[dir="rtl"] #awards .aw-plaque { direction: rtl; }
[dir="rtl"] #awards .aw-meta { direction: ltr; }
[dir="rtl"] #awards .aw-trend-lbl { direction: rtl; }

[dir="rtl"] #cta .cta-copy { margin-right: auto; }
[dir="rtl"] #cta .cta-tag-t { direction: rtl; }
[dir="rtl"] #cta .cta-motto { direction: ltr; right: calc(var(--cta-pad-x) + 30px); }
[dir="rtl"] #cta.is-built .cta-motto { right: auto; }

[dir="rtl"] #services .sv-count850, [dir="rtl"] #services .sv-tile em, [dir="rtl"] #why .why-count, [dir="rtl"] #hero .hero-proof b { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] #markets .mk-sx-cd, [dir="rtl"] #markets .mk-sx-pill { direction: rtl; unicode-bidi: isolate; }
*/
