/* Six screens; the approved About 2 geometry and Page turns engine. */
:root{--a-display:48px;--a-ink:#18191e;--a-muted:#5f616a;--a-unread:#bfc0c6;--a-ground:#f5f5f7;--a-band:#fff;--a-line:#d4d5dc;--a-accent:#254fc8;--screen:100svh;--step:1.9;--panel-glow:radial-gradient(ellipse at 50% 115%,rgba(59,95,207,.42) 0%,rgba(37,64,154,.22) 35%,transparent 65%),radial-gradient(circle at 50% 100%,rgba(244,231,201,.10),transparent 38%),linear-gradient(120deg,#141b29,#1c2540 55%,#141b29)}
html{scroll-behavior:auto;scroll-padding-top:0;scrollbar-width:none}html::-webkit-scrollbar{display:none}
body{background:var(--a-ground);isolation:isolate}
html[data-theme=dark]{--a-ink:#fff;--a-muted:#c4ccdd;--a-unread:#8a96ad;--a-ground:#141b29;--a-band:#141b29;--a-line:#46536c;--a-accent:#efc77a}
html[data-theme=dark] body::before{content:'';position:fixed;inset:0;z-index:-1;background:var(--panel-glow);pointer-events:none}
.affiliate-main{margin:0;padding:0;color:var(--a-ink);font:400 16px/1.5 'Instrument Sans',Arial,sans-serif}
.affiliate-main :is(h1,h2,h3,p,ol,ul,figure){margin:0;padding:0;max-width:none;letter-spacing:0;font-weight:400}
.affiliate-main :is(h2,h3){font:400 16px/1.5 'Instrument Sans',Arial,sans-serif;color:inherit}
.affiliate-main :is(h1,.display){font:400 var(--a-display)/1.2 'Young Serif',Georgia,serif;letter-spacing:-.035em;text-wrap:pretty}
.affiliate-main .small,.affiliate-main .design-note,.affiliate-main figcaption{font:400 14px/1.5 'Instrument Sans',Arial,sans-serif}
.affiliate-main :is(input,a,summary){font-family:'Instrument Sans',Arial,sans-serif;font-weight:400;-webkit-tap-highlight-color:transparent}
.affiliate-main a{color:inherit;text-decoration:none}
.affiliate-main :is(a,input,summary):focus-visible{outline:2px solid var(--a-ink);outline-offset:4px}
.affiliate-main .scene{position:relative;min-height:var(--screen);margin:0;padding:0}
.affiliate-main .stage{position:relative;min-height:var(--screen);height:var(--screen);width:100%;display:flex;align-items:center;justify-content:center;overflow:clip;background:var(--a-ground)}
.affiliate-main .scene:nth-child(even) .stage{background:var(--a-band)}
html[data-theme=dark] .affiliate-main .stage{background:transparent}
.motion .affiliate-main .scene{height:calc(var(--screen) * var(--step));min-height:0}
.motion .affiliate-main .stage{position:fixed;inset:0;visibility:hidden;will-change:transform}
.motion .affiliate-main::after{content:'';display:block;height:var(--screen)}
.affiliate-main .content{width:calc(100% - 80px);max-width:1040px;margin-inline:auto;display:flex;flex-direction:column;gap:32px;position:relative;z-index:2}
.affiliate-main .ambient{position:absolute;pointer-events:none;will-change:transform;z-index:0;object-fit:contain}
.affiliate-main .star{width:56px;height:56px;top:17%;left:10%}
.affiliate-main .globe{width:112px;height:112px;bottom:9%;right:8%}
.affiliate-main .hero-layout{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:72px;width:calc(100% - 160px);max-width:1160px;position:relative;padding-top:72px}
.affiliate-main .hero-copy{position:relative;z-index:2}
.affiliate-main .hero-accent{color:var(--a-accent);margin-top:18px}
.affiliate-main .hero-offer{max-width:470px;margin-top:28px}
.affiliate-main .hero-actions{display:flex;gap:24px;align-items:center;margin-top:28px}
.affiliate-main .apply{display:inline-flex;align-items:center;justify-content:center;min-width:160px;min-height:48px;padding:12px 24px;border:0;border-radius:999px;background:#18191e;color:#fff;font:400 16px/1.5 'Instrument Sans',Arial,sans-serif;white-space:nowrap;box-shadow:none;width:fit-content}
.dark .affiliate-main .apply{background:#254fc8;color:#fff}
.affiliate-main .apply:hover{background:#254fc8;color:#fff}
.affiliate-main :is(.login,.terms-link){display:inline-flex;align-items:center;min-height:44px;min-width:44px;font-size:14px;text-decoration:underline;text-underline-offset:4px}
.affiliate-main .hero-picture{position:relative;height:490px;overflow:hidden;border-radius:32px;background:var(--panel-glow)}
.affiliate-main .hero-rocket{width:100%;height:100%;max-width:none;bottom:-6%;right:-6%;object-fit:contain}
.dark .affiliate-main .hero-picture{background:none;overflow:visible;border-radius:0}
.affiliate-main .design-note{position:absolute;bottom:18px;right:24px;color:var(--a-muted);z-index:3;pointer-events:none}
.affiliate-main .calculator-content>h2{text-align:center}
.affiliate-main .calculator{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:48px;align-items:stretch}
.affiliate-main .calc-work{padding:16px 0;min-width:0}
.affiliate-main .calc-top{display:flex;align-items:center;justify-content:space-between;gap:24px}
.affiliate-main .count-input{appearance:textfield;width:84px;height:44px;border:0;border-bottom:1px solid var(--a-line);background:transparent;border-radius:0;text-align:right;padding:0;color:var(--a-ink);font:400 16px/1.5 'Instrument Sans',Arial,sans-serif;font-variant-numeric:tabular-nums}
.affiliate-main .count-input::-webkit-inner-spin-button,.affiliate-main .count-input::-webkit-outer-spin-button{appearance:none;margin:0}
.affiliate-main .range{--used:9.9099%;appearance:none;width:100%;height:44px;margin:4px 0 0;padding:0;background:transparent;border:0;cursor:ew-resize;touch-action:pan-y}
.affiliate-main .range::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(to right,var(--a-ink) 0 var(--used),var(--a-line) var(--used) 100%)}
.affiliate-main .range::-webkit-slider-thumb{appearance:none;width:28px;height:28px;margin-top:-12px;border:0;border-radius:50%;background:var(--a-ink)}
.affiliate-main .range::-moz-range-track{height:4px;border-radius:2px;background:var(--a-line)}
.affiliate-main .range::-moz-range-progress{height:4px;background:var(--a-ink)}
.affiliate-main .range::-moz-range-thumb{width:28px;height:28px;border:0;border-radius:50%;background:var(--a-ink)}
.affiliate-main input:disabled{opacity:1;cursor:default}
.affiliate-main .calc-assumption{color:var(--a-muted);margin-top:4px}
.affiliate-main .chart{margin-top:54px}
.affiliate-main .growth-chart{display:flex;align-items:flex-end;gap:8px;height:170px}
.affiliate-main .growth-chart i{height:var(--bar);background:linear-gradient(to top,var(--gold),color-mix(in srgb,var(--gold) 85%,#f6dfa7));border-radius:4px 4px 0 0;flex:1;position:relative;display:block;font-style:normal}
.affiliate-main .growth-chart i:last-child>span{position:absolute;right:0;bottom:calc(100% + 10px);color:var(--a-ink);font:400 16px/1.5 'Instrument Sans',Arial,sans-serif;white-space:nowrap}
.affiliate-main figcaption{display:flex;justify-content:space-between;gap:8px;color:var(--a-muted);margin-top:12px}
.affiliate-main .result-card{background:linear-gradient(140deg,#efc77a 10%,#dca344 100%);color:#18191e;border-radius:24px;padding:32px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:16px}
.affiliate-main .result-card .display{font-variant-numeric:lining-nums tabular-nums;white-space:nowrap}
.affiliate-main .result-card .monthly{font-size:14px;line-height:1.5;margin-top:4px}
.affiliate-main .result-card [data-monthly]{font-size:16px;line-height:1.5;display:inline-block;margin-top:8px}
.affiliate-main .result-card .apply{margin-top:8px;background:#18191e;color:#fff}
.affiliate-main .result-card .apply:focus-visible{outline-color:#18191e}
.affiliate-main .calc-note{max-width:740px;color:var(--a-muted);text-align:center;align-self:center}
.affiliate-main .reading{max-width:720px;text-align:center;align-items:center;gap:32px}
.affiliate-main .post-copy{display:flex;flex-direction:column;gap:24px}
.affiliate-main .post-copy p{font:400 16px/1.5 'Instrument Sans',Arial,sans-serif}
.affiliate-main .word{display:inline-block;white-space:nowrap;color:var(--a-ink)}
.motion .affiliate-main .word{color:var(--a-unread);transition:color .18s ease}
.motion .affiliate-main .word.lit{color:var(--a-ink)}
.affiliate-main .progress{display:none;width:1px;height:72px;background:var(--a-line);overflow:hidden;margin:8px auto 0}
.motion .affiliate-main .progress{display:block}
.affiliate-main .progress i{display:block;width:100%;height:100%;background:var(--a-ink);transform:scaleY(var(--read,0));transform-origin:top}
.affiliate-main .how-content{align-items:center;text-align:center;gap:40px}
.affiliate-main .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;gap:40px;text-align:left;width:100%}
.affiliate-main .steps li{display:flex;flex-direction:column;gap:20px;padding:0}
.affiliate-main .steps svg{width:28px;height:28px;stroke:var(--a-accent);stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}
.affiliate-main .steps h3{margin-bottom:12px}
.affiliate-main .steps p{color:var(--a-muted)}
.affiliate-main .number-grid{list-style:none;display:grid;grid-template-columns:auto auto auto;gap:64px;align-items:start;text-align:center}
.affiliate-main .number-grid li{position:relative;display:flex;flex-direction:column;gap:8px}
.affiliate-main .number-grid li+li::before{content:'·';position:absolute;left:-34px;top:16px;font-size:16px}
.affiliate-main .number-grid .display{white-space:nowrap}
.affiliate-main .number-grid p{font-size:14px}
.affiliate-main .questions-content{max-width:720px}
.affiliate-main .questions-content h2{text-align:center;margin-bottom:8px}
.affiliate-main .question{border-top:1px solid var(--a-line)}
.affiliate-main .question:last-child{border-bottom:1px solid var(--a-line)}
.affiliate-main .question summary{height:56px;display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;cursor:pointer;font:400 16px/24px 'Instrument Sans',Arial,sans-serif}
.affiliate-main .question summary::-webkit-details-marker{display:none}
.affiliate-main .question summary::after{content:'+';font:400 16px/24px 'Instrument Sans',Arial,sans-serif;flex:none}
.affiliate-main .question[open] summary::after{content:'−'}
.affiliate-main .question p{margin:0 0 24px;color:var(--a-muted);font:400 16px/24px 'Instrument Sans',Arial,sans-serif}
.affiliate-main .close-copy .apply{margin-top:8px}
/* The footer remains the live component. Stages release above it. */
footer.site{position:relative;z-index:40}
@media(max-width:1000px){:root{--a-display:36px}.affiliate-main .hero-layout{width:calc(100% - 80px);gap:32px}.affiliate-main .hero-picture{height:400px}.affiliate-main .calculator{gap:24px}.affiliate-main .result-card{padding:24px}.affiliate-main .steps{gap:24px}.affiliate-main .number-grid{gap:40px}.affiliate-main .number-grid li+li::before{left:-22px}}
@media(max-width:600px){:root{--a-display:32px}.affiliate-main .content{width:calc(100% - 48px);gap:24px}.affiliate-main .star{width:44px;height:44px;left:8%;top:12%}.affiliate-main .globe{width:76px;height:76px;right:8%;bottom:7%}.affiliate-main .hero-layout{width:calc(100% - 48px);grid-template-columns:1fr;gap:24px;padding-top:86px;padding-bottom:48px;align-self:stretch;align-content:center}.affiliate-main .hero-copy{text-align:center}.affiliate-main .hero-accent{margin-top:12px}.affiliate-main .hero-offer{margin-top:20px}.affiliate-main .hero-actions{justify-content:center;gap:20px;margin-top:20px}.affiliate-main .hero-picture{height:208px;border-radius:24px}.affiliate-main .hero-rocket{width:100%;height:120%;right:-18%;bottom:-16%}.affiliate-main .hero-scene .star{top:12%;left:8%;width:36px;height:36px}.affiliate-main .design-note{bottom:12px;right:16px}.affiliate-main .calculator{grid-template-columns:1fr;gap:20px}.affiliate-main .calc-work{padding:0}.affiliate-main .calc-top{gap:20px}.affiliate-main .calc-top label{max-width:230px}.affiliate-main .chart{margin-top:34px}.affiliate-main .growth-chart{height:108px;gap:6px}.affiliate-main figcaption{margin-top:8px}.affiliate-main figcaption span:nth-child(2){position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}.affiliate-main .result-card{padding:20px 24px;display:grid;grid-template-columns:1fr auto;gap:8px 16px;align-items:center;border-radius:20px}.affiliate-main .result-card>p:first-child{grid-column:1/-1}.affiliate-main .result-card .display{grid-column:1/-1}.affiliate-main .result-card .monthly{grid-column:1/-1;margin-top:0}.affiliate-main .result-card [data-monthly]{margin-top:0}.affiliate-main .result-card .apply{grid-column:1/-1;margin-top:4px}.affiliate-main .calc-note{text-align:left}.affiliate-main .calc-scene .star{top:4%;width:36px;height:36px}.affiliate-main .calc-scene .globe{bottom:2%;width:56px;height:56px;right:8%}.affiliate-main .steps{grid-template-columns:1fr;gap:24px}.affiliate-main .steps li{display:grid;grid-template-columns:24px 1fr;gap:16px}.affiliate-main .steps svg{width:24px;height:24px}.affiliate-main .steps h3{margin-bottom:8px}.affiliate-main .how-content{gap:28px}.affiliate-main .number-grid{gap:24px}.affiliate-main .number-grid li+li::before{left:-14px;top:10px}.affiliate-main .how-scene .star{top:4%;width:36px;height:36px}.affiliate-main .how-scene .globe{bottom:3%;width:56px;height:56px}.affiliate-main .reading{gap:32px}.affiliate-main .progress{height:64px}.affiliate-main .questions-content{gap:24px}.affiliate-main .close-copy{max-width:342px}}
html:not(.motion) .affiliate-main .stage{height:auto;min-height:100svh;padding-block:100px;overflow:visible}
html:not(.motion) .affiliate-main .hero-scene .stage{padding-block:0}
html:not(.motion) .affiliate-main .word{color:var(--a-ink)}
@media(prefers-reduced-motion:reduce){.affiliate-main *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.affiliate-main .ambient{transform:none!important;will-change:auto}}
@media print{.affiliate-main .scene,.affiliate-main .stage{position:relative!important;inset:auto!important;height:auto!important;min-height:0!important;visibility:visible!important;transform:none!important;clip-path:none!important;padding:32px!important}.affiliate-main .word{color:var(--a-ink)!important}.affiliate-main::after,.affiliate-main .ambient,.affiliate-main .design-note,.affiliate-main .progress{display:none!important}}

/* Single QA correction pass: keep the glow fixed beneath transparent page turns. */
html[data-theme=dark] .affiliate-main .scene .stage{background:transparent}
/* Preserve the reviewed live signed-out header's light theme in both versions. */
.dark header.site-header{--bg:#f5f5f7;--surface:#fff;--text:#18191e;--muted:#454852;--line:#d9dae0;--button:#18191e;--button-text:#fff;color:#18191e}
html:not(.motion) .affiliate-main .stage{overflow:clip}
@media(max-width:600px){
 .motion .affiliate-main .calc-scene .stage{padding-top:40px}
 .affiliate-main .calculator-content{gap:20px}
 .affiliate-main .result-card{padding-block:16px;gap:6px 16px}
 .affiliate-main .growth-chart{height:96px}
 .affiliate-main .calc-scene .star{top:4%;left:8%;width:36px;height:36px}
 .affiliate-main .calc-scene .globe{bottom:1%;width:48px;height:48px}
}

/* owner-27oct */

.motion .affiliate-main .scene{height:calc(var(--screen) * 1.1)!important}
.motion .affiliate-main .word,.affiliate-main .word{color:var(--a-ink)!important}
.affiliate-main .progress{display:none!important}
.pager{position:fixed;right:20px;top:50%;transform:translateY(-50%);z-index:70;display:flex;flex-direction:column;gap:2px;transition:opacity .2s}
.pager button{width:24px;height:24px;padding:0;border:0;background:none;display:grid;place-items:center;cursor:pointer}
.pager i{display:block;width:3px;height:16px;border-radius:2px;background:var(--a-line,#D4D5DC);transition:background-color .2s ease}
.pager button[aria-current="true"] i{background:var(--a-ink,#18191E)}
html:not(.motion) .pager{display:none}
@media(max-width:768px){.pager{display:none!important}}

/* owner-hero */

/* Owner 27 Oct: dark only, no rocket, no new text colours, smaller second line. */
.affiliate-main .hero-layout{grid-template-columns:1fr!important;max-width:820px!important;width:calc(100% - 48px)!important;margin-inline:auto;justify-items:center}
.affiliate-main .hero-copy{text-align:center}
.affiliate-main .hero-accent{color:var(--a-ink)!important;font:400 16px/1.6 "Instrument Sans",Arial,sans-serif!important;letter-spacing:0!important;margin-top:20px!important}
.affiliate-main .hero-offer{margin:8px auto 0!important}
.affiliate-main .hero-actions{justify-content:center}
.affiliate-main .steps svg{stroke:var(--a-ink)!important}
/* the site's own button on navy: white pill, ink text (as the home closing panel) */
.affiliate-main .hero-actions a.apply,.affiliate-main .close-scene a.apply{background:#fff!important;border:1px solid #fff!important;color:#18191E!important;height:44px;padding:0 24px!important;border-radius:999px;font:600 16px/1.6 "Instrument Sans",Arial,sans-serif!important;display:inline-flex;align-items:center;box-shadow:0 6px 22px #0003}
.affiliate-main .hero-actions a.apply:hover,.affiliate-main .close-scene a.apply:hover{background:#f1f1f4!important;border-color:#f1f1f4!important}

/* owner-noambient */
/* Owner 27 Oct: no stars and no illustrations on any affiliate slide. */.affiliate-main .ambient{display:none!important}
/* owner-hero2 */

/* Owner 27 Oct: no offer line; "Affiliate login" under the button; Apply hovers and presses exactly like the header button (dark). */
.affiliate-main .hero-actions{flex-direction:column!important;gap:14px!important;margin-top:28px!important}
.affiliate-main .hero-actions a.login{font-size:14px}
.affiliate-main .hero-actions a.apply,.affiliate-main .close-scene a.apply{transition:background-color 160ms ease,border-color 160ms ease,transform 160ms ease,box-shadow 160ms ease!important}
.affiliate-main .hero-actions a.apply:hover,.affiliate-main .close-scene a.apply:hover{background:#E2E2E6!important;border-color:#E2E2E6!important;transform:translateY(-1px);box-shadow:0 6px 16px rgba(0,0,0,.28)!important}
.affiliate-main .hero-actions a.apply:active,.affiliate-main .close-scene a.apply:active{transform:translateY(0) scale(.98);box-shadow:0 3px 8px rgba(0,0,0,.22)!important}

/* owner-hero3 */

/* Owner 27 Oct: tighter hero. Headline to line, line to button, button to login. */
.affiliate-main .hero-copy h1{line-height:1.08!important;margin:0!important}
.affiliate-main .hero-accent{margin-top:8px!important;line-height:1.5!important}
.affiliate-main .hero-actions{margin-top:24px!important;gap:0!important}
.affiliate-main .hero-actions a.login{margin-top:-4px!important;min-height:44px;display:inline-flex;align-items:center}

/* owner-calc */

/* Owner 27 Oct: slider with the 12-month total below it on the left, a tall chart on the right; phone order chart, slider, gold card (like Higgsfield). */
.affiliate-main .calculator{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)!important;grid-template-areas:"controls chart" "card chart";gap:24px 40px!important;align-items:stretch}
.affiliate-main .calc-work{grid-area:controls;padding:8px 0 0!important}
.affiliate-main .result-card{grid-area:card}
.affiliate-main .chart{grid-area:chart;margin:0!important;display:flex;flex-direction:column;padding:56px 24px 16px;border-radius:24px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.affiliate-main .growth-chart{flex:1;height:auto!important;min-height:340px;gap:8px!important}
.affiliate-main .months{display:flex;gap:8px;margin-top:12px}
.affiliate-main .months span{flex:1;text-align:center;font:400 14px/1.5 'Instrument Sans',Arial,sans-serif;color:var(--a-muted)}
@media(max-width:760px){
 .affiliate-main .calculator{grid-template-columns:1fr!important;grid-template-areas:"chart" "controls" "card";gap:16px!important}
 .affiliate-main .chart{padding:40px 14px 10px;border-radius:20px}
 .affiliate-main .growth-chart{min-height:172px;gap:5px!important}
 .affiliate-main .months{gap:5px;margin-top:8px}
 .affiliate-main .months span{font-size:12px}
 .affiliate-main .calculator-content>h2{margin-bottom:4px}
}
.affiliate-main .months span:nth-child(2){position:static!important;clip-path:none!important;width:auto!important;height:auto!important;overflow:visible!important}

/* owner-split */

/* Owner 27 Oct: "you've bundled together two sections that don't make any sense together... Split them up. Two sections." */
.affiliate-main .how-content{gap:40px!important}
.affiliate-main .steps{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;max-width:1040px;margin:0 auto}
.affiliate-main .steps li{display:flex!important;flex-direction:column;gap:20px!important;padding:32px 28px!important;border-radius:24px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.affiliate-main .steps h3{margin-bottom:8px!important}
.affiliate-main .numbers-content{align-items:center;text-align:center;gap:48px}
.affiliate-main .number-grid{list-style:none;margin:0;padding:0;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:40px!important;width:100%;max-width:1080px}
.affiliate-main .number-grid li{display:flex;flex-direction:column;align-items:center;gap:12px!important}
.affiliate-main .number-grid li+li::before{content:none!important}
.affiliate-main .number-grid .display{font-variant-numeric:lining-nums;font-size:36px!important;line-height:1.15}
/* Owner 27 Oct: "The title and the numbers have exact same font size." Numbers sit one step below the heading. */
.affiliate-main .number-grid p{font-size:16px!important;color:var(--a-muted);max-width:22ch}
@media(max-width:760px){
.affiliate-main .how-content{gap:24px!important}
.affiliate-main .steps{grid-template-columns:1fr!important;gap:12px!important}
.affiliate-main .steps li{display:grid!important;grid-template-columns:24px 1fr;gap:16px!important;padding:20px!important;border-radius:20px}
.affiliate-main .steps h3{margin-bottom:4px!important}
.affiliate-main .numbers-content{gap:32px}
.affiliate-main .number-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:32px 16px!important}
.affiliate-main .number-grid li{gap:6px!important}
.affiliate-main .number-grid .display{font-size:26px!important}
}

/* owner-posts */

/* Owner 27 Oct: four tall rectangles across the page, two by two on phone. "Do not include images at all." Copy starts at the top so the eye travels straight across. */
.affiliate-main .post-content{width:calc(100% - 80px);max-width:1120px;align-items:center;text-align:center;gap:40px}
.affiliate-main .post-cards{list-style:none;margin:0;padding:0;width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.affiliate-main .post-card{aspect-ratio:5/7;display:flex;flex-direction:column;justify-content:flex-start;padding:28px;border-radius:24px;text-align:left;background:radial-gradient(ellipse at 50% 100%,rgba(59,95,207,.34),transparent 70%),rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.affiliate-main .post-card h3{margin:0;font:400 24px/1.22 'Young Serif',Georgia,serif;color:var(--a-ink);text-wrap:pretty}
@media(max-width:1000px){.affiliate-main .post-card h3{font-size:21px}}
@media(max-width:760px){
.affiliate-main .post-content{width:calc(100% - 32px);gap:24px}
.affiliate-main .post-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.affiliate-main .post-card{aspect-ratio:5/7;padding:18px;border-radius:20px}
.affiliate-main .post-card h3{font-size:19px}
}

/* owner-calc-title */

/* Owner 27 Oct: "a mistake to make month one look tiny"; bar heights start at 16% (about the old month 4-5) and rise to 100% at month 12. Amounts unchanged. */
/* Owner 27 Oct: use Higgsfield's title and explanation: "Calculator is far more clear than your AI waffle." */
.affiliate-main .calc-head{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.affiliate-main .calc-head h2{margin:0!important}
.affiliate-main .calc-intro{max-width:56ch;margin:0;font:400 16px/1.5 'Instrument Sans',Arial,sans-serif;color:var(--a-muted);text-wrap:pretty}
@media(max-width:760px){.affiliate-main .calc-head{gap:8px}.affiliate-main .calc-intro{font-size:14px}}

/* owner-slider */

/* Owner 27 Oct: "your slider is bitsy versus theirs" and "why do you put so much waffle underneath it?" Higgsfield-style control panel. */
.affiliate-main .calc-work{display:flex;flex-direction:column;padding:24px!important;border-radius:24px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.affiliate-main .calc-label{font:400 14px/1.5 'Instrument Sans',Arial,sans-serif;color:var(--a-muted)}
.affiliate-main .calc-value{margin:6px 0 18px;font:600 24px/1.25 'Instrument Sans',Arial,sans-serif;color:var(--a-ink);font-variant-numeric:tabular-nums}
.affiliate-main .calc-value>span{font-weight:500;color:var(--a-muted)}
.affiliate-main .range{--pos:0.1717;-webkit-appearance:none!important;appearance:none!important;display:block;width:100%;height:32px!important;margin:0!important;padding:0;border-radius:999px;cursor:pointer;
 background:linear-gradient(90deg,rgb(166 108 29),#efc77a) 0 0/calc(16px + (100% - 32px) * var(--pos)) 100% no-repeat,radial-gradient(circle,rgba(255,255,255,.26) 1.4px,transparent 1.9px) 0 50%/22px 100% repeat-x,rgba(255,255,255,.06)!important}
.affiliate-main .range::-webkit-slider-runnable-track{height:32px!important;background:transparent!important;border-radius:999px}
.affiliate-main .range::-webkit-slider-thumb{-webkit-appearance:none!important;appearance:none!important;width:36px!important;height:36px!important;margin-top:-2px!important;border:0;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2318191e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4.5 2.5 8 6 11.5M10 4.5l3.5 3.5-3.5 3.5'/%3E%3C/svg%3E") center/16px no-repeat!important;box-shadow:0 2px 10px rgba(0,0,0,.4)}
.affiliate-main .range::-moz-range-track{height:32px;background:transparent!important}
.affiliate-main .range::-moz-range-progress{background:transparent!important}
.affiliate-main .range::-moz-range-thumb{width:36px;height:36px;border:0;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2318191e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4.5 2.5 8 6 11.5M10 4.5l3.5 3.5-3.5 3.5'/%3E%3C/svg%3E") center/16px no-repeat!important;box-shadow:0 2px 10px rgba(0,0,0,.4)}
.affiliate-main .range:focus-visible{outline:2px solid #fff;outline-offset:3px}
.affiliate-main .result-card [data-monthly]{display:block}
@media(max-width:760px){
.affiliate-main .calc-work{padding:18px!important;border-radius:20px}
.affiliate-main .calc-value{font-size:22px;margin:4px 0 14px}
.affiliate-main .result-card .monthly{display:flex!important;justify-content:space-between;align-items:baseline;gap:12px;width:100%}
.affiliate-main .result-card [data-monthly]{display:inline}
.affiliate-main .calculator-content{gap:14px!important}
.affiliate-main .calculator{gap:12px!important}
.affiliate-main .growth-chart{min-height:140px!important}
.affiliate-main .calc-work{padding:16px 18px!important}
.affiliate-main .calc-value{margin:4px 0 12px!important}
.affiliate-main .result-card{padding:20px 22px!important}
}

/* owner-hero4 */

/* Owner 27 Oct: "the worst hierarchy... look at how beautiful those conversion rate assets are". Type and spacing measured from the live closing panel (payday-closing-cta.css on /trends): heading 66/72.6 (phone 44/50.6), line 19/31.35 28px below (phone 17, 25px), button 30px below (phone 16px), note link 2px under the button. Page colours kept. */
.affiliate-main .hero-copy h1{font:400 66px/1.1 'Young Serif',Georgia,serif!important;letter-spacing:-.02em!important;margin:0!important}
.affiliate-main .hero-accent{font:400 19px/1.65 'Instrument Sans',Arial,sans-serif!important;margin-top:28px!important;max-width:600px;margin-inline:auto}
.affiliate-main .hero-actions{margin-top:30px!important;gap:2px!important}
.affiliate-main .hero-actions a.login{margin-top:0!important;min-height:44px;display:inline-flex;align-items:center;gap:0;font:400 14px/1.6 'Instrument Sans',Arial,sans-serif!important;text-decoration:none!important;color:var(--a-ink)}
.affiliate-main .hero-actions a.login svg{display:inline-block;vertical-align:middle;margin-left:2px}
.affiliate-main .hero-actions a.login:hover{text-decoration:underline!important;text-underline-offset:4px}
@media(max-width:760px){
.affiliate-main .hero-copy h1{font-size:44px!important;line-height:1.15!important}
.affiliate-main .hero-accent{font-size:17px!important;margin-top:25px!important}
.affiliate-main .hero-actions{margin-top:16px!important}
}

/* owner-phone-scroll */

/* Owner 27 Oct: on phones there are no page turns. You scroll down and reach the next bit of content: each section is as tall as its content. */
@media(max-width:760px){
html:not(.motion) .affiliate-main .scene{min-height:0!important;height:auto!important}
html:not(.motion) .affiliate-main .stage{min-height:0!important;height:auto!important;padding-block:56px!important;overflow:visible!important}
html:not(.motion) .affiliate-main .hero-scene .stage{min-height:calc(100svh - 82px)!important;padding-block:24px 56px!important;display:grid;align-items:center}
html:not(.motion) .affiliate-main .hero-layout{padding-top:0!important;padding-bottom:0!important}
html:not(.motion) .affiliate-main .calc-scene .stage{padding-top:40px!important}
}

/* short-desktop-calc */

/* Short desktop windows (under ~760px tall): the calculator slide must still fit one screen. Same words, tighter spacing. */
@media(min-width:761px) and (max-height:760px){
.motion .affiliate-main .calc-scene .stage{padding-top:12px!important}
.affiliate-main .calc-head{gap:6px}
.affiliate-main .calc-head h2{font-size:38px!important}
.affiliate-main .calc-intro{font-size:15px}
.affiliate-main .calculator-content{gap:16px!important}
.affiliate-main .calculator{gap:14px 32px!important}
.affiliate-main .calc-work{padding:16px 20px!important}
.affiliate-main .calc-value{font-size:20px;margin:2px 0 10px}
.affiliate-main .result-card{padding:18px 24px!important}
.affiliate-main .result-card .display{font-size:38px!important;line-height:1.1!important}
.affiliate-main .result-card .monthly{display:flex!important;justify-content:space-between;align-items:baseline;gap:12px;margin-top:6px!important;width:100%}
.affiliate-main .result-card [data-monthly]{display:inline!important;margin:0!important}
.affiliate-main .result-card .apply{margin-top:12px!important}
.affiliate-main .chart{padding:40px 20px 12px!important}
.affiliate-main .growth-chart{min-height:200px!important}
}
@media(min-width:761px) and (max-height:600px){
.affiliate-main .calc-head h2{font-size:32px!important}
.affiliate-main .calc-intro{font-size:14px;max-width:72ch}
.affiliate-main .calculator-content{gap:12px!important}
.affiliate-main .result-card .display{font-size:32px!important}
.affiliate-main .growth-chart{min-height:160px!important}
.affiliate-main .calc-note{font-size:12px}
}

/* owner-phone-reveal */

/* Owner 27 Oct: phones animate each block in as you scroll, like the home page. Only active when the script turns it on. */
html.rv-on .rv{opacity:0;transform:translateY(12px)}
html.rv-on .rv.rv-in{opacity:1;transform:none;transition:opacity 520ms cubic-bezier(.16,1,.3,1),transform 520ms cubic-bezier(.16,1,.3,1);transition-delay:var(--rv-d,0ms)}
@media (prefers-reduced-motion:reduce){html.rv-on .rv{opacity:1;transform:none}}

/* owner-chart-draw */

/* Owner 27 Oct: the chart draws in when first reached. Armed only by the script, so the chart is always visible without it. */
.affiliate-main .growth-chart.chart-armed [data-month]{height:0!important}

/* owner-bar-hover */

/* Owner 27 Oct: like Higgsfield, hovering a bar shows what you have earned by that month; the 12-month figure stays. */
.affiliate-main .chart{position:relative}
.affiliate-main .bar-tip{position:absolute;z-index:2;pointer-events:none;transform:translate(-50%,-100%);padding:4px 10px;border-radius:8px;background:var(--a-ground);border:1px solid rgba(255,255,255,.14);color:var(--a-ink);font:400 14px/1.5 'Instrument Sans',Arial,sans-serif;white-space:nowrap;opacity:0;transition:opacity 120ms ease}
.affiliate-main .bar-tip.on{opacity:1}
.affiliate-main .growth-chart [data-month]{cursor:default}

/* owner-apply-email */

/* Owner 27 Oct: "Apply now" emails us until FirstPromoter is live; "Affiliate login" hidden for now. */
.affiliate-main a.login[hidden]{display:none!important}
/* Owner 27 Oct: the black button hovers like the header's black button (#2A2B31, 1px lift, soft shadow, white text). */
.affiliate-main .result-card a.apply{background:#18191E!important;border:1px solid #18191E!important;color:#fff!important;text-decoration:none!important;transition:background-color 160ms ease,border-color 160ms ease,transform 160ms ease,box-shadow 160ms ease!important}
.affiliate-main .result-card a.apply:hover{background:#2A2B31!important;border-color:#2A2B31!important;color:#fff!important;transform:translateY(-1px);box-shadow:0 6px 16px rgba(24,25,30,.18)!important}
.affiliate-main .result-card a.apply:active{transform:translateY(0) scale(.98);box-shadow:0 3px 8px rgba(24,25,30,.16)!important}

/* Integration: the real header keeps its layout; only positioning and dark colours change. */
html body.affiliates-page header.site{position:relative!important;background:transparent!important;transform:none!important;pointer-events:auto;color:#fff;--pd-ink:#fff;--pd-muted:rgba(255,255,255,.82);--pd-hover-text:#fff}
html body.affiliates-page header.site::before{box-shadow:none!important}
html body.affiliates-page header.site .wordmark{color:#fff!important}
html body.affiliates-page header.site .brand:is(:hover,:focus-visible) .wordmark{color:#E2E2E6!important}
html body.affiliates-page header.site :is(.navlink,.navsignin,.navaccount){color:rgba(255,255,255,.82)}
html body.affiliates-page header.site :is(.navlink,.navsignin,.navaccount):hover{color:#fff!important}
html body.affiliates-page header.site .navcta{background:#fff!important;border-color:#fff!important;color:#18191E!important}
html body.affiliates-page header.site .navcta:hover{background:#E2E2E6!important;border-color:#E2E2E6!important;transform:translateY(-1px);box-shadow:0 6px 16px rgba(0,0,0,.28)}
html body.affiliates-page header.site .navburger{color:#fff}
html body.affiliates-page header.site .navburger span{background:#fff}
html body.affiliates-page header.site .navlinks{--pd-surface:#141b29}
html body .affiliate-main{padding:0;max-width:none;width:100%}

/* The site sets main h1 to ink; the affiliate hero heading is white on navy (blueprint owner-hero4). */
html body .affiliate-main .hero-copy h1{color:var(--a-ink,#fff)}
/* Review 242: the shared summary styles turned the questions' +/- into a chevron beside the text; restore the blueprint. */
html body .affiliate-main details.question>summary{display:flex!important;align-items:center;justify-content:space-between!important;gap:16px!important;height:56px;list-style:none;cursor:pointer}
html body .affiliate-main details.question>summary::after{content:'+'!important;width:auto!important;height:auto!important;margin:0!important;border:0!important;transform:none!important;flex:none;font:400 16px/24px 'Instrument Sans',Arial,sans-serif}
html body .affiliate-main details.question[open]>summary::after{content:'\2212'!important;transform:none!important}
/* Review 242: the blueprint's tidier paragraph line breaks. */
html body .affiliate-main .steps p,html body .affiliate-main .number-grid p{text-wrap:pretty}
