@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;600;700&display=swap');

.aff-app,.aff-landing{
 --aff-ink:#182c24;--aff-green:#1f4535;--aff-pale:#edf4ed;--aff-muted:#53635b;--aff-line:#dce6df;--aff-paper:#fff;
 font-family:"Google Sans",system-ui,sans-serif;color:var(--aff-ink)
}
.aff-app{margin:0;background:#f4f7f3;font-size:16px;line-height:1.55;min-height:100vh}
.aff-app *,.aff-landing *{box-sizing:border-box}
.aff-app a:not(.aff-button),.aff-landing .aff-faq a{color:#27503e}
.aff-landing{width:min(1200px,calc(100% - 40px));margin:48px auto 72px}
.aff-hero{
 display:grid;grid-template-columns:1.22fr .78fr;gap:clamp(24px,5vw,88px);align-items:center;
 padding:clamp(26px,6vw,86px);border-radius:clamp(22px,4vw,42px);background:radial-gradient(ellipse at 90% 14%,#315946,#1c392d 58%,#1b342a);
 color:#f8fcf5;overflow:hidden
}
.aff-hero h1,.aff-app h1{margin:8px 0 15px;line-height:1.04;letter-spacing:-.047em}
.aff-hero h1{font-size:clamp(2.45rem,6.5vw,5rem);font-weight:700;line-height:1.04;max-width:14ch}
.aff-hero h1 em{font-style:normal;color:#d6ec9e}
.aff-hero p:not(.aff-kicker){max-width:51ch;margin:0;color:#e4eee5;font-size:clamp(1rem,2vw,1.18rem);line-height:1.6}
.aff-kicker{font-size:.76rem;letter-spacing:.12em;font-weight:700;margin:0;color:#4a6655}
.aff-hero .aff-kicker{color:#d6ec9e}
.aff-actions{display:flex;gap:10px 16px;align-items:center;flex-wrap:wrap;margin:24px 0 14px}
.aff-button{
 display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:10px 18px;border:1px solid var(--aff-green);
 border-radius:999px;background:var(--aff-green);color:white!important;text-decoration:none;font:inherit;font-weight:700;font-size:.96rem;
 line-height:1.3;cursor:pointer;text-align:center
}
.aff-button:hover{filter:brightness(1.11)}
.aff-button:disabled{cursor:wait;opacity:.6}
.aff-button.accent{background:#e0f3af;border-color:#e0f3af;color:#243421!important}
.aff-button.outline{background:transparent;color:var(--aff-green)!important}
.aff-app a:focus-visible,.aff-app button:focus-visible,.aff-app input:focus-visible,.aff-app select:focus-visible,
.aff-landing a:focus-visible,.aff-landing summary:focus-visible{outline:3px solid #9f730e;outline-offset:4px}
.aff-hero .aff-plain{color:#f8fcf5;text-underline-offset:4px;font-weight:600}
.aff-hero p.aff-small{font-size:.9rem;color:#dceade}
.aff-example{border:1px solid #597b64;background:#264838;padding:clamp(18px,3vw,30px);border-radius:22px;box-shadow:0 16px 42px #142a2157}
.aff-example-top,.aff-example-facts{display:flex;justify-content:space-between;gap:14px;align-items:center}
.aff-example-top span:first-child{font-weight:700}
.aff-example-top span:last-child{font-size:.77rem;padding:3px 9px;border:1px solid #87a48d;border-radius:100px;color:#ebf3e9}
.aff-example-total{font-size:clamp(2.25rem,5vw,4rem);letter-spacing:-.065em;line-height:1.1;font-weight:700;margin-top:20px}
.aff-example p{margin:4px 0 0!important;font-size:.9rem!important}
.aff-example-bar{height:9px;background:#41624f;border-radius:12px;margin:18px 0 22px}
.aff-example-bar span{display:block;width:20%;height:100%;background:#d6ec9e;border-radius:12px}
.aff-example-facts{border-top:1px solid #597b64;justify-content:flex-start;gap:clamp(16px,3vw,36px);padding-top:14px}
.aff-example-facts div{display:grid;gap:3px}
.aff-example-facts strong{font-size:1.15rem}.aff-example-facts span{font-size:.83rem;color:#e1ece0}
.aff-section{margin:clamp(44px,7vw,82px) auto 0}
.aff-section h2,.aff-card h2{line-height:1.16;letter-spacing:-.03em;margin:0 0 19px;font-size:clamp(1.45rem,3vw,2.35rem)}
.aff-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.aff-steps article{background:#fff;border:1px solid var(--aff-line);border-radius:20px;padding:clamp(18px,3vw,30px)}
.aff-steps h3{font-size:1.18rem;margin:11px 0 5px}.aff-steps p,.aff-faq p{color:var(--aff-muted);line-height:1.6;margin:0}
.aff-step-mark{display:inline-flex;min-height:29px;align-items:center;color:#284939;background:#eaf1e9;padding:4px 10px;border-radius:8px;font-weight:700;font-size:.8rem}
.aff-faq{max-width:780px}.aff-faq details{border-bottom:1px solid var(--aff-line);padding:13px 0}
.aff-faq summary{cursor:pointer;font-weight:700}.aff-faq p{margin-top:9px}
.aff-logo{display:inline-flex;align-items:center}.aff-logo img{display:block;width:96px;height:auto}
.aff-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px max(20px,calc((100vw - 1190px)/2));border-bottom:1px solid var(--aff-line);background:white}
.aff-header nav,.aff-footer{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;font-size:.94rem}
.aff-header nav form{margin:0}.aff-header nav a,.aff-footer a{text-underline-offset:3px;white-space:nowrap}
.aff-workspace{width:min(1190px,calc(100% - 36px));margin:40px auto 68px;min-height:55vh}
.aff-dashboard-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:15px}
.aff-dashboard-heading h1,.aff-referral h1{font-size:clamp(2rem,5vw,3.55rem);margin:6px 0}
.aff-dashboard-heading p:not(.aff-kicker){color:var(--aff-muted);margin:0}
#affiliate-status{min-height:1.6em;color:var(--aff-muted);margin:10px 0}.aff-error{color:#9b3026!important}
.aff-card{background:#fff;border:1px solid var(--aff-line);border-radius:19px;padding:clamp(16px,3vw,28px);min-width:0}
.aff-card h2{font-size:clamp(1.24rem,2vw,1.55rem);margin-bottom:8px}.aff-card p{margin:0 0 14px;color:var(--aff-muted)}
.aff-card+.aff-card{margin-top:15px}.aff-card form{margin:0}
.aff-join{max-width:580px}.aff-join input:not([type=checkbox]),.aff-join select{width:100%}
.aff-app label{display:block;font-weight:600;margin-bottom:5px}
.aff-app input:not([type=checkbox]),.aff-app select{display:block;font:inherit;color:var(--aff-ink);background:#fff;border:1px solid #a8bcb0;border-radius:9px;padding:9px 11px;min-height:43px;max-width:100%;min-width:0}
.aff-check{display:flex!important;align-items:flex-start;gap:9px;margin:14px 0!important;font-weight:400!important}
.aff-check input{accent-color:var(--aff-green);width:17px;height:17px;flex:none;margin:4px 0 0}
.aff-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:15px 0}.aff-form>div{flex:1 1 168px}.aff-form input,.aff-form select{width:100%}
.aff-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin:0 0 15px;padding:0}
.aff-stats div{padding:15px;border:1px solid var(--aff-line);border-radius:14px;background:#fff;min-width:0}
.aff-stats dt{font-size:.87rem;color:#526058}.aff-stats dd{font-size:clamp(1.35rem,3vw,2rem);font-weight:700;margin:3px 0 0;line-height:1.14;overflow-wrap:anywhere}
.aff-stats div:last-child{background:#e9f4dc;border-color:#c9ded0}
.aff-table-wrap{overflow-x:auto;margin-block:12px 4px;max-width:100%;border:1px solid var(--aff-line);border-radius:12px}
.aff-table-wrap:focus-visible{outline:2px solid #9f730e;outline-offset:3px}
.aff-table{width:100%;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums;font-size:.92rem}
.aff-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.aff-table th,.aff-table td{padding:11px 12px;border-bottom:1px solid var(--aff-line);vertical-align:middle}.aff-table tr:last-child td{border-bottom:0}
.aff-table th{white-space:nowrap;background:#f2f6f1}
.aff-table small{display:block;color:var(--aff-muted);overflow-wrap:anywhere}
.aff-table .aff-button{white-space:nowrap;padding:7px 13px;min-height:36px;font-size:.85rem}
.aff-payout-top,.aff-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.aff-due{font-size:1.33rem;font-weight:700}.aff-row-warn{background:#faf2db;padding:9px 12px;border-radius:8px}
.aff-footer{justify-content:center;padding:16px 16px 24px}
.aff-referral{width:min(570px,calc(100% - 30px));margin:clamp(40px,12vh,130px) auto}
.aff-referral .aff-card{padding:clamp(21px,6vw,43px)}.aff-referral .aff-logo{margin-bottom:13px}
.aff-referral .aff-actions{margin-top:18px}.aff-referral .aff-muted{font-size:.9rem;margin-bottom:0}
.aff-app [hidden]{display:none!important}
@media(max-width:850px){.aff-hero{grid-template-columns:1fr}.aff-example{max-width:475px}.aff-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.aff-landing{width:calc(100% - 28px);margin-top:29px}.aff-steps{grid-template-columns:1fr}.aff-dashboard-heading{display:block}.aff-dashboard-heading>a{display:inline-block;margin-top:8px}.aff-workspace{width:calc(100% - 26px);margin-top:26px}.aff-header{padding:9px 13px;gap:8px}.aff-header nav{gap:7px 12px;font-size:.81rem;justify-content:flex-end}.aff-header nav .aff-button{padding:6px 10px;min-height:34px;font-size:.82rem}.aff-logo img{width:78px}.aff-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.aff-stats div{padding:11px}.aff-form>.aff-button{width:100%}}

.aff-kit{scroll-margin-top:24px}
.aff-kit-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:26px}
.aff-kit-heading h2{margin-bottom:6px}
.aff-kit-heading p,.aff-kit-panel p,.aff-kit-caption p{color:var(--aff-muted);margin:0;line-height:1.55}
.aff-kit-heading .aff-button{flex:none;gap:9px}
.aff-kit-type{font-size:.7rem;color:#d9eadc;letter-spacing:.05em}
.aff-kit h3{font-size:clamp(1.18rem,2.4vw,1.44rem);margin:0 0 12px;letter-spacing:-.025em}
.aff-kit-graphics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.aff-kit-graphic,.aff-kit-panel{border:1px solid var(--aff-line);border-radius:18px;background:#fff;min-width:0}
.aff-kit-graphic{overflow:hidden}
.aff-kit-preview{display:grid;place-items:center;height:clamp(155px,19vw,220px);background:#e9f0e7;padding:12px}
.aff-kit-preview img{display:block;max-height:100%;width:100%;height:100%;object-fit:contain;min-height:0}
.aff-kit-caption{padding:16px;display:grid;justify-items:start;gap:6px}
.aff-kit-caption h4{font-size:1.06rem;margin:0}
.aff-kit-caption p{font-size:.89rem}
.aff-kit-caption .aff-button{margin-top:4px}
.aff-kit-assets{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:16px 0}
.aff-kit-panel{padding:clamp(16px,3vw,26px)}
.aff-kit-logos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 17px}
.aff-kit-mark{display:grid;gap:5px;text-align:center;font-size:.85rem;font-weight:600;color:var(--aff-green);text-decoration:underline;text-underline-offset:3px}
.aff-kit-logo-sample{display:grid;place-items:center;height:clamp(52px,8vw,75px);background:#f8f9f3;padding:8px;border:1px solid var(--aff-line);border-radius:10px}
.aff-kit-logo-sample.dark{background:#192c24;border-color:#192c24}
.aff-kit-logo-sample img{width:min(100%,120px);height:auto;max-height:100%;object-fit:contain}
.aff-kit-logo-sample.icon img{width:min(100%,38px)}
.aff-kit-colors{display:flex;gap:7px 13px;flex-wrap:wrap;list-style:none;margin:0 0 13px;padding:0}
.aff-kit-colors li{display:flex;align-items:center;gap:6px;font-size:.84rem}
.aff-kit-colors code{font-size:.8rem}
.aff-kit-swatch{display:inline-block;width:16px;height:16px;border-radius:4px;border:1px solid #6a7c70}
.aff-kit-swatch.forest{background:#1f4535}.aff-kit-swatch.lime{background:#d6ec9e}.aff-kit-swatch.paper{background:#f8f9f3}
.aff-kit-workflow{display:block;width:min(100%,320px);height:auto;margin-bottom:11px;border:1px solid var(--aff-line);border-radius:10px}
.aff-kit-downloads{padding-left:19px;margin:10px 0 0;line-height:1.7}
.aff-kit-panel a:not(.aff-button){color:#254b39;text-decoration:underline;text-underline-offset:3px}
.aff-kit-copy details{padding-top:11px;margin-top:11px;border-top:1px solid var(--aff-line)}
.aff-kit-copy summary{font-weight:700;cursor:pointer;min-height:30px}
.aff-kit-copy-label{display:block;color:var(--aff-muted);font-size:.9rem;margin:7px 0 5px}
.aff-kit-copy textarea{display:block;width:min(100%,760px);max-width:100%;resize:vertical;min-height:6rem;background:#f7faf6;border:1px solid #a7b9ae;border-radius:9px;color:var(--aff-ink);font:inherit;padding:10px 12px}
.aff-kit-copy button{margin-top:9px}
.aff-kit-copy button[hidden],.aff-kit-status:empty{display:none}
.aff-kit-status{margin-top:9px!important;color:var(--aff-green)!important}
@media(max-width:720px){.aff-kit-heading{align-items:flex-start;flex-direction:column;gap:12px}.aff-kit-graphics{grid-template-columns:1fr}.aff-kit-assets{grid-template-columns:1fr}}
