/* atropi-scope: .pt-, .atropi-page-partnership */
/* =====================================================================================================
   ATROPI — Partnership landing (page-templates/partnership.php). Same tokens / hairlines / mono data / motion as
   the homepage "04 · The Network" chapter, opened up into a full page:
     hero      the IB network canvas (tiers + commission pulses) + glass "commission flow" card
     #why      bento of five living cards (rebates · reporting · withdrawals · 24/5 · tier tree)
     #models   commission models list + flow stage that re-wires per model (signature)
     #tools    tool list + partner-portal mock (region tour)
     #support  support desk (manager · four-language chat · webinar · regions) + list
   Diagrams, mocks and canvases are LTR islands (dir="ltr" + rtl:ignore blocks). Loops run only while the
   section is on screen (JS toggles .is-live); reduced motion = final frames.
   ===================================================================================================== */

/* ================================================================================== 0. shared */
.atropi-page-partnership { --pt-t1: var(--brand); --pt-t2: var(--cyan); --pt-pay: var(--bull-vivid); }
.pt-mono, .pt-net-hud, .pt-flow-hud, .pt-fl { font-family: var(--font-mono); font-variant-numeric: tabular-nums slashed-zero; }

/* ================================================================================== 1. HERO — IB network */
.pt-hero .ac-hero-title.is-long { max-width: none; font-size: clamp(36px, 3.9vw, 58px); text-wrap: balance; }
.pt-hero .ac-hero-visual { max-width: 520px; }
@media (min-width: 1100px) { .pt-hero .ac-hero-main.has-visual { grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); } }
.pt-net { position: relative; margin: 0; width: 100%; }
/*rtl:begin:ignore*/
.pt-net-screen {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 1 / 1.02;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(56% 50% at 50% 51%, 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);
}
:root[data-theme="dark"] .pt-net-screen {
  background:
    radial-gradient(58% 52% at 50% 51%, rgba(153, 117, 176, .17), transparent 72%),
    linear-gradient(180deg, #2D0C3C 0%, #230A2E 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.pt-net-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: center;
  -webkit-mask-image: radial-gradient(68% 62% at 50% 50%, #000 15%, transparent 80%);
  mask-image: radial-gradient(68% 62% at 50% 50%, #000 15%, transparent 80%);
}
.pt-net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pt-net-hud {
  position: absolute; left: 20px; right: 20px; top: 18px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 11px; font-weight: 500; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  pointer-events: none;
}
.pt-net-tag { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.pt-net-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.pt-net-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; }
.pt-net-tiers { display: inline-flex; gap: 6px; }
.pt-net-tiers 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);
}
.pt-net-tiers b + b { color: color-mix(in srgb, var(--cyan) 80%, var(--ink)); background: color-mix(in srgb, var(--cyan) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cyan) 28%, transparent); }
.pt-net-you {
  position: absolute; z-index: 2; left: 50%; top: calc(var(--cy, 50%) + var(--cr, 24px) + 14px);
  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; white-space: nowrap;
  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"] .pt-net-you { box-shadow: 0 8px 20px -10px rgba(44, 12, 59, .5); } /* brand Night */
.pt-net-you i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
html.js .pt-net:not(.is-built) .pt-net-you { opacity: 0; }
.pt-net-legend {
  position: absolute; z-index: 2; right: 18px; bottom: 16px;
  display: grid; gap: 7px; justify-items: start;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  pointer-events: none;
}
.pt-net-legend span { display: inline-flex; align-items: center; gap: 8px; }
.pt-net-legend b { font-weight: 600; color: var(--text); }
.pt-net-legend em { font-style: normal; letter-spacing: .04em; text-transform: none; font-family: var(--font-sans); font-size: 12px; }
.pt-net-legend i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.pt-net-legend i.t1 { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.pt-net-legend i.t2 { background: var(--cyan); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyan) 14%, transparent); }

