/* Affiliate Partner Program page (body.pg-aff), on Proposal 3 (D Spectrum). The live page's interactions are kept and
   restyled: the commission network, the ribbons, the word-lit line, the tier table, the relaunch timeline, the reward
   share strip, the steps line, the code universe and the earnings calculator. Every selector is page-scoped (af-*). */
body.pg-aff { --ex: cubic-bezier(.16,1,.3,1); }
.pg-aff .af-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pg-aff .subline + .lead { margin-top: 14px; }
.af-fine { font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ---------- shared controls: segmented switch, range slider ---------- */
.af-seg { --k: 0; --n: 4; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); padding: 4px; border-radius: 999px;
  background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.14); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.af-seg2 { --n: 2; }
.af-seg > i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n)); border-radius: 999px; pointer-events: none;
  background: linear-gradient(90deg, #12b4f2, #0a7fd0); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 20px rgba(0,168,232,.5);
  transform: translateX(calc(var(--k) * 100%)); transition: transform .5s var(--ease); }
.af-seg button { position: relative; z-index: 1; padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.66); white-space: nowrap; transition: color .3s; }
.af-seg button:hover { color: #fff; }
.af-seg button[aria-checked="true"] { color: #fff; }

.af-range { --v: 0%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 24px; background: transparent; cursor: pointer; }
.af-range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--lcyan), var(--cyan) var(--v), rgba(255,255,255,.18) var(--v)); }
.af-range::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--lcyan), var(--cyan) var(--v), rgba(255,255,255,.18) var(--v)); }
.af-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(0,168,232,.35), 0 4px 14px rgba(1,6,26,.5); transition: box-shadow .3s; }
.af-range::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(0,168,232,.35), 0 4px 14px rgba(1,6,26,.5); }
.af-range:hover::-webkit-slider-thumb, .af-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 8px rgba(0,168,232,.3), 0 4px 14px rgba(1,6,26,.5); }
.af-range:focus-visible { outline: none; }
.af-range:disabled { cursor: not-allowed; opacity: .45; }

/* ---------- hero: the commission network ---------- */
.af-hero .hero-copy .subline { margin-top: 16px; }
.af-net { position: relative; display: flex; flex-direction: column; align-items: center; }
.af-net-stage { --tx: 0deg; --ty: 0deg; position: relative; width: min(100%, 520px); aspect-ratio: 1; transform: perspective(1000px) rotateX(var(--ty)) rotateY(var(--tx)); transition: transform .9s var(--ex); }
/* the glass disc the network lives on */
.af-net-stage::before { content: ""; position: absolute; inset: 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,168,232,.32), rgba(0,168,232,.08) 62%, rgba(255,255,255,.04));
  -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.26), 0 40px 80px -40px rgba(0,60,160,.9); }
.af-net-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.af-net-core { --cx: 0px; --cy: 0px; position: absolute; left: 50%; top: 50%; text-align: center; transform: translate(-50%, -50%) translate(var(--cx), var(--cy)); transition: transform .9s var(--ex); }
.af-net-core b { display: block; font-size: clamp(60px, 7vw, 104px); font-weight: 500; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 40%, var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 28px rgba(0,120,220,.55)); }
.af-net-core span { display: block; margin-top: 6px; font-size: clamp(14px, 1.1vw, 16px); font-weight: 500; color: var(--ice); }
.af-net .af-seg { width: min(100%, 420px); margin-top: 8px; }
.af-net-req { min-height: 1.6em; margin-top: 14px; font-size: 14.5px; color: var(--text); text-align: center; transition: opacity .3s, filter .3s; }
.af-net-req.is-swap { opacity: 0; filter: blur(4px); }

/* ---------- bands: two tilted glass ribbons ---------- */
.af-bands { position: relative; height: clamp(190px, 21vw, 300px); margin: clamp(-30px, -1.6vw, -10px) 0 clamp(-40px, -2.4vw, -16px); overflow: hidden; pointer-events: none; }
.af-band { position: absolute; left: -10%; width: 120%; top: 50%; overflow: hidden; }
.af-band-a { z-index: 2; transform: translateY(-88%) rotate(-3deg); padding: clamp(14px, 1.5vw, 22px) 0;
  background: linear-gradient(90deg, rgba(24,196,255,.72), rgba(0,124,204,.74)); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(255,255,255,.18), 0 30px 60px -24px rgba(0,50,150,.9); }
