/* KartDen affiliate "get paid" landing page. Standalone: no site CSS, system fonts only (CSP is self). */
:root {
    --bg: #07090f;
    --s1: #0d121d;
    --s2: #151c2d;
    --tx: #f4f6fb;
    --mu: #aab5ca;
    --red: #ff2d46;
    --org: #ff7a3d;
    --gold: #ffc83d;
    --grn: #35e0a1;
    --blu: #4da3ff;
    --r: 22px;
    --w: 1140px;
    --cut: clamp(26px, 5.2vw, 76px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--tx);
    font: 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }

h1, h2, h3 {
    margin: 0;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 0.95;
}
h2 { font-size: clamp(2.3rem, 7.4vw, 4.8rem); }
h2 em {
    display: block;
    font-style: italic;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.72));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
h3 { font-size: clamp(1.3rem, 3.6vw, 2rem); line-height: 1.05; }
.lead { margin: 18px 0 0; font-size: clamp(1.05rem, 2.4vw, 1.35rem); line-height: 1.4; color: rgba(255, 255, 255, 0.88); max-width: 34em; }
.center .lead { margin-left: auto; margin-right: auto; }
.note { margin: 16px 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); }
.note a { color: #fff; }
.mini { margin: 14px 0 0; font-size: 0.92rem; color: var(--mu); }
.mini a { color: #fff; }

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 26px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: linear-gradient(100deg, var(--red), var(--org));
    box-shadow: 0 10px 34px rgba(255, 60, 60, 0.38);
    color: #fff;
    font: 800 1rem/1 inherit;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 44px rgba(255, 60, 60, 0.5); }
.btn:focus-visible, a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn-xl { min-height: 62px; padding: 16px 34px; font-size: 1.15rem; }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 0.9rem; box-shadow: none; }
.btn-ghost { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.55); box-shadow: none; }
.btn-white { background: #fff; color: #0a0d14; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); }
.actions { margin: 22px 0 0; }

/* nav */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 22px;
    padding-top: max(12px, env(safe-area-inset-top));
    background: linear-gradient(180deg, rgba(7, 9, 15, 0.86), rgba(7, 9, 15, 0));
    backdrop-filter: blur(6px);
}
.logo { font-size: 1.5rem; font-weight: 900; font-style: italic; letter-spacing: -0.04em; text-decoration: none; }
.logo b { color: var(--red); }
.nav nav { display: flex; align-items: center; gap: 18px; }
.nav-link { font-size: 0.92rem; font-weight: 700; text-decoration: none; color: rgba(255, 255, 255, 0.85); }
.nav-link:hover { color: #fff; }

/* hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 110px 0 80px;
    background: #07090f url("/assets/affiliate/ult-hero-bg.webp") center / cover no-repeat;
    overflow: hidden;
}
.hero-in { display: grid; gap: 38px; align-items: center; width: 100%; }
.invite {
    display: inline-block;
    margin: 0 0 16px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}
.invite b { color: var(--gold); }
.eyebrow { margin: 0 0 18px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.eyebrow span { color: rgba(255, 255, 255, 0.62); margin-left: 8px; }
.hero h1 { font-size: clamp(2.9rem, 12.5vw, 7.4rem); line-height: 0.88; }
.hero h1 span { display: block; }
.h-l1 { color: #fff; }
.h-l2 { background: linear-gradient(90deg, var(--red), var(--org)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: 0.06em; }
.h-l3 { position: relative; display: inline-block !important; color: var(--gold); }
.h-l3::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -0.04em;
    height: 0.14em;
    background: repeating-conic-gradient(#fff 0 25%, #0a0d14 0 50%) 0 0 / 0.28em 0.28em;
    border-radius: 3px;
}
.sub { margin: 26px 0 0; max-width: 30em; font-size: clamp(1.1rem, 2.6vw, 1.5rem); line-height: 1.35; color: rgba(255, 255, 255, 0.9); }
.ratepill {
    display: inline-block;
    margin: 20px 0 0;
    padding: 9px 18px;
    border: 1px solid rgba(255, 200, 61, 0.55);
    border-radius: 999px;
    background: rgba(255, 200, 61, 0.1);
    color: var(--gold);
    font-weight: 700;
}
.ratepill b { font-size: 1.25em; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-card {
    position: relative;
    margin: 0;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 8px rgba(255, 255, 255, 0.04);
    transform: rotate(2deg);
}
.hero-card img { width: 100%; height: auto; }
.scroll-cue {
    position: absolute;
    left: 50%; bottom: 22px;
    display: grid; place-items: center;
    width: 44px; height: 44px;
    margin-left: -22px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    text-decoration: none;
    animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(8px); } }

/* marquee */
.marq {
    position: relative;
    z-index: 5;
    margin: -22px -3vw 0;
    padding: 16px 0;
    overflow: hidden;
    background: #fff;
    color: #0a0d14;
    white-space: nowrap;
    transform: rotate(-1.6deg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.marq-track { display: inline-flex; align-items: center; gap: 34px; animation: mq 34s linear infinite; }
.marq span { font-size: clamp(1.2rem, 3.4vw, 2rem); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -0.02em; }
.marq i { color: var(--red); font-style: normal; }
@keyframes mq { to { transform: translateX(-50%); } }

/* bands */
.band {
    position: relative;
    margin-top: calc(var(--cut) * -1);
    padding: calc(var(--cut) + clamp(54px, 9vw, 110px)) 0;
    clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
.band:first-of-type { margin-top: 0; }
.band-red { background: linear-gradient(160deg, #8f0c22 0%, #d4213b 55%, #ff5a3d 100%); }
.band-navy { background: linear-gradient(160deg, #0a1633, #12306b 60%, #1b4fa0); }
.band-ink { background: linear-gradient(180deg, #0a0e18, #101726); }
.band-violet { background: linear-gradient(160deg, #1a0b3d, #3b1a86 60%, #5a2cc0); }
.band-gold { background: linear-gradient(160deg, #c47a00, #ffb81f 60%, #ffd75e); color: #1a1100; }
.band-gold .lead, .band-gold .note { color: rgba(26, 17, 0, 0.82); }
.band-gold h2 em { background: linear-gradient(90deg, #1a1100, #4a3200); -webkit-background-clip: text; background-clip: text; }
.band-green { background: linear-gradient(160deg, #04382a, #0b7a58 60%, #12b886); }
.band + .band { margin-top: calc(var(--cut) * -1); }
.split { display: grid; gap: 40px; align-items: center; }
.num {
    display: block;
    margin-bottom: 8px;
    font-size: clamp(3.6rem, 12vw, 8rem);
    font-weight: 900;
    font-style: italic;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.4);
}
.band-gold .num { -webkit-text-stroke-color: rgba(26, 17, 0, 0.35); }
.center .num { margin-left: auto; margin-right: auto; }

.bigstat { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.bigstat b { font-size: clamp(3.4rem, 11vw, 6.6rem); font-weight: 900; font-style: italic; line-height: 0.85; letter-spacing: -0.04em; }
.bigstat span { font-weight: 800; text-transform: uppercase; font-size: 0.9rem; line-height: 1.25; letter-spacing: 0.06em; opacity: 0.9; }
.ticks { margin: 24px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; margin: 0 0 10px; padding-left: 34px; font-size: 1.05rem; font-weight: 600; }
.ticks li::before {
    content: "\2713";
    position: absolute; left: 0; top: 0;
    display: grid; place-items: center;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #fff; color: #0a0d14;
    font-size: 0.8rem; font-weight: 900;
}
.band-gold .ticks li::before { background: #1a1100; color: #ffd75e; }

.vis { position: relative; }
.shot { border-radius: var(--r); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.16); }
.art { margin: 0 auto; max-width: 440px; width: 100%; border-radius: var(--r); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.appicon { margin: 0 auto; width: min(300px, 70vw); border-radius: 22%; box-shadow: 0 30px 70px rgba(80, 40, 0, 0.45); transform: rotate(-6deg); }
.bubble { width: min(420px, 100%); margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.4)); }
.refbig { display: grid; place-items: center; min-height: 260px; border-radius: var(--r); background: rgba(0, 0, 0, 0.22); text-align: center; }
.refbig b { display: block; font-size: clamp(5rem, 18vw, 9rem); font-weight: 900; font-style: italic; line-height: 0.85; }
.refbig span { font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.refline { margin: 16px 0 0; font-size: clamp(1.1rem, 2.6vw, 1.4rem); font-weight: 800; }
.refline.tier { color: #fff; padding: 12px 16px; border-radius: 14px; background: rgba(0, 0, 0, 0.24); }

/* chart */
.chart { margin: 22px 0 0; padding: 18px 16px 14px; border-radius: var(--r); background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.14); }
.chart figcaption { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; margin-bottom: 12px; }
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; height: 190px; }
.col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.col em { font-style: normal; font-weight: 900; font-size: 0.95rem; white-space: nowrap; }
.col i { display: block; width: 100%; max-width: 64px; height: calc(var(--h) * 1.3px); border-radius: 10px 10px 0 0; background: linear-gradient(180deg, #fff, #ffd1a8); transform-origin: bottom; }
.js .chart:not(.in) .col i { transform: scaleY(0.04); }
.chart i { transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.col small { font-size: 0.74rem; opacity: 0.8; text-align: center; }

/* stores */
.cards4 { display: grid; gap: 16px; margin-top: 44px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
    display: flex; flex-direction: column; gap: 10px; justify-content: center;
    padding: 28px 24px;
    border-radius: var(--r);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.card small { font-size: 0.78rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.card .giant { font-size: clamp(4.4rem, 14vw, 7.4rem); font-weight: 900; font-style: italic; line-height: 0.85; letter-spacing: -0.04em; background: linear-gradient(90deg, var(--red), var(--org)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.card .mid { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1; }
.card span { color: rgba(255, 255, 255, 0.82); }
.card strong { color: var(--gold); font-size: 1.15em; }
.c-big { background: rgba(255, 255, 255, 0.07); }
.badge { margin: 30px auto 0; border-radius: 14px; width: min(520px, 100%); }

/* coaching */
.coached { display: grid; gap: 30px; align-items: center; margin-top: clamp(56px, 8vw, 96px); padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.18); }

/* sponsors */
.steps { display: grid; gap: 18px; margin: 46px 0 40px; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); counter-reset: s; align-items: start; }
.step { position: relative; padding: 24px 18px 18px; border-radius: var(--r); background: var(--s2); border: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-direction: column; gap: 14px; }
.step .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(100deg, var(--red), var(--org)); font-weight: 900; font-size: 1.3rem; }
.step .zoom {
    display: block; width: 100%; margin: 0; padding: 0; border: 0;
    border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in;
    font: inherit; color: inherit; text-align: inherit;
}
.step .zoom.cream { background: #fdf6ee; padding: 8px 6px; }
.step .zoom:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.step img { width: 100%; }

/* payouts */
/* stack */
.pills { display: grid; gap: 12px; margin: 40px 0 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pills a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 20px 22px; border-radius: 18px; background: var(--s2); border: 1px solid rgba(255, 255, 255, 0.12); text-decoration: none; transition: transform 0.18s ease, border-color 0.18s ease; }
.pills a:hover { transform: translateY(-3px); border-color: var(--org); }
.pills b { font-size: 1.15rem; font-weight: 900; font-style: italic; text-transform: uppercase; }
.pills span { color: var(--gold); font-weight: 800; }
.lib { position: relative; margin: 44px 0 0; border-radius: var(--r); overflow: hidden; }
.lib figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85)); font-size: clamp(1.1rem, 3vw, 1.7rem); font-weight: 800; }
.lib b { color: var(--gold); font-size: 1.3em; }

/* final */
.final {
    position: relative;
    margin-top: calc(var(--cut) * -1);
    padding: calc(var(--cut) + clamp(70px, 11vw, 130px)) 0 clamp(70px, 10vw, 120px);
    background: linear-gradient(160deg, #a00f27, #ee2f45 55%, #ff7a3d);
    clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
    text-align: center;
}
.final h2 { font-size: clamp(2.6rem, 9.4vw, 6.4rem); }
.final h2 em { background: none; -webkit-text-fill-color: #fff; color: #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.3); }
.final .lead { margin-left: auto; margin-right: auto; }
.final .mini { color: rgba(255, 255, 255, 0.85); }
.foot { padding: 26px 22px calc(26px + env(safe-area-inset-bottom)); background: #05070b; color: var(--mu); font-size: 0.82rem; text-align: center; }
.foot p { max-width: 54rem; margin: 0 auto; }
.foot a { color: #fff; }

/* sticky mobile CTA */
.stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(7, 9, 15, 0), rgba(7, 9, 15, 0.92) 40%); }
.stick[hidden] { display: none; }
.stick .btn { width: 100%; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (min-width: 900px) {
    .hero-in { grid-template-columns: 1.15fr 0.85fr; }
    .split { grid-template-columns: 1fr 1fr; gap: 64px; }
    .split.flip > .copy { order: 2; }
    .coached { grid-template-columns: 1fr 1fr; }
    .stick { display: none; }
    .hero-card { transform: rotate(3deg) translateY(10px); }
}
@media (max-width: 899px) {
    .stick:not([hidden]) { display: block; }
    body { padding-bottom: 0; }
}
@media (max-width: 520px) {
    .nav-link { display: none; }
    .cta .btn { width: 100%; }
    .band { clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); }
}
/* Screenshot zoom. Stays on this page. */
.zoom-layer {
    position: fixed; inset: 0; z-index: 90;
    display: flex; align-items: center; justify-content: center;
    padding: 84px 16px 24px;
    background: rgba(5, 7, 11, 0.9);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}
.zoom-layer[hidden] { display: none !important; }
.zoom-layer.is-on { opacity: 1; visibility: visible; pointer-events: auto; }
.zoom-layer img {
    width: auto; height: auto;
    max-width: min(1120px, calc(100vw - 32px));
    max-height: calc(100dvh - 120px);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    transform: scale(0.86);
    transition: transform 0.2s ease;
}
.zoom-layer.is-on img { transform: scale(1); }
.zoom-x {
    position: fixed;
    top: calc(12px + env(safe-area-inset-top));
    right: calc(12px + env(safe-area-inset-right));
    z-index: 91;
    display: grid; place-items: center;
    width: 64px; height: 64px; margin: 0; padding: 0;
    border: 3px solid #fff; border-radius: 50%;
    background: var(--red); color: #fff;
    font: 900 2.6rem/1 Inter, system-ui, sans-serif;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}
.zoom-x:hover { transform: scale(1.06); }
.zoom-x:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
body.zoom-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .marq-track, .scroll-cue { animation: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .chart i, .zoom-layer, .zoom-layer img { transition: none; }
    .zoom-layer img { transform: none; }
    .js .chart:not(.in) .col i { transform: none; }
}