/* glass commission-flow card (overhangs the stage on the start side) */
.pt-net-card {
  position: absolute; z-index: 4; left: -30px; bottom: 64px;
  width: 236px; padding: 13px 14px 12px; border-radius: 16px;
  transition: transform .8s var(--ease-out), opacity .6s ease;
}
:root[data-theme="light"] .pt-net-card { background: rgba(255, 255, 255, .8); }
[dir="rtl"] .pt-net-card { left: auto; right: -30px; }
[dir="rtl"] .pt-net-legend { right: auto; left: 18px; }
html.js .pt-net:not(.is-dash) .pt-net-card { opacity: 0; transform: translate3d(-12px, 16px, 0) scale(.94); }
.pt-net-card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; white-space: nowrap; font-size: 12.5px; font-weight: 650; color: var(--ink); letter-spacing: -0.005em; }
.pt-net-live { display: inline-flex; align-items: center; gap: 5px; flex: none; white-space: nowrap; height: 18px; padding: 0 6px; border-radius: 5px; font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bull); background: var(--bull-bg); }
.pt-net-live i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: pt-blink 1.6s ease-in-out infinite; }
.pt-net-spark { position: relative; height: 44px; margin: 10px 0 10px; }
.pt-net-spark-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pt-net-spark-line { fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pt-net-ag0 { stop-color: var(--brand); stop-opacity: .22; }
.pt-net-ag1 { stop-color: var(--brand); stop-opacity: 0; }
.pt-net-spark-dot { position: absolute; right: -3px; top: var(--sy, 50%); width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px var(--brand-50), 0 0 12px var(--brand-glow); }
.pt-net-rows { display: grid; gap: 7px; padding-top: 10px; border-top: 1px solid var(--line); }
.pt-net-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pt-net-bar { position: relative; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pt-net-bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand-600), var(--brand-400)); transform-origin: 0 50%; transform: scaleX(var(--v, .3)); transition: transform .9s var(--ease-out); }
.pt-net-bar.is-t2 i { background: linear-gradient(90deg, color-mix(in srgb, var(--cyan) 80%, #000), var(--cyan)); }
/*rtl:end:ignore*/
@keyframes pt-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ================================================================================== 2. WHY — bento */
.pt-why { overflow: hidden; }
.pt-why .grid-bg { -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 70%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 60% 50% at 50% 70%, #000 10%, transparent 72%); }
.pt-why-grid { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; gap: clamp(14px, 1.5vw, 20px); grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pt-why-i { display: flex; min-width: 0; grid-column: span 2; }
.pt-why-i--rebates { grid-column: span 4; }
.pt-why-card {
  position: relative; isolation: isolate; overflow: hidden;
  flex: 1; display: flex; flex-direction: column; gap: 22px;
  min-height: 320px; padding: clamp(22px, 2.2vw, 30px);
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s ease;
}
.pt-why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.pt-why-card.is-ink { background: var(--grad-ink); border-color: rgba(255, 255, 255, .08); color: #C9D6EE; }
:root[data-theme="dark"] .pt-why-card.is-ink { color: #DED8E2; } /* brand Night */
.pt-why-card.is-ink::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(111, 166, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 166, 255, .07) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(80% 80% at 85% 15%, #000, transparent 75%); mask-image: radial-gradient(80% 80% at 85% 15%, #000, transparent 75%); pointer-events: none; }
:root[data-theme="dark"] .pt-why-card.is-ink::after { background-image: linear-gradient(rgba(182, 156, 199, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(182, 156, 199, .07) 1px, transparent 1px); } /* brand Night */
.pt-why-top { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.pt-why-n { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; color: var(--brand-ink); }
.pt-why-n::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .35; }
.pt-why-t { font-size: clamp(19px, 1.45vw, 21px); line-height: 1.3; font-weight: 650; letter-spacing: -0.014em; color: var(--ink); max-width: 22ch; text-wrap: balance; }
.pt-why-card.is-ink .pt-why-n { color: #8DB8FF; }
:root[data-theme="dark"] .pt-why-card.is-ink .pt-why-n { color: #C4AFD2; } /* brand Night */
.pt-why-card.is-ink .pt-why-t { color: #fff; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.15; letter-spacing: -0.025em; max-width: 17ch; }
.pt-why-vis { position: relative; margin-top: auto; min-height: 120px; }

/*rtl:begin:ignore*/
/* 2.1 rebates (ink): payout bars rise, a payout line draws over them, a coin rides its tip */
.pt-vis-rebates { position: relative; height: clamp(150px, 15vw, 196px); }
.pt-vr-head { position: absolute; right: 0; top: -2px; display: flex; gap: 14px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #93A6CB; }
:root[data-theme="dark"] .pt-vr-head { color: #BCB0C2; } /* brand Night */
.pt-vr-head span { display: inline-flex; align-items: center; gap: 7px; }
.pt-vr-k { width: 8px; height: 8px; border-radius: 2px; }
.pt-vr-k.is-a { background: rgba(111, 166, 255, .42); }
:root[data-theme="dark"] .pt-vr-k.is-a { background: rgba(182, 156, 199, .42); } /* brand Night */
.pt-vr-k.is-b { background: #6FA6FF; border-radius: 50%; }
:root[data-theme="dark"] .pt-vr-k.is-b { background: #B69CC7; } /* brand Night */
.pt-vr-bars { position: absolute; left: 0; right: 0; bottom: 0; top: 28px; display: flex; align-items: flex-end; gap: 6%; padding: 0 2%; }
.pt-vr-bar { flex: 1; height: var(--h); position: relative; }
.pt-vr-bar i { position: absolute; inset: 0; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, rgba(111, 166, 255, .5), rgba(111, 166, 255, .12)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); transform-origin: 50% 100%; }
:root[data-theme="dark"] .pt-vr-bar i { background: linear-gradient(180deg, rgba(182, 156, 199, .5), rgba(182, 156, 199, .12)); } /* brand Night */
html.js .pt-why-i:not(.is-in) .pt-vr-bar i { transform: scaleY(0); }
html.js .pt-vr-bar i { transition: transform .9s var(--ease-out); transition-delay: calc(var(--k) * 55ms + 200ms); }
.pt-why.is-live .pt-vr-bar i { animation: pt-bar-flash 4.8s var(--ease-io) infinite; animation-delay: calc(var(--k) * 110ms + 1.4s); }
@keyframes pt-bar-flash { 0%, 16%, 100% { background: linear-gradient(180deg, rgba(111, 166, 255, .5), rgba(111, 166, 255, .12)); }
:root[data-theme="dark"] 0%, :root[data-theme="dark"] 16%, :root[data-theme="dark"] 100% { background: linear-gradient(180deg, rgba(182, 156, 199, .5), rgba(182, 156, 199, .12)); } /* brand Night */ 6% { background: linear-gradient(180deg, rgba(143, 190, 255, .95), rgba(111, 166, 255, .3)); }
:root[data-theme="dark"] 6% { background: linear-gradient(180deg, rgba(200, 181, 213, .95), rgba(182, 156, 199, .3)); } /* brand Night */ }
.pt-vr-line { position: absolute; left: 2%; right: 2%; top: 28px; bottom: 0; width: 96%; height: calc(100% - 28px); overflow: visible; }
.pt-vr-line path { fill: none; stroke: #8DB8FF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 4px 10px rgba(111, 166, 255, .45)); }
:root[data-theme="dark"] .pt-vr-line path { stroke: #C4AFD2; filter: drop-shadow(0 4px 10px rgba(182, 156, 199, .45)); } /* brand Night */
/* non-scaling strokes can't use pathLength dashes → the line is wiped in with a clip */
.pt-vr-line { clip-path: inset(-20px -20px -20px -20px); }
html.js .pt-why-i:not(.is-in) .pt-vr-line { clip-path: inset(-20px 100% -20px -20px); }
html.js .pt-vr-line { transition: clip-path 1.6s var(--ease-io) .5s; }
.pt-vr-coin { position: absolute; right: 2.3%; top: calc(28px + (100% - 28px) * .11); width: 12px; height: 12px; margin: -6px -6px 0 0; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF4CF, var(--gold-2) 45%, #B4841C); box-shadow: 0 0 0 4px rgba(233, 196, 106, .18), 0 0 18px rgba(233, 196, 106, .6); }
html.js .pt-why-i:not(.is-in) .pt-vr-coin { opacity: 0; transform: scale(.4); }
html.js .pt-vr-coin { transition: opacity .5s ease 2s, transform .7s var(--ease-spring) 2s; }
.pt-why.is-live .pt-vr-coin { animation: pt-coin 2.4s var(--ease-io) 2.4s infinite; }
@keyframes pt-coin { 0%, 100% { box-shadow: 0 0 0 4px rgba(233, 196, 106, .18), 0 0 18px rgba(233, 196, 106, .6); } 50% { box-shadow: 0 0 0 9px rgba(233, 196, 106, .06), 0 0 26px rgba(233, 196, 106, .8); } }

/* 2.2 reporting: a real-time report */
.pt-vis-report { display: grid; gap: 10px; }
.pt-vp-head { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pt-vp-live { display: inline-flex; align-items: center; gap: 6px; color: var(--bull); }
.pt-vp-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pt-why.is-live .pt-vp-live i { animation: pt-blink 1.4s ease-in-out infinite; }
.pt-vp-tf { display: inline-flex; gap: 2px; }
.pt-vp-tf b, .pt-vp-tf i { font-style: normal; padding: 3px 6px; border-radius: 5px; font-weight: 600; letter-spacing: .04em; }
.pt-vp-tf b { color: var(--brand-ink); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); }
.pt-vp-chart { width: 100%; height: 64px; overflow: visible; }
.pt-vp-grid { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pt-vp-line { fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pt-vp-chart { clip-path: inset(-10px -10px -10px -10px); }
html.js .pt-why-i:not(.is-in) .pt-vp-chart { clip-path: inset(-10px 100% -10px -10px); }
html.js .pt-vp-chart { transition: clip-path 1.6s var(--ease-io) .45s; }
.pt-vp-rows { display: grid; gap: 7px; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pt-vp-rows > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 10px; }
.pt-vp-bar { position: relative; height: 5px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pt-vp-bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand-600), var(--brand-400)); transform-origin: 0 50%; transform: scaleX(var(--v)); }
.pt-vp-bar.is-c i { background: linear-gradient(90deg, color-mix(in srgb, var(--cyan) 75%, #000), var(--cyan)); }
html.js .pt-why-i:not(.is-in) .pt-vp-bar i { transform: scaleX(0); }
html.js .pt-vp-bar i { transition: transform 1.1s var(--ease-out) .8s; }
.pt-why.is-live .pt-vp-bar i { animation: pt-breathe 3.6s var(--ease-io) 2s infinite; }
.pt-why.is-live .pt-vp-bar.is-c i { animation-delay: 2.9s; }
@keyframes pt-breathe { 0%, 100% { transform: scaleX(var(--v)); } 50% { transform: scaleX(calc(var(--v) + .12)); } }

/* 2.3 withdrawals: requested → processing → completed */
.pt-vis-wd { position: relative; padding-top: 6px; }
.pt-wd-track { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pt-wd-s { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.pt-wd-s:first-child { align-items: flex-start; text-align: left; }
.pt-wd-s:last-child { align-items: flex-end; text-align: right; }
.pt-wd-node { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--muted); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: color .4s ease, background .4s ease, box-shadow .5s var(--ease-out), transform .6s var(--ease-spring); }
.pt-wd-node .ico { width: 17px; height: 17px; stroke-width: 1.9; }
.pt-wd-l { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .4s ease; }
.pt-wd-rail { position: absolute; left: 19px; right: 19px; top: 25px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.pt-wd-rail i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--bull-vivid)); transform-origin: 0 50%; transform: scaleX(var(--wd, 1)); transition: transform .9s var(--ease-out); }
.pt-vis-wd .pt-wd-s.is-on .pt-wd-node { color: #fff; background: var(--btn-bg); box-shadow: 0 10px 22px -10px var(--brand-glow); }
.pt-vis-wd .pt-wd-s.is-on .pt-wd-l { color: var(--ink); }
.pt-vis-wd .pt-wd-s[data-s="2"].is-on .pt-wd-node { background: var(--bull-vivid); box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--bull-vivid) 70%, transparent); transform: scale(1.06); }
.pt-vis-wd .pt-wd-s.is-cur:not([data-s="2"]) .pt-wd-spin { animation: pt-spin 1s linear infinite; }
@keyframes pt-spin { to { transform: rotate(360deg); } }
html:not(.js) .pt-vis-wd .pt-wd-s .pt-wd-node { color: #fff; background: var(--btn-bg); }

/* 2.4 support: 24/5 + hello in four languages */
.pt-vis-sup { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-height: 120px; }
.pt-vs-hours { font-size: clamp(44px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.05em; line-height: .9; color: var(--ink); }
.pt-vs-bubbles { position: absolute; left: 0; top: 0; display: grid; }
.pt-vs-b {
  grid-area: 1 / 1; justify-self: start;
  display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 14px 14px 14px 4px;
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 600; color: var(--brand-ink);
  background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100);
  opacity: 0; transform: translate3d(0, 8px, 0) scale(.94); transform-origin: 0 100%;
  transition: opacity .35s ease, transform .55s var(--ease-spring);
}
.pt-vs-b.is-on { opacity: 1; transform: none; }
.pt-vs-ring { width: 58px; height: 58px; flex: none; }
.pt-vs-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pt-vs-ring-b { fill: none; stroke: var(--line); stroke-width: 3; }
.pt-vs-ring-f { fill: none; stroke: var(--bull-vivid); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .71 1; }
.pt-why.is-live .pt-vs-ring svg { animation: pt-spin 12s linear infinite; }

/* 2.5 tiers: the tree keeps branching */
.pt-vis-tree { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.pt-vt-svg { width: 100%; height: auto; max-height: 150px; overflow: visible; }
.pt-vt-links path { fill: none; stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pt-vt-links path[style*="--d:0"] { stroke: color-mix(in srgb, var(--brand) 55%, var(--line-strong)); }
html.js .pt-why-i:not(.is-in) .pt-vt-links path { stroke-dashoffset: 1; }
html.js .pt-vt-links path { transition: stroke-dashoffset .9s var(--ease-io); transition-delay: calc(var(--d) * 500ms + 300ms); }
.pt-vt-you { fill: var(--brand); stroke: var(--surface); stroke-width: 2.5; }
.pt-vt-n1 { fill: var(--surface); stroke: var(--brand); stroke-width: 1.6; }
.pt-vt-n2 { fill: var(--surface); stroke: var(--cyan); stroke-width: 1.4; }
.pt-vt-n3 { fill: var(--faint); opacity: .55; }
html.js .pt-why-i:not(.is-in) .pt-vt-n1, html.js .pt-why-i:not(.is-in) .pt-vt-n2 { opacity: 0; }
html.js .pt-vt-n1 { transition: opacity .5s ease .7s; }
html.js .pt-vt-n2 { transition: opacity .5s ease 1.2s; }
.pt-why.is-live .pt-vt-n3 { animation: pt-twinkle 2.6s ease-in-out infinite; animation-delay: calc(var(--q) * 160ms); }
@keyframes pt-twinkle { 0%, 100% { opacity: .35; } 50% { opacity: .95; fill: var(--cyan); } }
.pt-vt-l { display: grid; grid-template-rows: 14% 33% 33% 20%; align-items: center; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pt-vt-l b { font-weight: 600; }
.pt-vt-l b:first-child { color: var(--brand-ink); }
/*rtl:end:ignore*/

/* ================================================================================== 3. MODELS — signature */
.pt-models-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(32px, 4.4vw, 72px); align-items: center; margin-top: clamp(40px, 5vw, 64px); }
.pt-models-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pt-model {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 22px 44px minmax(0, 1fr); grid-template-areas: "n ico h" "n ico x";
  column-gap: 16px; row-gap: 4px; align-items: center;
  padding: 18px 20px 20px; border-radius: var(--r-md); border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .45s var(--ease-out), border-color .45s var(--ease-out), box-shadow .6s var(--ease-out);
}
.pt-model + .pt-model::before { content: ""; position: absolute; inset-inline: 18px; top: -5px; height: 1px; background: var(--line); transition: opacity .35s ease; }
.pt-model.is-active::before, .pt-model.is-active + .pt-model::before { opacity: 0; }
.pt-model:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); }
.pt-model.is-active { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-md); }
:root[data-theme="dark"] .pt-model:hover { background: rgba(255, 255, 255, .025); }
:root[data-theme="dark"] .pt-model.is-active { background: var(--surface); border-color: var(--line-strong); }
.pt-model-n { grid-area: n; align-self: start; padding-top: 14px; font-size: 12px; font-weight: 500; color: var(--muted); transition: color .3s ease; }
.pt-model-ico { grid-area: ico; align-self: start; display: grid; place-items: center; width: 44px; height: 44px; 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); }
.pt-model-ico .ico { width: 21px; height: 21px; }
.pt-model-h { grid-area: h; margin: 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.3; font-weight: 650; letter-spacing: -0.012em; color: var(--ink); }
.pt-model-b { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; letter-spacing: inherit; text-align: start; cursor: pointer; }
.pt-model-b::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.pt-model-b:focus-visible { outline: none; }
.pt-model:has(.pt-model-b:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.pt-model-x { grid-area: x; font-size: 15px; line-height: 1.6; color: var(--text); max-width: 46ch; }
.pt-model.is-active .pt-model-n { color: var(--brand-ink); }
.pt-model.is-active .pt-model-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); }
.pt-model:hover .pt-model-ico { transform: translateY(-1px) rotate(-4deg); }
.pt-model-timer { position: absolute; inset-inline: 20px; bottom: 9px; height: 2px; border-radius: 2px; overflow: hidden; opacity: 0; }
.pt-model-timer i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--cyan)); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .pt-model-timer i { transform-origin: 100% 50%; }
.pt-models.is-auto .pt-model.is-active .pt-model-timer { opacity: 1; background: var(--line); }
.pt-models.is-auto .pt-model.is-active .pt-model-timer i { animation: pt-timer var(--pt-dur, 6s) linear forwards; }
@keyframes pt-timer { to { transform: scaleX(1); } }

.pt-flow { position: relative; margin: 0; min-width: 0; }
/*rtl:begin:ignore*/
.pt-flow-screen {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 600 / 482;
  border-radius: var(--r-xl); border: 1px solid var(--line);
  background:
    radial-gradient(50% 55% at 84% 58%, var(--brand-50), transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .9);
}
:root[data-theme="dark"] .pt-flow-screen {
  background:
    radial-gradient(52% 56% at 84% 58%, rgba(153, 117, 176, .16), transparent 70%),
    linear-gradient(180deg, #2D0C3C 0%, #230A2E 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.pt-flow-paper { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 30px 30px; background-position: 0 2px; -webkit-mask-image: radial-gradient(75% 70% at 50% 55%, #000 25%, transparent 85%); mask-image: radial-gradient(75% 70% at 50% 55%, #000 25%, transparent 85%); }
.pt-flow-hud { position: absolute; left: 20px; right: 20px; top: 18px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 500; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.pt-flow-tag { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.pt-flow-tag > i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.pt-flow-names { display: grid; justify-items: end; }
.pt-flow-name { 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); letter-spacing: .06em; }
.pt-flow-name 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); }
.pt-flow-name > span { text-transform: none; font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: -0.005em; color: var(--ink); }
.pt-flow[data-model="rev"] .pt-flow-name[data-m="rev"], .pt-flow[data-model="cpa"] .pt-flow-name[data-m="cpa"],
.pt-flow[data-model="ml"] .pt-flow-name[data-m="ml"], .pt-flow[data-model="hy"] .pt-flow-name[data-m="hy"] { opacity: 1; transform: none; transition-delay: .1s; }

.pt-flow-svg, .pt-flow-labels { position: absolute; left: 0; right: 0; bottom: 0; height: calc(100% * 440 / 482); }
.pt-flow-svg { width: 100%; overflow: visible; }
.pt-g, .pt-nodes { opacity: 0; transition: opacity .55s var(--ease-out); }
.pt-only-rev, .pt-only-cpa { transition: opacity .55s var(--ease-out); }
.pt-flow[data-model="rev"] :is(.pt-g-rev, .pt-n-rev),
.pt-flow[data-model="cpa"] :is(.pt-g-cpa, .pt-n-cpa),
.pt-flow[data-model="ml"] :is(.pt-g-ml, .pt-n-ml),
.pt-flow[data-model="hy"] :is(.pt-g-hy-rev, .pt-g-hy-cpa, .pt-n-rev, .pt-n-cpa) { opacity: 1; }
.pt-flow[data-model="hy"] :is(.pt-only-rev, .pt-only-cpa) { opacity: 0; }

.pt-lane { fill: none; stroke: var(--line-strong); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 2 6; }
.pt-lane--out { stroke: color-mix(in srgb, var(--brand) 45%, var(--line-strong)); stroke-dasharray: none; stroke-width: 1.6; }
.pt-lane--sub { stroke: color-mix(in srgb, var(--cyan) 40%, var(--line-strong)); }
.pt-flow.is-live .pt-lane:not(.pt-lane--out) { animation: pt-lane 1.4s linear infinite; }
@keyframes pt-lane { to { stroke-dashoffset: -16; } }

.pt-node { fill: var(--surface); stroke: var(--brand); stroke-width: 1.7; transition: stroke .4s ease, fill .4s ease, r .5s var(--ease-spring); }
.pt-node.is-hit { fill: var(--brand-50); }
.pt-node.is-prospect { stroke: var(--faint); stroke-dasharray: 3 3; }
.pt-node.is-prospect.is-on { stroke: var(--bull-vivid); stroke-dasharray: none; fill: var(--bull-bg); }
.pt-node.is-sub-c { stroke: var(--cyan); }
.pt-sub { fill: color-mix(in srgb, var(--cyan) 12%, var(--surface)); stroke: var(--cyan); stroke-width: 1.9; }
.pt-sub-halo { fill: color-mix(in srgb, var(--cyan) 9%, transparent); stroke: color-mix(in srgb, var(--cyan) 26%, transparent); stroke-width: 1; stroke-dasharray: 2 4; }
.pt-gate-box { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; transition: fill .35s ease, stroke .35s ease; }
.pt-gate-x { fill: none; stroke: var(--faint); stroke-width: 1.8; stroke-linecap: round; transition: opacity .25s ease; }
.pt-gate-ok { fill: none; stroke: var(--bull-vivid); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .45s var(--ease-out); }
.pt-flow.is-ok .pt-gate-box { fill: var(--bull-bg); stroke: var(--bull-vivid); }
.pt-flow.is-ok .pt-gate-x { opacity: 0; }
.pt-flow.is-ok .pt-gate-ok { stroke-dashoffset: 0; }

.pt-you-halo { fill: var(--brand-50); transform-box: fill-box; transform-origin: center; transition: transform .6s var(--ease-out), opacity .6s ease; }
.pt-you.is-hit .pt-you-halo { transform: scale(1.14); transition-duration: .12s; }
.pt-you-track { fill: none; stroke: var(--line); stroke-width: 3; }
.pt-you-meter { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-dasharray: var(--m, .25) 1; transition: stroke-dasharray .5s var(--ease-out); }
.pt-you-core { fill: var(--brand); }
.pt-you-ico { fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; }
.pt-dot { fill: var(--brand); }
.pt-dot-g { fill: var(--brand); opacity: .18; }
.pt-dot.is-cyan, .pt-dot-g.is-cyan { fill: var(--cyan); }
.pt-dot.is-token, .pt-dot-g.is-token { fill: var(--bull-vivid); }
.pt-dot.is-coin { fill: var(--gold-2); stroke: var(--gold); stroke-width: 1.5; }
.pt-dot-g.is-coin { fill: var(--gold-2); opacity: .3; }

.pt-fl {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  color: var(--muted);
  opacity: 0; transition: opacity .45s var(--ease-out), transform .55s var(--ease-out), color .3s ease;
  pointer-events: none;
}
.pt-flow[data-model="rev"] .pt-fl--rev, .pt-flow[data-model="cpa"] .pt-fl--cpa,
.pt-flow[data-model="ml"] .pt-fl--ml, .pt-flow[data-model="hy"] .pt-fl--hy { opacity: 1; }
.pt-fl-col { font-size: 10px; letter-spacing: .14em; }
.pt-fl-badge { height: 22px; padding: 0 8px; border-radius: 6px; color: var(--brand-ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--brand-100), var(--shadow-sm); letter-spacing: .06em; }
.pt-fl-badge.is-cpa { color: var(--bull); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bull-vivid) 32%, transparent), var(--shadow-sm); }
.pt-fl-badge.is-reb { color: color-mix(in srgb, var(--cyan) 80%, var(--ink)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cyan) 32%, transparent), var(--shadow-sm); }
.pt-fl-gate.is-on, .pt-flow.is-ok .pt-fl-gate { color: var(--bull); }
.pt-fl-sub { color: color-mix(in srgb, var(--cyan) 75%, var(--ink)); }
.pt-fl-you { opacity: 1; height: 24px; padding: 0 11px; border-radius: var(--r-pill); color: var(--bg); background: var(--ink); box-shadow: 0 8px 20px -10px rgba(10, 22, 40, .5); letter-spacing: .1em; }
:root[data-theme="dark"] .pt-fl-you { box-shadow: 0 8px 20px -10px rgba(44, 12, 59, .5); } /* brand Night */
.pt-fl-paid { height: 26px; padding: 0 11px 0 8px; border-radius: var(--r-pill); color: var(--bull); background: var(--bull-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bull-vivid) 30%, transparent); transform: translate(-50%, -30%) scale(.86); }
:root[data-theme="light"] .pt-fl-paid { background: #EAF8F1; }
.pt-fl-paid .ico { width: 14px; height: 14px; stroke-width: 2.2; }
.pt-flow.is-paid .pt-fl-paid { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: opacity .3s ease, transform .5s var(--ease-spring); }
.pt-fl-trade { height: 20px; padding: 0 7px; border-radius: 5px; color: var(--bull); background: var(--bull-bg); font-size: 9.5px; transform: translate(-50%, -30%); }
.pt-fl-trade.is-on { opacity: 1; transform: translate(-50%, -50%); transition-duration: .2s, .3s; }
.pt-flow:not([data-model="rev"]):not([data-model="hy"]) .pt-fl-trade { display: none; }
.pt-flow[data-model="hy"] .pt-fl-trade[data-lane="pt-l-rev2"] { display: none; }
/*rtl:end:ignore*/

/* ================================================================================== 4. TOOLS — partner portal */
.pt-tools { overflow: hidden; }
.pt-tools-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.pt-tools .chapter-head { margin-bottom: 0; }
.pt-tools .chapter-head .lead { font-size: var(--fs-body); line-height: 1.7; }
.pt-tools-list { list-style: none; padding: 0; margin: clamp(28px, 3vw, 40px) 0 0; border-top: 1px solid var(--line); }
.pt-tool { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 22px; align-items: center; gap: 16px; padding: 15px 2px; border-bottom: 1px solid var(--line); cursor: default; }
.pt-tool::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -1px; width: 100%; height: 1px; background: var(--brand); transform: scaleX(0); transform-origin: var(--pt-origin, 0) 50%; transition: transform .8s var(--ease-out); }
[dir="rtl"] .pt-tool::after { --pt-origin: 100%; }
.pt-tool.is-active::after { transform: scaleX(1); }
.pt-tool-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, background .35s, box-shadow .45s var(--ease-out); }
.pt-tool-ico .ico { width: 20px; height: 20px; }
.pt-tool-t { font-size: 16.5px; font-weight: 600; line-height: 1.4; letter-spacing: -0.008em; color: var(--text); transition: color .3s; }
.pt-tool-go { display: grid; place-items: center; color: var(--brand); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .5s var(--ease-out); }
[dir="rtl"] .pt-tool-go { transform: translateX(6px); }
.pt-tool-go .ico { width: 18px; height: 18px; }
.pt-tool.is-active .pt-tool-ico { color: #fff; background: var(--btn-bg); box-shadow: 0 10px 22px -10px var(--brand-glow); }
.pt-tool.is-active .pt-tool-t { color: var(--ink); }
.pt-tool.is-active .pt-tool-go { opacity: 1; transform: none; }

.pt-tools-vis { min-width: 0; }
/*rtl:begin:ignore*/
.pt-portal { position: relative; padding: 14px; border-radius: var(--r-xl); }
:root[data-theme="light"] .pt-portal { background: rgba(255, 255, 255, .72); }
.pt-portal-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 14px; }
.pt-portal-title { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
.pt-portal-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #fff; background: var(--btn-bg); box-shadow: 0 8px 18px -10px var(--brand-glow); }
.pt-portal-mark .ico { width: 16px; height: 16px; }
.pt-portal-right { display: inline-flex; align-items: center; gap: 10px; }
.pt-portal-live { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bull); background: var(--bull-bg); }
.pt-portal-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pt-blink 1.6s ease-in-out infinite; }
.pt-portal-tf { display: inline-flex; gap: 2px; font-size: 10.5px; color: var(--muted); }
.pt-portal-tf b, .pt-portal-tf i { font-style: normal; padding: 4px 7px; border-radius: 6px; font-weight: 600; }
.pt-portal-tf b { color: var(--brand-ink); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); }
.pt-portal-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-areas: "a b" "c c" "d d"; gap: 10px; }
.pt-reg { position: relative; padding: 14px 15px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .5s var(--ease-out), border-color .4s ease, opacity .45s ease, transform .5s var(--ease-out); }
:root[data-theme="dark"] .pt-reg { background: var(--surface-2); }
.pt-reg--analytics { grid-area: a; }
.pt-reg--dashboard { grid-area: b; }
.pt-reg--withdraw { grid-area: c; }
.pt-reg--links { grid-area: d; }
.pt-portal.has-active .pt-reg:not(.is-active) { opacity: .62; }
.pt-reg.is-active { border-color: color-mix(in srgb, var(--brand) 42%, transparent); box-shadow: 0 0 0 4px var(--brand-50), var(--shadow-md); transform: translateY(-2px); }
.pt-reg-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 22px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pt-reg-chips { display: inline-flex; gap: 5px; }
.pt-reg-chips .chip { height: 20px; font-size: 10px; text-transform: none; letter-spacing: .02em; }
.pt-chart { position: relative; height: 132px; margin-top: 10px; }
.pt-chart-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pt-chart-grid { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 2 4; }
.pt-chart-line { fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pt-chart-ag0 { stop-color: var(--brand); stop-opacity: .2; }
.pt-chart-ag1 { stop-color: var(--brand); stop-opacity: 0; }
.pt-chart-cursor { position: absolute; top: 0; bottom: 0; left: var(--cx, 70%); width: 1px; background: linear-gradient(180deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent); opacity: 0; transition: opacity .4s ease; }
.pt-chart-cursor i { position: absolute; left: -4.5px; top: var(--cyy, 40%); width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 2px var(--brand), 0 0 0 6px var(--brand-50); }
.pt-reg--analytics.is-active .pt-chart-cursor { opacity: 1; }
.pt-perf { display: grid; gap: 11px; margin-top: 12px; }
.pt-perf-row, .pt-perf-clients { display: grid; grid-template-columns: 60px minmax(0, 1fr); align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pt-perf-bar { position: relative; height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pt-perf-bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand-600), var(--brand-400)); transform-origin: 0 50%; transform: scaleX(var(--v)); transition: transform 1s var(--ease-out); }
.pt-perf-bar.is-t2 i { background: linear-gradient(90deg, color-mix(in srgb, var(--cyan) 75%, #000), var(--cyan)); }
.pt-reg--dashboard.is-active .pt-perf-bar i { transform: scaleX(calc(var(--v) + .14)); }
.pt-perf-dots { display: flex; flex-wrap: wrap; gap: 5px; }
.pt-perf-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); transition: background .35s ease, box-shadow .35s ease; transition-delay: calc(var(--q) * 60ms); }
.pt-reg--dashboard.is-active .pt-perf-dots i:nth-child(-n+8), .pt-portal:not(.has-active) .pt-perf-dots i:nth-child(-n+6) { background: var(--brand); box-shadow: 0 0 0 2px var(--brand-50); }
.pt-reg--dashboard.is-active .pt-perf-dots i:nth-child(n+5):nth-child(-n+8) { background: var(--cyan); box-shadow: 0 0 0 2px color-mix(in srgb, var(--cyan) 14%, transparent); }
.pt-wd-state { display: inline-grid; }
.pt-wd-secure, .pt-wd-done { grid-area: 1 / 1; justify-self: end; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; letter-spacing: .06em; transition: opacity .35s ease, transform .5s var(--ease-out); }
.pt-wd-secure { color: var(--brand-ink); background: var(--brand-50); }
.pt-wd-done { color: var(--bull); background: var(--bull-bg); opacity: 0; transform: translateY(6px); }
.pt-wd-secure .ico, .pt-wd-done .ico { width: 13px; height: 13px; stroke-width: 2; }
.pt-reg--withdraw.is-done .pt-wd-secure { opacity: 0; transform: translateY(-6px); }
.pt-reg--withdraw.is-done .pt-wd-done { opacity: 1; transform: none; }
.pt-wd-prog { position: relative; height: 6px; margin-top: 12px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pt-wd-prog i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--bull-vivid)); transform-origin: 0 50%; transform: scaleX(var(--wp, .62)); transition: transform 1.6s var(--ease-io); }
.pt-reg--withdraw.is-active .pt-wd-prog i { --wp: 1; }
.pt-link-row { display: flex; gap: 8px; margin-top: 10px; }
.pt-link-field { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; color: var(--muted); overflow: hidden; transition: box-shadow .35s ease; }
.pt-link-field .ico { width: 15px; height: 15px; color: var(--brand); flex: none; }
.pt-link-mask { overflow: hidden; text-overflow: clip; white-space: nowrap; letter-spacing: .08em; }
.pt-link-copy { display: inline-grid; place-items: center; height: 36px; padding: 0 14px; border-radius: 10px; color: #fff; background: var(--btn-bg); font-size: 12.5px; font-weight: 650; }
.pt-link-c, .pt-link-d { grid-area: 1 / 1; transition: opacity .3s ease, transform .4s var(--ease-out); }
.pt-link-d { opacity: 0; transform: translateY(6px); }
.pt-reg--links.is-copied .pt-link-c { opacity: 0; transform: translateY(-6px); }
.pt-reg--links.is-copied .pt-link-d { opacity: 1; transform: none; }
.pt-reg--links.is-copied .pt-link-field { box-shadow: inset 0 0 0 1px var(--brand), 0 0 0 3px var(--brand-50); }
.pt-link-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
/*rtl:end:ignore*/

/* ================================================================================== 5. SUPPORT — the desk */
.pt-sup-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); grid-template-areas: "vis copy"; gap: clamp(36px, 5vw, 88px); align-items: center; }
.pt-sup-vis { grid-area: vis; min-width: 0; }
.pt-sup-copy { grid-area: copy; min-width: 0; }
.pt-support .chapter-head { margin-bottom: 0; }
.pt-sup-list { list-style: none; padding: 0; margin: clamp(28px, 3vw, 40px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pt-sup-i { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .35s ease, box-shadow .5s var(--ease-out), transform .5s var(--ease-out); cursor: default; }
.pt-sup-i:hover, .pt-sup-i.is-active { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pt-sup-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, background .35s; }
.pt-sup-i.is-active .pt-sup-ico, .pt-sup-i:hover .pt-sup-ico { color: #fff; background: var(--btn-bg); }
.pt-sup-ico .ico { width: 20px; height: 20px; }
.pt-sup-t { font-size: 16px; font-weight: 650; line-height: 1.35; letter-spacing: -0.008em; color: var(--ink); }

/*rtl:begin:ignore*/
.pt-desk {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "mgr mgr" "chat chat" "web map";
  gap: 12px; padding: 18px;
  border-radius: var(--r-xl); border: 1px solid var(--line);
  background: radial-gradient(60% 50% at 30% 40%, 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);
}
:root[data-theme="dark"] .pt-desk { background: radial-gradient(60% 50% at 30% 40%, rgba(153, 117, 176, .14), transparent 72%), linear-gradient(180deg, #2D0C3C 0%, #230A2E 100%); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .05); }
.pt-desk-paper { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000 20%, transparent 85%); mask-image: radial-gradient(70% 60% at 50% 45%, #000 20%, transparent 85%); }
.pt-desk > [data-part] { position: relative; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .5s var(--ease-out), border-color .4s ease, opacity .4s ease, transform .5s var(--ease-out); }
:root[data-theme="dark"] .pt-desk > [data-part] { background: var(--surface-2); }
.pt-desk.has-active > [data-part]:not(.is-active) { opacity: .6; }
.pt-desk > [data-part].is-active { border-color: color-mix(in srgb, var(--brand) 42%, transparent); box-shadow: 0 0 0 4px var(--brand-50), var(--shadow-md); transform: translateY(-2px); }
.pt-desk-mgr { grid-area: mgr; display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.pt-desk-av { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: none; 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); }
.pt-desk-av .ico { width: 22px; height: 22px; }
.pt-desk-av > i { position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: var(--bull-vivid); box-shadow: 0 0 0 2.5px var(--surface); }
.pt-desk-mgr-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pt-desk-mgr-t b { font-size: 15px; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; }
.pt-desk-mgr-t em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 12.5px; color: var(--muted); }
.pt-desk-mgr-t em > i { width: 6px; height: 6px; border-radius: 50%; background: var(--bull-vivid); }
.pt-support.is-live .pt-desk-mgr-t em > i { animation: pt-blink 1.6s ease-in-out infinite; }
.pt-desk-chat { grid-area: chat; display: flex; flex-direction: column; gap: 9px; padding: 16px; min-height: 212px; }
.pt-chat-msg { display: flex; align-items: flex-end; gap: 8px; max-width: 78%; }
.pt-chat-msg.is-out { align-self: flex-end; flex-direction: row-reverse; }
.pt-chat-b { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border-radius: 16px 16px 16px 5px; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.pt-chat-msg.is-out .pt-chat-b { border-radius: 16px 16px 5px 16px; color: #fff; background: var(--btn-bg); box-shadow: 0 8px 18px -10px var(--brand-glow); }
.pt-chat-l { font-size: 9.5px; font-weight: 600; letter-spacing: .1em; color: var(--faint); padding-bottom: 4px; }
html.js .pt-chat-msg { opacity: 0; transform: translate3d(0, 10px, 0) scale(.96); transition: opacity .4s ease, transform .6s var(--ease-spring); }
html.js .pt-chat-msg.is-shown { opacity: 1; transform: none; }
.pt-chat-typing { display: inline-flex; gap: 4px; align-self: flex-start; padding: 10px 12px; border-radius: 14px; background: var(--bg-2); opacity: 0; transition: opacity .3s ease; }
.pt-chat-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: pt-type 1.1s ease-in-out infinite; }
.pt-chat-typing i:nth-child(2) { animation-delay: .15s; }
.pt-chat-typing i:nth-child(3) { animation-delay: .3s; }
.pt-desk-chat.is-typing .pt-chat-typing { opacity: 1; }
@keyframes pt-type { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-3px); opacity: 1; } }
.pt-desk-web { grid-area: web; display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; gap: 10px 12px; align-items: center; padding: 14px; }
.pt-web-thumb { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; background: var(--grad-ink); }
.pt-web-thumb .ico { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.pt-web-t { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.pt-web-t b { font-size: 14px; font-weight: 650; color: var(--ink); }
.pt-web-live { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 5px; font-family: var(--font-mono); font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bear); background: var(--bear-bg); }
.pt-web-live i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pt-support.is-live .pt-web-live i { animation: pt-blink 1.2s ease-in-out infinite; }
.pt-web-prog { position: relative; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pt-web-prog i { position: absolute; inset: 0; background: var(--brand); transform-origin: 0 50%; transform: scaleX(.42); }
.pt-support.is-live .pt-web-prog i { animation: pt-web 14s linear infinite; }
@keyframes pt-web { from { transform: scaleX(.12); } to { transform: scaleX(1); } }
.pt-desk-map { grid-area: map; padding: 12px 14px; }
.pt-map-h { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pt-map-svg { display: block; width: 100%; height: auto; }
.pt-map-svg > circle { fill: var(--line-strong); }
.pt-pin { fill: var(--brand); stroke: var(--surface); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.pt-support.is-live .pt-pin { animation: pt-pin 2.8s var(--ease-out) infinite; animation-delay: calc(var(--p) * .7s); }
@keyframes pt-pin { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.7); } 40% { transform: scale(1); } }
/*rtl:end:ignore*/

/* ================================================================================== 6. RESPONSIVE */
@media (max-width: 1099px) {
  /*rtl:ignore*/.pt-net-card { left: -14px; }
  /*rtl:ignore*/[dir="rtl"] .pt-net-card { left: auto; right: -14px; }
  .pt-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-why-i, .pt-why-i--rebates { grid-column: span 1; }
  .pt-why-i--rebates { grid-column: 1 / -1; }
  .pt-models-layout, .pt-tools-layout { grid-template-columns: minmax(0, 1fr); }
  .pt-flow { order: -1; max-width: 680px; width: 100%; justify-self: center; }
  .pt-tools-vis { max-width: 680px; width: 100%; justify-self: center; }
  .pt-sup-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "vis"; }
  .pt-sup-vis { max-width: 640px; width: 100%; justify-self: center; }
}
@media (max-width: 700px) {
  /*rtl:ignore*/.pt-net-card { position: relative; left: auto; right: auto; bottom: auto; margin: -30px 12px 0 auto; width: min(236px, 74%); }
  /*rtl:ignore*/.pt-net-legend { right: auto; left: 14px; bottom: 12px; }
  .pt-net-legend em { display: none; }
  .pt-net-hud { left: 14px; right: 14px; top: 14px; }
  .pt-why-grid { grid-template-columns: minmax(0, 1fr); }
  .pt-why-i--rebates { grid-column: auto; }
  .pt-why-card { min-height: 0; }
  .pt-model { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "ico h" "x x"; padding: 16px; row-gap: 10px; }
  .pt-model-n { display: none; }
  .pt-model-ico { width: 40px; height: 40px; align-self: center; }
  .pt-model-x { font-size: 14.5px; }
  .pt-flow-hud { left: 14px; right: 14px; top: 14px; }
  .pt-flow-name > span { font-size: 11.5px; }
  .pt-fl { font-size: 9px; letter-spacing: .06em; }
  .pt-fl-col { font-size: 8.5px; }
  .pt-fl-badge { height: 18px; padding: 0 5px; }
  .pt-fl-you { height: 20px; padding: 0 8px; }
  .pt-fl-paid { height: 22px; }
  .pt-portal { padding: 10px; }
  .pt-portal-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "b" "c" "d"; }
  .pt-portal-tf { display: none; }
  .pt-chart { height: 110px; }
  .pt-sup-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pt-sup-i { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
  .pt-desk { padding: 12px; gap: 10px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "mgr" "chat" "web" "map"; }
  .pt-desk-chat { min-height: 196px; }
}
@media (max-width: 420px) {
  .pt-net-hud { font-size: 10px; letter-spacing: .1em; }
  .pt-net-tiers { display: none; }
  .pt-flow-tag { display: none; }
  .pt-flow-names { justify-items: start; }
}

/* ================================================================================== 7. PAUSE + REDUCED MOTION */
.ac-paused .pt-net-dot::after, .ac-paused .pt-net-live i { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .pt-net-dot::after, .pt-net-live i, .pt-portal-live i, .pt-chat-typing i { animation: none !important; }
  .pt-why *, .pt-flow *, .pt-portal *, .pt-desk * { animation: none !important; }
  html.js .pt-why-i .pt-vr-bar i, html.js .pt-why-i .pt-vp-bar i { transform: none; }
  .pt-vp-bar i { transform: scaleX(var(--v)) !important; }
  html.js .pt-why-i .pt-vt-links path { stroke-dashoffset: 0 !important; }
  html.js .pt-why-i .pt-vr-line, html.js .pt-why-i .pt-vp-chart { clip-path: none !important; }
  html.js .pt-why-i .pt-vt-n1, html.js .pt-why-i .pt-vt-n2, html.js .pt-why-i .pt-vr-coin { opacity: 1 !important; transform: none !important; }
  html.js .pt-chat-msg { opacity: 1; transform: none; }
}

/* ================================================================================== 8. RU (localiser) */
/* Russian mono labels ("УРОВЕНЬ 1", "АКТИВНОСТЬ") are wider than the EN label columns: no wrap, wider column. */
html[lang^="ru"] .pt-net-row { grid-template-columns: 70px minmax(0, 1fr); white-space: nowrap; }
html[lang^="ru"] .pt-vp-rows > div { grid-template-columns: 76px minmax(0, 1fr); white-space: nowrap; }
html[lang^="ru"] .pt-perf-row, html[lang^="ru"] .pt-perf-clients { grid-template-columns: 66px minmax(0, 1fr); white-space: nowrap; }
html[lang^="ru"] .pt-perf-dots { flex-wrap: nowrap; gap: 4px; }
/* Russian display lines in the narrow split columns (desktop): at the EN sizes the H1 left «ATROPI» alone on its line
   (4 lines) and the tools H2 took 4 lines. Slightly smaller sizes give balanced 3-line headings. */
@media (min-width: 1100px) {
  html[lang^="ru"] .pt-hero .ac-hero-title.is-long { font-size: clamp(36px, 3.3vw, 48px); }
  html[lang^="ru"] #tools .chapter-head .h2 { font-size: clamp(34px, 3.6vw, 52px); }
}
/* phones: «Зарабатывайте больше,» (the longest unbreakable line) fits the column, so the H1 is 4 lines, not 5 */
@media (max-width: 640px) {
  html[lang^="ru"] .pt-hero .ac-hero-title.is-long { font-size: clamp(28px, calc((100vw - 32px) / 11.6), 36px); }
}

/* ================================================================================== 9. RTL (fa · ar) */
/* Mono word gaps in fa/ar are handled by base.css ("Atropi Mono Space": Vazirmatn's space in the mono stack), so the
   former word-spacing tightening is gone (it collapsed the spaces: "شبکهIB").
   Label → value pairs inside the LTR islands (legend, "You · IB" chip, manager status) read start → end in fa/ar.
   Gradient words: background-clip:text paints only inside the split word box — extend it so the dots of ي / ب show.
   Whole block is rtl:ignore (this sheet is served through its -rtl twin in fa/ar; `direction` must not flip). */
/*rtl:begin:ignore*/
html[dir="rtl"] .pt-hero .ac-hero-proof b { letter-spacing: 0; }
html[dir="rtl"] .pt-net-legend span,
html[dir="rtl"] .pt-net-you,
html[dir="rtl"] .pt-desk-mgr-t em,
html[dir="rtl"] .pt-desk-mgr-t em > .mono { direction: rtl; } /* the "· 24/5" mono run joins the RTL flow (separator between) */
html[dir="rtl"] .pt-net-legend { justify-items: end; } /* RTL rows: the tier dots line up on the end edge */
html[dir="rtl"] .atropi-page-partnership .text-grad .wi { padding-bottom: .26em; margin-bottom: -.26em; }
html[dir="rtl"] .pt-hero .ac-hero-proof b { align-self: start; } /* phones (2-col grid): the LTR value box hugs the start edge, above its label */
/*rtl:end:ignore*/