.af-band-b { transform: translateY(-4%) rotate(2.5deg); padding: clamp(12px, 1.3vw, 18px) 0;
  background: linear-gradient(90deg, rgba(8,22,70,.55), rgba(14,40,120,.45)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(255,255,255,.1); }
.af-band-in { will-change: transform; }
.af-track { display: flex; align-items: center; width: max-content; animation: marq 38s linear infinite; }
.af-band-b .af-track { animation-duration: 46s; animation-direction: reverse; }
.af-track span { padding: 0 clamp(18px, 2.4vw, 36px); font-size: clamp(24px, 3.1vw, 46px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.af-band-a .af-track span { color: #fff; text-shadow: 0 2px 18px rgba(0,40,120,.45); }
.af-band-b .af-track span { color: transparent; -webkit-text-stroke: 1px rgba(214,242,255,.6); }
.af-track i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--lgreen); box-shadow: 0 0 14px var(--green); }
.af-band-b .af-track i { background: rgba(214,242,255,.55); box-shadow: none; }

/* ---------- more than a referral link ---------- */
.af-part-top { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); column-gap: clamp(28px, 4.4vw, 64px); align-items: center; }
.af-part-copy .lead { margin-top: 16px; }
.d .pan .af-rows { padding: 4px clamp(18px, 2.2vw, 30px); }
.af-rows li { --d: 0; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 19px 0; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; color: var(--text); }
.af-rows li + li { background: linear-gradient(90deg, rgba(255,255,255,.22), rgba(255,255,255,.05)) top / 100% 1px no-repeat; }
.af-rows li b { color: #fff; }
.af-rows li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.af-rows li:hover::after { transform: scaleX(1); }
.af-g { flex: none; width: 120px; height: 48px; overflow: visible; fill: none; stroke: rgba(230,246,255,.8); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: translateX(-12px); transition: opacity .7s var(--ex), transform .9s var(--ex); transition-delay: calc(var(--d) * .08s); }
.af-rows li.on .af-g { opacity: 1; transform: none; }
.af-g text { fill: rgba(255,255,255,.66); stroke: none; font: 500 8px Poppins, sans-serif; text-anchor: middle; }
.af-g .af-g-th { fill: #fff; font-weight: 600; }
.af-g .af-g-code { font-size: 9px; font-weight: 600; letter-spacing: .14em; fill: #fff; }
.af-g rect { fill: rgba(255,255,255,.1); stroke: rgba(255,255,255,.6); }
.af-g-base { stroke: rgba(255,255,255,.3); }
.af-g-hi { stroke: #fff; stroke-width: 2; }
.af-g-faint { stroke: rgba(255,255,255,.2); }
.af-g-ring { stroke: rgba(255,255,255,.65); }
.af-g-dot { fill: var(--ice); stroke: none; }
.af-g-up { fill: var(--lgreen); stroke: none; filter: drop-shadow(0 0 4px rgba(120,215,36,.9)); }
.af-lit { max-width: 1040px; margin-top: clamp(40px, 4.6vw, 64px); font-size: clamp(22px, 2.5vw, 36px); font-weight: 500; letter-spacing: -.02em; line-height: 1.32; color: #fff; }
.af-w { opacity: .18; transition: opacity .25s linear; }

/* ---------- four tiers ---------- */
.af-tiers { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .98fr); gap: 20px; align-items: start; }
.af-tt { display: grid; gap: 10px; padding: clamp(16px, 1.8vw, 24px); }
.af-tt-hd, .af-tt-r { display: grid; grid-template-columns: minmax(70px, .62fr) minmax(0, 1.5fr) minmax(130px, 1fr); align-items: center; column-gap: 18px; }
.af-tt-hd { padding: 4px 20px 4px; font-size: 13px; color: var(--muted); }
.af-tt-hd span:last-child { text-align: right; }
.af-tt-r { position: relative; isolation: isolate; overflow: hidden; min-height: 82px; padding: 16px 20px; border-radius: 16px; cursor: default;
  background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .3s, box-shadow .3s, opacity .3s; }
.af-tt-r::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: -1; width: calc(var(--v) / 15 * 100%);
  background: linear-gradient(90deg, rgba(0,168,232,0), rgba(0,168,232,.42)); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ex) calc(var(--i) * .12s); }
.af-tt.on .af-tt-r::before { transform: scaleX(1); }
.af-tt-r:focus-visible { outline-offset: 2px; border-radius: 16px; }
.af-tt-top { box-shadow: inset 0 0 0 1px rgba(142,209,252,.42), 0 0 44px -12px rgba(0,168,232,.85); }
.af-tt-top::before { background: linear-gradient(90deg, rgba(0,168,232,0), rgba(24,196,255,.6)); }
.af-tt-t { font-size: 17px; font-weight: 500; }
.af-tt-q { font-size: 14.5px; line-height: 1.5; color: var(--text); }
.af-tt-c { text-align: right; }
.af-tt-n { display: inline-block; font-size: clamp(30px, 2.8vw, 42px); font-weight: 500; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 40%, var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.af-tt-c small { display: block; margin-top: 5px; font-size: 12.5px; color: var(--ice); }
.af-tiers.is-pick .af-tt-r:not(.is-hot) { opacity: .6; }
.af-tt-r.is-hot { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(142,209,252,.6), 0 0 34px -10px rgba(0,168,232,.9); }
.af-un { padding: clamp(22px, 2.4vw, 30px); }
.af-un-l { display: grid; gap: 4px; margin-top: 14px; }
.af-un-l li { position: relative; padding: 8px 0 8px 24px; font-size: 15px; line-height: 1.6; color: var(--text); border-radius: 8px; transition: opacity .3s, color .3s; }
.af-un-l li b { color: #fff; }
.af-un-l li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); transition: background .3s, box-shadow .3s; }
.af-tiers.is-pick .af-un-l li:not(.is-hot) { opacity: .45; }
.af-un-l li.is-hot { color: #fff; }
.af-un-l li.is-hot::before { background: var(--cyan); box-shadow: 0 0 0 4px rgba(0,168,232,.25), 0 0 14px var(--cyan); }
.af-un-l li:focus-visible { outline-offset: 2px; }
.af-un .af-fine { margin-top: 12px; }
.af-un .af-fine:first-of-type { margin-top: 20px; padding-top: 18px; background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,0)) top / 100% 1px no-repeat; }

/* ---------- exclusive relaunch offer ---------- */
.af-rl-pan { overflow: hidden; }
.af-rl-top { position: relative; }
.af-rl-top > .art { top: calc(clamp(36px, 4.6vw, 60px) * -1); right: calc(var(--px) * -1); left: auto; width: 62%; height: calc(100% + clamp(36px, 4.6vw, 60px) + 40px); border-radius: 0;
  --ap: 60% 60%; --ao: .9; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 46%), linear-gradient(180deg, #000 70%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 46%), linear-gradient(180deg, #000 70%, transparent); mask-composite: intersect; }
.af-rl-copy { max-width: 560px; }
.af-ticks { display: grid; gap: 10px; margin-top: 16px; }
.af-ticks li { position: relative; padding-left: 32px; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.6; color: var(--text); }
.af-ticks li b { color: #fff; }
.af-ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 21px; height: 21px; border-radius: 50%; background: rgba(166,236,99,.22) no-repeat center / 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.2 4.7-5' fill='none' stroke='%23d8ffb4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1px rgba(166,236,99,.6); }
.d .pan .af-rl { margin-top: clamp(30px, 3.6vw, 48px); padding: clamp(20px, 2.4vw, 32px) clamp(20px, 2.6vw, 36px); }
.af-rl { --day: .1676; }
.af-rl-axis { position: relative; height: 20px; margin-bottom: 12px; font-size: 13px; font-weight: 500; color: var(--ice); }
.af-rl-axis span { position: absolute; top: 0; left: calc(var(--x) * 100%); transform: translateX(calc(var(--x) * -100%)); white-space: nowrap; }
.af-rl-axis span:nth-child(2) { transform: translateX(-50%); }
.af-rl-track { position: relative; display: grid; gap: 10px; }
.af-rl-band { position: relative; isolation: isolate; width: calc(var(--w) * 100%); height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 18px; white-space: nowrap; transition: opacity .4s; }
.af-rl-band i { position: absolute; inset: 0; z-index: -1; border-radius: 14px; transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ex); }
.af-rl.on .af-rl-band i { transform: scaleX(1); }
.af-rl-a i { background: linear-gradient(90deg, rgba(120,215,36,.6), rgba(120,215,36,.24)); box-shadow: inset 0 0 0 1px rgba(166,236,99,.55), 0 0 30px -10px rgba(120,215,36,.8); }
.af-rl-b i { transition-delay: .2s; background: linear-gradient(90deg, rgba(24,196,255,.55), rgba(24,196,255,.14)); box-shadow: inset 0 0 0 1px rgba(142,209,252,.45); }
.af-rl-band b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.af-rl-band em { font-size: 14px; color: rgba(255,255,255,.88); }
.af-rl-band.is-off { opacity: .35; }
.af-rl-head { position: absolute; top: -10px; bottom: -22px; left: calc(var(--day) * 100%); width: 0; border-left: 1px solid rgba(255,255,255,.85); pointer-events: none; box-shadow: 0 0 10px rgba(255,255,255,.6); }
.af-rl-head span { position: absolute; top: -4px; left: -4.5px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.af-rl-in { display: block; margin: 10px -10px 0; }
.af-rl-say { margin-top: 10px; font-size: 15px; color: var(--text); }
.af-rl-say b { color: #fff; }

/* ---------- additional reward share ---------- */
.af-rs { padding: clamp(22px, 3vw, 40px); }
.af-rs-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(110px, .55fr) minmax(0, 1fr); align-items: center; gap: clamp(16px, 2vw, 30px); }
.af-rs-lab { display: block; font-size: 14px; font-weight: 500; color: var(--ice); }
.af-rs-n { display: block; width: max-content; max-width: 100%; margin: 6px 0 16px; font-size: clamp(46px, 5vw, 72px); font-weight: 500; letter-spacing: -.045em; line-height: 1.05; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 40%, var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.af-rs-out { background-image: linear-gradient(180deg, #fff 22%, var(--lgreen)); filter: drop-shadow(0 0 26px rgba(120,215,36,.4)); }
.af-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.af-picks button { padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.8); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: background .3s, box-shadow .3s, color .3s; }
.af-picks button:hover { background: rgba(255,255,255,.14); color: #fff; }
.af-picks button[aria-checked="true"] { color: #fff; background: linear-gradient(90deg, #12b4f2, #0a7fd0); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 6px 18px rgba(0,168,232,.45); }
.af-rs-link { position: relative; height: 60px; display: grid; place-items: center; }
.af-rs-link svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.af-rs-ln { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1.5; }
.af-rs-fl { fill: none; stroke: var(--lgreen); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .14 .86; animation: af-flow 1.8s linear infinite; filter: drop-shadow(0 0 6px rgba(120,215,36,.9)); }
@keyframes af-flow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.af-rs-pct { position: relative; padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap; background: rgba(6,20,60,.7); box-shadow: inset 0 0 0 1px rgba(142,209,252,.55), 0 0 26px rgba(0,168,232,.5); }
.af-rs-sum { display: block; font-size: 14px; color: var(--text); }
.af-rs-sum i { margin: 0 4px; font-style: normal; color: var(--muted); }
.af-rs-sum em { font-weight: 600; color: var(--lgreen); }
.af-rs-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(26px, 3vw, 38px); padding-top: clamp(20px, 2.4vw, 28px); background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.2), rgba(255,255,255,.04)) top / 100% 1px no-repeat; }
.af-rs-rules dt { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ice); }
.af-rs-rules dt::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: no-repeat center / 10px; }
.af-rs-rules .is-yes dt::before { background-color: rgba(166,236,99,.22); box-shadow: inset 0 0 0 1px rgba(166,236,99,.6);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.2 4.7-5' fill='none' stroke='%23d8ffb4' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.af-rs-rules .is-no dt::before { background-color: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6h6' stroke='%23fff' stroke-opacity='.7' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.af-rs-rules dd { margin-top: 8px; font-size: 15px; line-height: 1.55; color: #fff; }
.af-rs-rules .is-no dd { color: var(--muted); }
.af-rs-foot { margin-top: 16px; padding: clamp(20px, 2.4vw, 30px) clamp(22px, 3vw, 40px); }
.af-rs-cap { font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; line-height: 1.5; }
.af-rs-foot .af-fine { margin-top: 8px; }

/* ---------- apply. share. earn. ---------- */
.af-ap-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(28px, 5vw, 72px); align-items: start; }
.af-ap-copy { position: sticky; top: 120px; }
.af-ap-copy .ctas { margin-top: 26px; }
.af-how { --p: 0; position: relative; display: grid; gap: clamp(22px, 2.6vw, 34px); padding-left: 46px; list-style: none; }
.af-how::before, .af-how::after { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; }
.af-how::before { background: rgba(255,255,255,.18); }
.af-how::after { background: linear-gradient(180deg, #fff, var(--ice)); box-shadow: 0 0 12px rgba(255,255,255,.7); transform: scaleY(var(--p)); transform-origin: top; }
.af-how li { position: relative; }
.af-how li::before { content: ""; position: absolute; left: -46px; top: 2px; width: 24px; height: 24px; border-radius: 50%; z-index: 1;
  background: rgba(4,40,110,.9); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); transition: background .4s, box-shadow .4s; }
.af-how li.on::before { background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 0 20px rgba(255,255,255,.85); }
.af-how h3 { color: rgba(255,255,255,.5); transition: color .4s; }
.af-how li.on h3 { color: #fff; }
.af-how p { margin-top: 6px; font-size: 15.5px; line-height: 1.65; color: var(--text); }

/* the code universe: the code in the middle, the six places it is shared around it */
.af-uni { position: relative; height: clamp(640px, 53vw, 760px); margin-top: clamp(44px, 5vw, 70px); font-size: clamp(9px, .8vw, 11.5px); }
.af-uni-sky { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.af-uni-orbit { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1; stroke-dasharray: 2 7; }
.af-uni-ln { fill: none; stroke: rgba(255,255,255,.24); stroke-width: 1; }
.af-uni-fl { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .06 .94; animation: af-flow 3.4s linear infinite; filter: drop-shadow(0 0 5px rgba(255,255,255,.95)); }
.af-uni.is-typing .af-uni-fl { animation-duration: 1.1s; }
.af-uni-core { position: absolute; left: 50%; top: 50%; z-index: 2; width: clamp(170px, 14.5vw, 204px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 16px;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.3), rgba(10,70,170,.6) 72%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.38), inset 0 1px 0 rgba(255,255,255,.65), 0 0 70px rgba(0,168,232,.65), 0 30px 60px -20px rgba(1,6,26,.8); }
.af-uni-ring { position: absolute; inset: -16px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.4); animation: orbit 50s linear infinite; pointer-events: none; }
.af-uni-ring2 { inset: -34px; border: 1px solid rgba(255,255,255,.16); animation-duration: 90s; animation-direction: reverse; }
.af-uni-lab { font-size: 13.5px; font-weight: 500; color: var(--ice); }
.af-uni-in { width: 84%; padding: 11px 8px; border: 0; border-radius: 12px; outline: none; text-align: center; font: 600 17px Poppins, sans-serif; letter-spacing: .1em; color: #fff;
  background: rgba(2,14,48,.5); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); transition: box-shadow .3s; }
.af-uni-in::placeholder { color: rgba(255,255,255,.8); }
.af-uni-in:focus { box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 5px rgba(255,255,255,.16); }
.af-m { --px: 0px; --py: 0px; position: absolute; left: var(--l); top: var(--t); z-index: 1; width: var(--mw); margin: 0; transform: translate(-50%, -50%) translate(var(--px), var(--py)); transition: transform 1s var(--ex); }
.af-m-yt { --l: 15%; --t: 25%; --mw: 22em; }
.af-m-mail { --l: 50%; --t: 12%; --mw: 17em; }
.af-m-live { --l: 85%; --t: 25%; --mw: 22em; }
.af-m-post { --l: 17%; --t: 75%; --mw: 16em; }
.af-m-chat { --l: 50%; --t: 88%; --mw: 18em; }
.af-m-web { --l: 83%; --t: 75%; --mw: 21em; }
.af-mf { position: relative; overflow: hidden; border-radius: 1.2em; rotate: var(--r, 0deg); animation: af-float var(--ft, 6s) ease-in-out infinite alternate;
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.07)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.26), inset 0 1px 0 rgba(255,255,255,.45), 0 2em 3em -1.6em rgba(1,6,26,.85); }
@keyframes af-float { from { translate: 0 -7px; } to { translate: 0 7px; } }
.af-m figcaption { margin-top: 12px; text-align: center; font-size: 13px; font-weight: 500; color: #fff; }
.af-scr { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0b2a66; }
.af-scr video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.af-logo { width: 6.6em; height: auto; }
.af-wm { position: absolute; left: .8em; top: .7em; width: 5.6em; opacity: .92; }
.af-c { display: inline-block; font-weight: 600; letter-spacing: .06em; color: #fff; }
.af-c.is-bump { animation: af-bump .7s var(--ex) var(--bd, 0s) both; }
@keyframes af-bump { from { opacity: .15; filter: blur(5px); transform: translateY(5px) scale(.96); } }
.af-lt { position: absolute; left: .8em; bottom: 2.5em; padding: .35em .7em; border-radius: .5em; font-size: .95em; color: rgba(255,255,255,.88); background: rgba(2,12,40,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.af-ctl { position: absolute; left: .8em; right: .8em; bottom: .7em; display: flex; align-items: center; gap: .6em; font-size: .82em; color: rgba(255,255,255,.85); }
.af-ctl svg { width: .9em; height: .9em; fill: #fff; }
.af-ctl-bar { flex: 1; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.3); }
.af-ctl-bar i { display: block; width: 22%; height: 100%; background: linear-gradient(90deg, var(--lcyan), #fff); animation: af-prog 14s linear infinite; }
@keyframes af-prog { from { width: 22%; } to { width: 64%; } }
.af-meta { display: flex; align-items: center; gap: .7em; padding: .75em .85em; }
.af-av { flex: none; display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; font-size: .95em; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--lgreen), var(--cyan)); }
.af-av-o { background: linear-gradient(135deg, var(--ice), var(--lcyan)); }
.af-av-o2 { background: linear-gradient(135deg, #fff, rgba(255,255,255,.4)); }
.af-sk { flex: 1; display: grid; gap: .42em; min-width: 0; }
.af-sk i { display: block; width: var(--w); height: .45em; border-radius: 1em; background: rgba(255,255,255,.24); }
.af-win-h { display: flex; align-items: center; gap: .7em; padding: .7em .85em; background: rgba(255,255,255,.05); box-shadow: inset 0 -1px 0 rgba(255,255,255,.12); }
.af-win-b { display: grid; gap: .75em; padding: .85em; }
.af-codebox { display: flex; align-items: center; justify-content: space-between; gap: .6em; padding: .55em .75em; border-radius: .6em; font-size: .95em; background: rgba(2,12,40,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); }
.af-codebox span { color: rgba(255,255,255,.68); }
.af-banner { background: linear-gradient(90deg, rgba(0,168,232,.6), rgba(0,168,232,.18)); }
.af-live { position: absolute; right: .7em; top: .7em; display: flex; align-items: center; gap: .35em; padding: .2em .55em; border-radius: .4em; font-size: .8em; font-weight: 600; background: #e5484d; }
.af-live i { width: .45em; height: .45em; border-radius: 50%; background: #fff; animation: af-blink 1.4s ease-in-out infinite; }
@keyframes af-blink { 50% { opacity: .2; } }
.af-chat { position: absolute; right: .7em; bottom: .7em; display: grid; gap: .35em; width: 48%; }
.af-chat span { display: block; padding: .38em .5em; border-radius: .45em; background: rgba(2,12,40,.62); }
.af-chat span i { display: block; width: var(--w); height: .4em; border-radius: 1em; background: rgba(255,255,255,.32); }
.af-chat .af-pin { font-size: .85em; background: rgba(0,168,232,.8); }
.af-post-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.af-post-img > img { width: 100%; height: 100%; object-fit: cover; }
.af-post-mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7em; background: rgba(2,12,40,.32); }
.af-pill { padding: .35em .95em; border-radius: 2em; background: rgba(2,12,40,.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.af-post-a { display: flex; gap: .85em; padding: .7em .85em 0; }
.af-post-a svg { width: 1.25em; height: 1.25em; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.af-post-c { padding: .45em .85em .85em; font-size: .92em; color: rgba(255,255,255,.82); }
.af-hash { font-size: 1.2em; font-weight: 600; color: var(--ice); }
.af-msg { display: flex; align-items: center; gap: .6em; }
.af-msg-me .af-bub { padding: .4em .75em; border-radius: .75em; font-size: .92em; background: rgba(0,168,232,.65); animation: af-pop 3.6s ease-in-out infinite; }
@keyframes af-pop { 50% { box-shadow: 0 0 0 .25em rgba(255,255,255,.12), 0 0 1.4em rgba(0,168,232,.9); } }
.af-win-bar { display: flex; align-items: center; gap: .35em; padding: .55em .7em; background: rgba(255,255,255,.05); box-shadow: inset 0 -1px 0 rgba(255,255,255,.12); }
.af-win-bar i { width: .5em; height: .5em; border-radius: 50%; background: rgba(255,255,255,.38); }
.af-win-bar span { flex: 1; margin-left: .5em; padding: .22em .6em; border-radius: .4em; font-size: .82em; color: rgba(255,255,255,.75); background: rgba(2,12,40,.42); }

/* ---------- run your own numbers ---------- */
.af-ex { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.af-ex button { position: relative; overflow: hidden; padding: 18px 22px 20px; border-radius: var(--r); text-align: left;
  background: linear-gradient(180deg, rgba(140,185,255,.09), rgba(12,26,66,.32)); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset 0 1px 0 rgba(255,255,255,.14); transition: background .35s, box-shadow .35s; }
.af-ex button:hover { background: linear-gradient(180deg, rgba(140,185,255,.16), rgba(12,26,66,.32)); }
.af-ex b { display: block; font-size: 17px; font-weight: 500; color: rgba(255,255,255,.72); transition: color .3s; }
.af-ex span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.af-ex button::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--lcyan), var(--cyan)); box-shadow: 0 0 12px var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.af-ex button[aria-checked="true"] { background: linear-gradient(180deg, rgba(0,168,232,.34), rgba(0,80,170,.22)); box-shadow: inset 0 0 0 1px rgba(142,209,252,.45), inset 0 1px 0 rgba(255,255,255,.3); }
.af-ex button[aria-checked="true"] b { color: #fff; }
.af-ex button[aria-checked="true"] span { color: var(--text); }
.af-ex button[aria-checked="true"]::after { transform: scaleX(1); }
.af-calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.af-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 22px; padding: clamp(20px, 2.4vw, 30px); }
.af-f { display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: opacity .3s; }
.af-f-wide { grid-column: 1 / -1; }
.af-f-l { font-size: 14px; font-weight: 500; line-height: 1.45; color: #fff; }
.af-f-h { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.af-f .af-seg2 { width: min(100%, 330px); }
.af-f-v { display: flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; border-radius: 12px; background: rgba(2,12,40,.42); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transition: box-shadow .3s; }
.af-f-v:focus-within { box-shadow: inset 0 0 0 1.5px var(--lcyan), 0 0 0 4px rgba(0,168,232,.18); }
.af-pre { color: var(--muted); }
.af-num { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: 500 17px Poppins, sans-serif; color: #fff; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.af-num::-webkit-inner-spin-button, .af-num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.af-f.is-off { opacity: .42; }
.af-f[data-f] .af-f-l { min-height: 2.9em; }
.af-out { padding: clamp(22px, 2.6vw, 32px); }
.af-out-l { display: block; font-size: 13.5px; font-weight: 500; color: var(--ice); }
.af-out-n { display: block; width: max-content; margin-top: 4px; font-size: clamp(48px, 5vw, 72px); font-weight: 500; letter-spacing: -.045em; line-height: 1.06; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 40%, #dcffbe); -webkit-background-clip: text; background-clip: text; color: transparent; }
.af-out-bar { display: flex; height: 8px; margin: 16px 0 6px; overflow: hidden; border-radius: 8px; background: rgba(255,255,255,.1); }
.af-out-bar i { height: 100%; transition: width .6s var(--ease); }
.af-ob-a { background: linear-gradient(90deg, var(--lcyan), var(--cyan)); }
.af-ob-b { background: linear-gradient(90deg, var(--lgreen), var(--green)); }
.af-out-rows > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 14px 0; box-shadow: inset 0 -1px 0 rgba(255,255,255,.1); transition: opacity .3s; }
.af-out-rows dt { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; }
.af-out-rows dd { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.af-out-eq { grid-column: 1 / -1; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.af-out-rows .is-off { opacity: .5; }
.af-k { flex: none; width: 9px; height: 9px; border-radius: 3px; }
.af-k-a { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.af-k-b { background: var(--green); box-shadow: 0 0 8px var(--green); }
.af-pay { padding: 16px 0 12px; box-shadow: inset 0 -1px 0 rgba(255,255,255,.1); }
.af-pay-l { font-size: 14px; font-weight: 500; }
.af-pay-g { width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.af-pay-ln { stroke: rgba(255,255,255,.22); stroke-width: 1; }
.af-pay-tick { stroke: rgba(255,255,255,.38); stroke-width: 1; }
.af-pay-dot { fill: var(--lgreen); filter: drop-shadow(0 0 4px rgba(120,215,36,.9)); transform-box: fill-box; transform-origin: center; }
.af-pay-t { fill: var(--muted); font: 400 11px Poppins, sans-serif; }
.af-cmp { padding: 16px 0; }
.af-cmp-l { display: grid; gap: 9px; margin-top: 10px; }
.af-cmp-l li { display: grid; grid-template-columns: 60px minmax(0, 1fr) 76px; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); transition: color .3s; }
.af-cmp-l i { height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.08); }
.af-cmp-l s { display: block; width: var(--w, 0%); height: 100%; border-radius: 4px; background: rgba(142,209,252,.5); transition: width .6s var(--ease), background .3s; }
.af-cmp-l b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.af-cmp-l li.on { color: #fff; }
.af-cmp-l li.on s { background: linear-gradient(90deg, var(--lcyan), var(--cyan)); box-shadow: 0 0 10px var(--cyan); }
.af-cmp-l li.on b { font-weight: 600; }
.af-out-y { padding-top: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.1); font-size: 15px; color: var(--text); }
.af-out-y b { color: #fff; }
.af-calc-fine { max-width: 820px; margin: 20px auto 0; text-align: center; }

/* ---------- faq ---------- */
.pg-aff #faq .q-a p + p { margin-top: -10px; }

/* ---------- end ---------- */
.af-end > .art { --ap: 50% 70%; --ao: 1; --am: linear-gradient(180deg, transparent 12%, #000 75%); filter: brightness(1.8) contrast(1.1); }
.af-end .subline { margin-top: 10px; text-shadow: 0 2px 20px rgba(2,9,35,.9); }
.af-end .lead { max-width: 640px; }
.af-end .h2 { text-wrap: balance; }
.af-end .h2 em { white-space: nowrap; }
/* a small network: two rings of referrals, lights travelling into the centre */
.af-end-net { position: relative; width: 124px; height: 124px; margin-bottom: 18px; }
.af-end-net i { position: absolute; inset: calc(var(--s) * 1%); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(142,209,252,.3); animation: orbit var(--t) linear infinite; }
.af-end-net i:nth-child(1) { --s: 0; --t: 18s; border: 1px dashed rgba(142,209,252,.3); box-shadow: none; }
.af-end-net i:nth-child(2) { --s: 16; --t: 12s; animation-direction: reverse; }
.af-end-net i:nth-child(3) { --s: 30; --t: 8s; }
.af-end-net i::before { content: ""; position: absolute; top: -3.5px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: var(--lgreen); box-shadow: 0 0 12px var(--green); }
.af-end-net i:nth-child(2)::before { background: var(--ice); box-shadow: 0 0 10px var(--lcyan); }
.af-end-net b { position: absolute; inset: 40%; border-radius: 50%; background: radial-gradient(circle, #fff, var(--cyan) 70%); box-shadow: 0 0 30px 6px rgba(0,168,232,.8); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .af-part-top { grid-template-columns: 1fr; row-gap: 28px; }
  .af-tiers { grid-template-columns: 1fr; }
  .af-ap-top { grid-template-columns: 1fr; row-gap: 34px; }
  .af-ap-copy { position: static; }
  .af-calc-grid { grid-template-columns: 1fr; }
  .af-rl-top > .art { width: 100%; --ao: .5; -webkit-mask-image: linear-gradient(180deg, transparent 20%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent 20%, #000 70%, transparent); }
}
@media (max-width: 900px) {
  .af-net { margin-top: 30px; }
  .af-net-stage { width: min(100%, 440px); }
  .af-uni { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; font-size: clamp(8.5px, 2.3vw, 11px); }
  .af-uni-sky { display: none; }
  .af-uni-core { position: relative; left: auto; top: auto; grid-column: 1 / -1; justify-self: center; width: 200px; margin: 36px 0 40px; transform: none; }
  .af-m { position: relative; left: auto; top: auto; width: auto; transform: none; }
  .af-mf { rotate: 0deg; }
}
@media (max-width: 760px) {
  .af-seg button { padding: 9px 6px; font-size: 13.5px; }
  .af-bands { height: 150px; }
  .af-rows li { gap: 14px; padding: 16px 0; }
  .af-g { width: 84px; height: 34px; }
  .af-tt-hd { display: none; }
  .af-tt-r { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; padding: 14px 16px; }
  .af-tt-t { grid-column: 1; grid-row: 1; }
  .af-tt-q { grid-column: 1; grid-row: 2; font-size: 13.5px; }
  .af-tt-c { grid-column: 2; grid-row: 1 / 3; }
  .af-tt-c small { max-width: 110px; margin-left: auto; }
  .af-rl-band { height: 48px; padding: 0 12px; gap: 7px; }
  .af-rl-band b { font-size: 17px; }
  .af-rl-band em { font-size: 12.5px; }
  .af-rs-flow { grid-template-columns: 1fr; gap: 6px; }
  .af-rs-link { height: 54px; }
  .af-rs-link svg { left: 50%; width: 60px; margin-left: -30px; transform: rotate(90deg); }
  .af-rs-rules { grid-template-columns: 1fr; gap: 18px; }
  .af-how { padding-left: 40px; }
  .af-how li::before { left: -40px; }
  .af-ex { grid-template-columns: 1fr; gap: 8px; }
  .af-ex button { padding: 14px 18px 16px; }
  .af-in { grid-template-columns: 1fr; }
  .af-f[data-f] .af-f-l { min-height: 0; }
  .af-cmp-l li { grid-template-columns: 54px minmax(0, 1fr) 72px; }
  .pg-aff .faq-side { position: static; margin-bottom: 20px; }
  .af-pay-t { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .af-track, .af-mf, .af-uni-ring, .af-uni-fl, .af-rs-fl, .af-ctl-bar i, .af-live i, .af-msg-me .af-bub, .af-end-net i { animation: none; }
  .af-g { opacity: 1; transform: none; transition: none; }
  .af-w { opacity: 1; }
  .af-tt-r::before, .af-rl-band i { transform: none; transition: none; }
  .af-net-stage, .af-net-core, .af-m { transition: none; }
}
