/**
 * Affiliate programme landing page widgets (ELOM, elom-aff-*): page menu, viewfinder
 * hero, statement, who it's for, how it works, earnings, about us, FAQ and sign-up.
 * Everything is scoped to .aff (each widget's wrapper). Store tokens: Open Sans,
 * weights up to 600, #0071e3 blue, black / white / light grey sections, pill buttons.
 * HUD readouts use the device's monospace font (no web font). --aff-top (height of the
 * store's fixed bars) is set on <html> by affiliate.js.
 */
.aff {
	--aff-ink: #1d1d1f;
	--aff-muted: #6e6e73;
	--aff-line: #e5e5e5;
	--aff-soft: #f5f5f7;
	--aff-blue: #0071e3;
	--aff-blue-dark: #0058b0;
	--aff-blue-on-dark: #64b5ff;
	--aff-green: #30d158;
	--aff-red: #ff453a;
	--aff-ease: cubic-bezier(.22, .7, .2, 1);
	--aff-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	color: var(--aff-ink);
	font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.aff *, .aff *::before, .aff *::after { box-sizing: border-box; }

/* Resets in :where() so they never outweigh the component classes below */
.aff :where(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; }
.aff :where(ul, ol) { padding: 0; list-style: none; }
.aff :where(img) { display: block; max-width: 100%; }
.aff :where(button) { font: inherit; }
.aff :where(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid var(--aff-blue); outline-offset: 3px; }
.aff [id] { scroll-margin-top: calc(var(--aff-top, 0px) + 72px); }
.aff [hidden] { display: none !important; }

/* ── Shared ── */
.aff-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.aff-wrap--narrow { max-width: 1080px; }
.aff-section { padding: 136px 0; background: #fff; }
.aff-section--dark { background: #000; color: #f5f5f7; }
.aff-section--soft { background: var(--aff-soft); }
.aff-section--grid {
	background-color: var(--aff-soft);
	background-image: linear-gradient(#e6e6eb 1px, transparent 1px), linear-gradient(90deg, #e6e6eb 1px, transparent 1px);
	background-size: 56px 56px;
}
.aff-mono { font-family: var(--aff-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.aff-head { display: flex; flex-direction: column; gap: 16px; }
.aff-label { font-size: 15px; font-weight: 600; color: var(--aff-blue); }
.aff-label__num { color: var(--aff-muted); margin-right: 10px; }
.aff-title { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; font-weight: 600; letter-spacing: -.025em; color: var(--aff-ink); }
.aff-lead { font-size: 19px; font-weight: 300; color: var(--aff-muted); max-width: 520px; }
.aff-section--dark .aff-label { color: var(--aff-blue-on-dark); }
.aff-section--dark .aff-label__num { color: #86868b; }
.aff-section--dark .aff-title { color: #f5f5f7; }
.aff-section--dark .aff-lead { color: #a1a1a6; }

.aff-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 32px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s; }
.aff-btn--sm { min-height: 36px; padding: 0 18px; font-size: 14px; }
.aff-btn--blue { background: var(--aff-blue); color: #fff; }
.aff-btn--blue:hover { background: var(--aff-blue-dark); color: #fff; }
.aff-btn--white { background: #fff; color: #000; }
.aff-btn--white:hover { background: #e8e8ed; color: #000; }
.aff-link { display: inline-flex; align-items: center; gap: 6px; min-height: 52px; font-weight: 600; text-decoration: none; }
.aff-link--light, .aff-link--light:hover { color: #fff; }
.aff-link--light:hover { text-decoration: underline; }

.aff-dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; flex: none; }
.aff-dot--green { background: var(--aff-green); }
.aff-dot--red { background: var(--aff-red); }

/* Viewfinder: rounded photo frame with corner brackets */
.aff-viewfinder { position: relative; overflow: hidden; border-radius: 28px; background: #111; }
.aff-corner { position: absolute; z-index: 2; width: 28px; height: 28px; border: 0 solid rgba(255, 255, 255, .85); pointer-events: none; }
.aff-corner--tl { top: 20px; left: 20px; border-top-width: 2px; border-left-width: 2px; }
.aff-corner--tr { top: 20px; right: 20px; border-top-width: 2px; border-right-width: 2px; }
.aff-corner--bl { bottom: 20px; left: 20px; border-bottom-width: 2px; border-left-width: 2px; }
.aff-corner--br { bottom: 20px; right: 20px; border-bottom-width: 2px; border-right-width: 2px; }

.aff-thumb { width: 52px; height: 52px; border-radius: 12px; background: var(--aff-soft); display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.aff .aff-thumb img { width: 42px; height: 42px; object-fit: contain; mix-blend-mode: multiply; }

/* Split: content left, photo right */
.aff-split { display: flex; flex-wrap: wrap; gap: 80px; align-items: flex-start; }
.aff-split--center { align-items: center; gap: 64px; }
.aff-split__main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.aff-split__media { flex: 1 1 460px; min-width: 0; }

/* Underline tabs */
.aff-tabs { display: flex; flex-wrap: wrap; gap: 0 4px; border-bottom: 1px solid var(--aff-line); }
.aff-tabs__btn { min-height: 48px; padding: 0 14px; margin-bottom: -1px; background: none; border: 0; border-bottom: 3px solid transparent; color: var(--aff-muted); font-size: 15px; cursor: pointer; transition: color .25s ease, border-color .3s ease; }
.aff-tabs__btn:hover { color: var(--aff-ink); }
.aff-tabs__btn.is-active { color: var(--aff-blue); font-weight: 600; border-bottom-color: var(--aff-blue); }
.aff-tabs--dark { border-bottom-color: #262626; gap: 4px 28px; }
.aff-tabs--dark .aff-tabs__btn { padding: 0; color: #8e8e93; font-size: 16px; border-bottom-width: 2px; }
.aff-tabs--dark .aff-tabs__btn:hover { color: #f5f5f7; }
.aff-tabs--dark .aff-tabs__btn.is-active { color: #f5f5f7; border-bottom-color: #f5f5f7; }

/* ── Page menu ── */
.aff-subnav-wrap { min-height: 57px; }
.aff-subnav { position: relative; z-index: 50; background: var(--aff-soft); border-bottom: 1px solid #e5e5ea; }
.aff-subnav.is-fixed { position: fixed; top: var(--aff-top, 0px); left: 0; right: 0; }
.aff-subnav__in { max-width: 1400px; margin: 0 auto; padding: 0 40px; min-height: 56px; display: flex; align-items: center; gap: 28px; }
.aff-subnav__brand { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--aff-ink); white-space: nowrap; }
.aff-subnav__links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.aff-subnav__links a { padding: 12px 0; color: #424245; text-decoration: none; white-space: nowrap; }
.aff-subnav__links a:hover, .aff-subnav__links a.is-current { color: var(--aff-ink); }
.aff-subnav__links a.is-current { font-weight: 600; }

/* ── Hero ── */
.aff-hero { background: #000; padding: 20px; }
.aff-hero__frame { max-width: 1400px; margin: 0 auto; min-height: 640px; display: flex; flex-direction: column; justify-content: space-between; }
.aff .aff-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.aff-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.05) 70%), linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 72%, rgba(0,0,0,.6) 100%); }
.aff-hero__track { position: absolute; z-index: 1; width: 170px; height: 120px; transform: translate(-50%, -50%); border: 1.5px solid #2997ff; border-radius: 6px; }
.aff-hero__track span { position: absolute; top: -26px; left: -1px; padding: 2px 8px; border-radius: 4px; background: #2997ff; color: #fff; font-family: var(--aff-mono); font-size: 11px; letter-spacing: .1em; white-space: nowrap; }
.aff-hud { position: relative; z-index: 1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 30px 60px 0; color: rgba(255,255,255,.9); font-family: var(--aff-mono); font-size: 12px; letter-spacing: .12em; }
.aff-hud__group { display: flex; flex-wrap: wrap; gap: 18px; }
.aff-hud__item { display: inline-flex; align-items: center; gap: 8px; }
.aff-gps { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.aff-gps i { width: 3px; background: #fff; }
.aff-gps i:nth-child(1) { height: 4px; } .aff-gps i:nth-child(2) { height: 7px; } .aff-gps i:nth-child(3) { height: 10px; } .aff-gps i:nth-child(4) { height: 12px; }
.aff-battery { position: relative; width: 24px; height: 11px; border: 1.5px solid #fff; border-radius: 3px; }
.aff-battery i { position: absolute; left: 1px; top: 1px; bottom: 1px; width: 80%; background: var(--aff-green); border-radius: 1px; }
.aff-hero__body { position: relative; z-index: 1; max-width: 640px; padding: 40px 60px; display: flex; flex-direction: column; gap: 20px; }
.aff-hero__eyebrow { font-family: var(--aff-mono); font-size: 13px; letter-spacing: .14em; color: #8ec5ff; }
.aff-hero__title { font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; font-weight: 600; letter-spacing: -.025em; color: #fff; }
.aff-hero__text { max-width: 480px; font-size: 19px; line-height: 1.5; font-weight: 300; color: #e8e8ed; }
.aff-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 8px; }
.aff-hero__stats { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 16px 48px; padding: 0 60px 34px; color: #fff; }
.aff-hero__stat { display: flex; flex-direction: column; }
.aff-hero__stat .aff-mono { font-size: 11px; letter-spacing: .14em; color: rgba(255,255,255,.7); }
.aff-hero__stat strong { font-size: 24px; font-weight: 600; }
.aff-hero__sep { width: 1px; background: rgba(255,255,255,.3); }
.aff-hero__scroll { margin-left: auto; align-self: flex-end; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 11px; letter-spacing: .14em; color: rgba(255,255,255,.8); text-decoration: none; }
.aff-hero__scroll:hover { color: #fff; }

/* ── Statement ── */
.aff-statement { padding: 152px 0; }
.aff-statement__text { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.32; font-weight: 300; letter-spacing: -.01em; color: var(--aff-ink); }
.aff-statement__text .is-muted { color: #86868b; }
.aff-statement__pill { display: inline-flex; align-items: center; justify-content: center; width: 1.9em; height: 1.1em; vertical-align: middle; border-radius: 999px; background: var(--aff-soft); overflow: hidden; }
.aff .aff-statement__pill img { height: 100%; width: auto; mix-blend-mode: multiply; }

/* ── Who it's for (profiles) ── */
.aff-profiles .aff-split__main { gap: 48px; }
.aff-profiles .aff-title { font-size: clamp(38px, 4.6vw, 60px); }
.aff-profiles .aff-lead { max-width: 440px; }
.aff-acc { border-top: 1px solid #262626; }
.aff-acc__item { border-bottom: 1px solid #262626; }
.aff-acc__btn { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 80px; padding: 0; background: none; border: 0; color: #8e8e93; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.01em; text-align: left; cursor: pointer; }
.aff-acc__btn > span:first-child { flex: 1; }
.aff-acc__btn:hover, .aff-acc__item.is-open .aff-acc__btn { color: #f5f5f7; }
.aff-acc__item.is-open .aff-acc__btn { font-weight: 600; }
.aff-acc__btn { transition: color .3s ease; }
.aff-acc__icon { position: relative; width: 32px; height: 32px; border-radius: 999px; border: 1px solid #3a3a3a; flex: none; transition: background-color .35s ease, border-color .35s ease, transform .45s var(--aff-ease); }
.aff-acc__icon::before, .aff-acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: #a1a1a6; transform: translate(-50%, -50%); transition: transform .45s var(--aff-ease), background-color .35s ease; }
.aff-acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.aff-acc__item.is-open .aff-acc__icon { background: #f5f5f7; border-color: #f5f5f7; transform: rotate(180deg); }
.aff-acc__item.is-open .aff-acc__icon::before, .aff-acc__item.is-open .aff-acc__icon::after { background: #000; }
.aff-acc__item.is-open .aff-acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
/* Panel slides open: grid row 0fr → 1fr (no fixed heights) */
.aff-acc__panel { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .5s var(--aff-ease), opacity .35s ease, visibility .5s; }
.aff-acc__item.is-open .aff-acc__panel { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition: grid-template-rows .5s var(--aff-ease), opacity .45s ease .1s, visibility 0s; }
.aff-acc__inner { min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 20px; max-width: 460px; color: #a1a1a6; font-size: 17px; }
.aff-acc__inner > :last-child { margin-bottom: 32px; }
.aff-acc__works { font-size: 15px; }
.aff-acc__works span { color: #f5f5f7; }
/* Photos stacked; the open profile's photo cross-fades in with a slight settle */
.aff-profiles__stage { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: #161616; }
.aff-profiles__photo { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.aff-profiles__photo.is-active { opacity: 1; }
.aff .aff-profiles__photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.2s var(--aff-ease); }
.aff .aff-profiles__photo.is-active > img { transform: scale(1); }
.aff-profiles__caption > * { transition: opacity .5s ease .15s, transform .5s var(--aff-ease) .15s; }
.aff-profiles__photo:not(.is-active) .aff-profiles__caption > * { opacity: 0; transform: translateY(10px); }
.aff-profiles__caption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 20px; padding: 120px 28px 28px; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.88) 100%); }
.aff-profiles__headline { max-width: 380px; font-size: 24px; line-height: 1.25; font-weight: 600; color: #fff; }
.aff-profiles__pick { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.22); font-size: 15px; color: #d2d2d7; }
.aff-profiles__pick-name { flex: 1; min-width: 0; }
.aff-profiles__pick strong { color: #fff; font-weight: 600; }
.aff-profiles__pick-earn { white-space: nowrap; }
.aff-profiles__pick-earn strong { color: var(--aff-blue-on-dark); }

/* ── How it works (flight plan) ── */
.aff-steps .aff-wrap { display: flex; flex-direction: column; gap: 56px; }
.aff-steps__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.aff-steps__facts { display: flex; flex-wrap: wrap; gap: 24px; color: var(--aff-muted); }
.aff-steps__facts div { display: flex; gap: 8px; }
.aff-steps__facts dd { color: var(--aff-ink); }
.aff-route { display: flex; align-items: center; }
.aff-route__node { flex: none; width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--aff-blue); color: #fff; font-size: 13px; letter-spacing: 0; }
.aff-route__node--start { background: #fff; border: 2px solid var(--aff-ink); color: var(--aff-ink); font-weight: 600; font-size: 16px; }
.aff-route__node--end { background: #000; }
.aff-route__line { flex: 1; border-top: 2px dashed var(--aff-blue); }
.aff-steps__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.aff-step { display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.aff-step__meta { display: flex; justify-content: space-between; gap: 12px; color: #86868b; }
.aff-step__tag { color: var(--aff-blue); }
.aff-step h3 { margin-top: 10px; font-size: 26px; font-weight: 600; color: var(--aff-ink); }
.aff-step p { color: var(--aff-muted); }
.aff-step--last { background: #000; }
.aff-step--last .aff-step__tag { color: #2997ff; }
.aff-step--last .aff-step__meta { color: #a1a1a6; }
.aff-step--last h3 { color: #fff; }
.aff-step--last p { color: #a1a1a6; }

/* ── Earnings ── */
.aff-earn .aff-wrap { display: flex; flex-direction: column; gap: 64px; }
.aff-earn__grid { display: flex; flex-wrap: wrap; gap: 80px; align-items: center; }
.aff-earn__stage-col { flex: 1.15 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.aff-earn__stage { position: relative; aspect-ratio: 5 / 4; border-radius: 28px; background: var(--aff-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.aff .aff-earn__stage img { width: 68%; height: 72%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .25s ease, transform .45s var(--aff-ease); }
.aff .aff-earn__stage.is-swapping img { opacity: 0; transform: scale(.96) translateY(6px); }
.aff-earn__stage-text { transition: opacity .25s ease; }
.aff-earn__stage.is-swapping .aff-earn__stage-text { opacity: 0; }
.aff-earn__stage-text { position: absolute; left: 32px; bottom: 28px; display: flex; flex-direction: column; color: var(--aff-ink); }
.aff-earn__stage-text strong { font-size: 22px; font-weight: 600; }
.aff-earn__stage-text > span { font-size: 15px; color: var(--aff-muted); }
.aff-earn__numbers { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.aff-earn__label { display: flex; justify-content: space-between; font-size: 15px; color: #a1a1a6; }
.aff-earn__label strong { color: #f5f5f7; font-weight: 600; }
.aff-earn__per { font-size: 40px; font-weight: 600; line-height: 1.15; color: #f5f5f7; }
.aff-earn__slider { display: flex; flex-direction: column; gap: 8px; }
.aff-earn__slider input[type="range"] { width: 100%; height: 44px; margin: 0; accent-color: #2997ff; cursor: pointer; }
.aff-earn__month { margin-top: 8px; font-size: clamp(64px, 8vw, 112px); font-weight: 600; line-height: 1; letter-spacing: -.035em; color: #fff; }
.aff-earn__year { margin-top: 16px; font-size: 17px; color: #a1a1a6; }
.aff-earn__year strong { color: #2997ff; font-weight: 600; }
.aff-earn__note { font-size: 13px; color: var(--aff-muted); }

/* ── About us ── */
.aff-about .aff-split__main { gap: 32px; }
.aff-about__tabs { display: flex; flex-direction: column; gap: 24px; }
.aff-about__panel { min-height: 110px; display: flex; flex-direction: column; gap: 8px; }
.aff-about__panel h3 { font-size: 21px; font-weight: 600; color: var(--aff-ink); }
.aff-about__panel p { max-width: 440px; color: var(--aff-muted); }
.aff-about__tabs.is-ready .aff-about__panel:not([hidden]) { animation: affFadeUp .45s var(--aff-ease) both; }
@keyframes affFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.aff-about__photo { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: #000; }
.aff .aff-about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aff-about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.7) 100%); pointer-events: none; }
.aff-about__status { position: absolute; z-index: 1; top: 20px; left: 20px; display: flex; align-items: center; gap: 8px; padding: 3px 8px; border-radius: 4px; background: rgba(0,0,0,.5); color: #fff; font-size: 11px; }
.aff-about__status .aff-dot { width: 6px; height: 6px; }
.aff-about__cities { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.aff-about__cities span { padding: 4px 12px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; color: #fff; letter-spacing: .1em; }

/* ── FAQ ── */
.aff-faq__grid { display: flex; flex-wrap: wrap; gap: 64px; }
.aff-faq__grid > .aff-head { flex: 1 1 320px; min-width: 0; }
.aff-faq__list { flex: 1.6 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.aff-faq__item { background: #fff; border-radius: 16px; padding: 0 24px; }
.aff-faq__item summary { display: flex; align-items: center; gap: 16px; min-height: 72px; color: var(--aff-ink); font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.aff-faq__item summary::-webkit-details-marker { display: none; }
.aff-faq__item summary > span:first-child { flex: 1; }
.aff-faq__icon { position: relative; width: 16px; height: 16px; flex: none; transition: transform .4s var(--aff-ease); }
.aff-faq__body { overflow: hidden; }
.aff-faq__item { transition: box-shadow .3s ease; }
.aff-faq__item[open] { box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.aff-faq__icon::before, .aff-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--aff-ink); transform: translate(-50%, -50%); }
.aff-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.aff-faq__item[open] .aff-faq__icon { transform: rotate(45deg); }
.aff-faq__item p { padding-bottom: 24px; color: var(--aff-muted); }

/* ── Sign-up ── */
.aff-apply { background: #000; padding: 20px; }
.aff-apply__frame { max-width: 1400px; margin: 0 auto; }
.aff .aff-apply__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.aff-apply__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.3) 100%); }
.aff-apply__in { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding: 96px 60px; }
.aff-apply__copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; color: #fff; }
.aff-apply__status { display: flex; align-items: center; gap: 10px; color: var(--aff-green); font-size: 13px; letter-spacing: .14em; }
.aff-apply__title { font-size: clamp(40px, 5vw, 68px); line-height: 1.02; font-weight: 600; letter-spacing: -.025em; color: #fff; }
.aff-apply__text { max-width: 420px; font-size: 19px; font-weight: 300; color: #e8e8ed; }
.aff-apply__contact { font-size: 14px; color: #a1a1a6; }
.aff-apply__contact a { color: #fff; }

/* ── Frame style "Full width": photo edge to edge, no rounded corners or black margin;
   text lines up with the 1200px content column of the other sections ── */
.aff { --aff-edge-min: 60px; }
.aff-hero.is-full, .aff-apply.is-full { --aff-edge: max(var(--aff-edge-min), calc((100% - 1200px) / 2 + 24px)); padding: 0; }
.aff-hero.is-full .aff-viewfinder, .aff-apply.is-full .aff-viewfinder { max-width: none; border-radius: 0; }
.aff-hero.is-full .aff-hero__frame { min-height: 680px; }
.aff-hero.is-full .aff-hud, .aff-hero.is-full .aff-hero__body, .aff-hero.is-full .aff-hero__stats { padding-left: var(--aff-edge); padding-right: var(--aff-edge); }
.aff-hero.is-full .aff-hero__body { max-width: none; }
.aff-hero.is-full .aff-hero__body > * { max-width: 640px; }
.aff-apply.is-full .aff-apply__in { padding: 112px var(--aff-edge); }

.aff-form { flex: 1 1 460px; min-width: 0; padding: 36px; border-radius: 20px; background: #fff; color: var(--aff-ink); }
.aff-form__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--aff-line); }
.aff-form__head .aff-mono { font-size: 11px; letter-spacing: .14em; color: #86868b; }
.aff-form__title { font-size: 22px; font-weight: 600; }
.aff-form__empty { color: var(--aff-muted); }

/* Contact Form 7 inside the card (form markup: .aff-f-grid > .aff-f-field) */
.aff-form .wpcf7 form { margin: 0; }
.aff-form .aff-f-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.aff-form .aff-f-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.aff-form .aff-f-field--full, .aff-form .aff-f-terms, .aff-form .aff-f-submit { grid-column: 1 / -1; }
.aff-form label { font-size: 14px; font-weight: 600; color: var(--aff-ink); }
.aff-form .wpcf7-form-control-wrap { display: block; }
.aff-form input[type="text"], .aff-form input[type="email"], .aff-form input[type="url"], .aff-form select {
	width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #d2d2d7; border-radius: 12px;
	background-color: #fff; color: var(--aff-ink); font: inherit; font-weight: 400; box-shadow: none;
}
.aff-form select {
	-webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center; background-size: 16px;
}
.aff-form input:focus, .aff-form select:focus { border-color: var(--aff-blue); outline: none; box-shadow: 0 0 0 3px rgba(0, 113, 227, .2); }
.aff-form .aff-f-terms { font-size: 14px; font-weight: 400; color: var(--aff-muted); }
.aff-form .aff-f-terms .wpcf7-list-item { margin: 0; }
.aff-form .aff-f-terms label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--aff-muted); }
.aff-form .aff-f-terms input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--aff-blue); flex: none; }
.aff-form .aff-f-terms a { color: var(--aff-blue); }
.aff-form input[type="submit"] {
	width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: #000; color: #fff;
	font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color .2s;
}
.aff-form input[type="submit"]:hover { background: #333; }
.aff-form input[type="submit"]:disabled { opacity: .5; cursor: not-allowed; }
.aff-form .wpcf7-spinner { display: block; margin: 8px auto 0; }
.aff-form .wpcf7-not-valid-tip { margin-top: 4px; font-size: 13px; color: #d92d20; }
.aff-form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; font-size: 14px; }

/* ── Tablet ── */
@media (max-width: 1024px) {
	.aff-section { padding: 104px 0; }
	.aff-subnav__in { padding: 0 24px; gap: 20px; }
	.aff-subnav__links { gap: 20px; }
	.aff-split, .aff-earn__grid { gap: 56px; }
	.aff-hud, .aff-hero__body, .aff-hero__stats { padding-left: 40px; padding-right: 40px; }
	.aff-hero__track { display: none; }
	.aff { --aff-edge-min: 40px; }
	.aff-apply.is-full .aff-apply__in { padding-top: 88px; padding-bottom: 88px; }
	.aff-profiles__pick { flex-wrap: wrap; row-gap: 6px; }
	.aff-profiles__pick-name { flex-basis: calc(100% - 66px); }
	.aff-profiles__pick-earn { flex-basis: 100%; padding-left: 66px; }
	.aff-apply__in { padding: 80px 40px; }
}

/* ── Narrow tablet: the five menu links no longer fit next to the page name ── */
@media (max-width: 1000px) {
	.aff-subnav__links { display: none; }
	.aff-subnav .aff-btn { margin-left: auto; }
	/* Stacked layouts: wider, shorter photos so they don't fill the whole screen */
	.aff-profiles__stage, .aff-earn__stage { aspect-ratio: 16 / 10; }
}

/* ── Mobile ── */
@media (max-width: 767px) {
	.aff-section { padding: 80px 0; }
	.aff-statement { padding: 88px 0; }
	.aff-subnav-wrap { min-height: 53px; }
	.aff-subnav__in { min-height: 52px; padding: 0 16px; gap: 12px; }
	.aff-subnav__links { display: none; }
	.aff-subnav .aff-btn { margin-left: auto; }

	.aff-hero, .aff-apply { padding: 12px; }
	.aff-viewfinder { border-radius: 20px; }
	.aff-corner { width: 20px; height: 20px; }
	.aff-corner--tl, .aff-corner--tr { top: 12px; } .aff-corner--bl, .aff-corner--br { bottom: 12px; }
	.aff-corner--tl, .aff-corner--bl { left: 12px; } .aff-corner--tr, .aff-corner--br { right: 12px; }
	.aff-hero__frame { min-height: 600px; }
	.aff .aff-hero__img { object-position: 68% 40%; }
	.aff-hero__track, .aff-hud__group .aff-hud__item:not(:first-child) { display: none; }
	.aff-hud { padding: 24px 28px 0; }
	.aff-hero__body { padding: 32px 28px; }
	.aff-hero__shade { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.8) 100%); }
	.aff-hero__stats { padding: 0 28px 28px; gap: 16px 24px; }
	.aff-hero__sep, .aff-hero__scroll { display: none; }
	.aff-hero__stat { flex: 1 1 40%; }
	.aff-hero__stat strong { font-size: 20px; }

	.aff-split, .aff-earn__grid { gap: 40px; }
	.aff-split__main, .aff-split__media, .aff-earn__stage-col, .aff-earn__numbers, .aff-faq__list, .aff-form, .aff-apply__copy { flex-basis: 100%; }
	.aff-acc__btn { min-height: 68px; }
	.aff-profiles__stage { aspect-ratio: 4 / 5; }
	.aff-profiles__caption { padding: 96px 20px 20px; }
	.aff-profiles__headline { font-size: 20px; }
	.aff-profiles__pick { flex-wrap: wrap; row-gap: 6px; }
	.aff-profiles__pick-name { flex-basis: calc(100% - 66px); }
	.aff-profiles__pick-earn { flex-basis: 100%; padding-left: 66px; }

	.aff-route__node { width: 36px; height: 36px; }
	.aff-step { padding: 24px; }

	.aff-earn .aff-wrap { gap: 40px; }
	.aff-tabs--dark { gap: 4px 20px; overflow-x: auto; flex-wrap: nowrap; }
	.aff-tabs--dark .aff-tabs__btn { white-space: nowrap; }
	.aff-earn__stage-text { left: 20px; bottom: 18px; }
	.aff-earn__numbers { gap: 28px; }

	.aff-faq__grid { gap: 32px; }
	.aff-faq__item { padding: 0 18px; }

	.aff-apply__in { padding: 56px 24px 24px; gap: 32px; }
	.aff { --aff-edge-min: 24px; }
	.aff-hero.is-full .aff-hero__frame { min-height: 620px; }
	.aff-apply.is-full .aff-apply__in { padding-top: 64px; padding-bottom: 40px; }
	.aff-form { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.aff *, .aff *::before, .aff *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
