/* ==========================================================================
   Nicco Affiliate Program - public pages (landing, signup, login, dashboard, terms)
   Self-contained: does not depend on the site's page CSS beyond fonts/vars.
   ========================================================================== */
.aff-page {
  --aff-accent: #f2520d;
  --aff-accent-2: #ff8a3d;
  --aff-accent-soft: rgba(242, 82, 13, 0.1);
  --aff-dark: #131313;
  --aff-ink: #1a1d26;
  --aff-muted: #5f6b7d;
  --aff-border: #e5e5e5;
  --aff-bg: #f6f6f6;
  --aff-radius: 16px;
  --aff-shadow: 0 8px 28px rgba(19, 19, 19, 0.05);
  --aff-shadow-lg: 0 24px 60px rgba(19, 19, 19, 0.14);
  --aff-grad: #f2520d;
}
.aff-page .page-wrapper { overflow-x: clip; }
.aff-hidden { display: none !important; }
/* the site's global body text is justified; keep this program's copy left-aligned/centred as designed */
.aff-page .aff-section p, .aff-page .aff-section li, .aff-page .aff-hero p, .aff-page .aff-dash p { text-align: left; }
.aff-page .aff-section-head p, .aff-page .aff-step p, .aff-page .aff-cta p, .aff-page .aff-form-foot, .aff-page .aff-keypoint span { text-align: center; }
.aff-page .aff-section-head h2, .aff-page .aff-cta h2 { text-wrap: balance; }

/* -------------------------------------------------------------- banner */

/* ------------------------------------------------------------ primitives */
.aff-section { position: relative; padding: 96px 0; }
.aff-section--muted { background: var(--aff-bg); }
.aff-section--dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(242, 82, 13, 0.28), transparent 60%), #0d0d10; color: #fff; }
.aff-section-head { max-width: 840px; margin: 0 auto 54px; text-align: center; }
.aff-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 7px 16px; border-radius: 999px; background: var(--aff-accent-soft); color: var(--aff-accent); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.aff-eyebrow .aff-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aff-accent); box-shadow: 0 0 0 0 rgba(242, 82, 13, .6); animation: affPulse 1.8s infinite; }
.aff-section--dark .aff-eyebrow { background: rgba(255, 255, 255, 0.1); color: var(--aff-accent-2); }
.aff-section-head h2, .aff-h2 { margin: 0 0 16px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 44px; font-weight: 700; line-height: 1.12; color: var(--aff-ink); }
.aff-section--dark .aff-section-head h2 { color: #fff; }
.aff-section-head p { margin: 0; color: var(--aff-muted); font-size: 18px; line-height: 1.75; }
.aff-section--dark .aff-section-head p { color: #b9bfcc; }
.aff-grad { background: var(--aff-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

.aff-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 32px; border: 0; border-radius: 999px; background: var(--aff-grad); color: #fff; font-family: inherit; font-size: 16px; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; box-shadow: 0 14px 30px rgba(242, 82, 13, 0.32); transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; }
.aff-btn:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 40px rgba(242, 82, 13, 0.4); }
.aff-btn i { transition: transform .25s ease; }
.aff-btn:hover i.fa-arrow-right { transform: translateX(4px); }
.aff-btn--ghost { background: #fff; color: var(--aff-ink); box-shadow: inset 0 0 0 1.5px rgba(19, 19, 19, 0.16); }
.aff-btn--ghost:hover { color: var(--aff-accent); box-shadow: inset 0 0 0 1.5px var(--aff-accent), 0 12px 26px rgba(19, 19, 19, 0.08); }
.aff-btn--light { background: #fff; color: var(--aff-accent); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18); }
.aff-btn--light:hover { color: #c2410c; }
.aff-btn--outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); }
.aff-btn--outline-light:hover { color: #fff; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1.5px #fff; }
.aff-btn--sm { padding: 10px 20px; font-size: 14px; }
.aff-btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

/* scroll reveal */
.aff-js .aff-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.aff-js .aff-reveal.is-in { opacity: 1; transform: none; }

@keyframes affPulse { 0% { box-shadow: 0 0 0 0 rgba(242, 82, 13, .55); } 70% { box-shadow: 0 0 0 10px rgba(242, 82, 13, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 82, 13, 0); } }
@keyframes affFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes affSpin { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------------- hero */
.aff-hero { position: relative; padding: 90px 0 110px; background: linear-gradient(180deg, #fff 0%, var(--aff-bg) 100%); overflow: hidden; }
.aff-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.aff-hero__bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.aff-hero__bg span:nth-child(1) { width: 460px; height: 460px; top: -140px; right: -80px; background: rgba(255, 138, 61, .45); }
.aff-hero__bg span:nth-child(2) { width: 360px; height: 360px; bottom: -160px; left: -120px; background: rgba(242, 82, 13, .22); }
.aff-hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.aff-hero h1 { margin: 0 0 22px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 62px; font-weight: 700; line-height: 1.06; letter-spacing: -.02em; color: var(--aff-ink); }
.aff-hero__lead { margin: 0 0 32px; max-width: 560px; color: var(--aff-muted); font-size: 19px; line-height: 1.8; }
.aff-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.aff-hero__trust { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 38px 0 0; padding: 0; list-style: none; }
.aff-hero__trust li { display: flex; align-items: center; gap: 10px; color: var(--aff-ink); font-size: 15px; font-weight: 700; }
.aff-hero__trust i { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--aff-accent-soft); color: var(--aff-accent); font-size: 13px; }

.aff-hero__visual { position: relative; padding: 0 28px 28px 0; }
.aff-hero__photo { position: relative; margin: 0; border-radius: 36px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--aff-shadow-lg); }
.aff-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 40%; display: block; }
.aff-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 19, 19, 0) 55%, rgba(19, 19, 19, .45) 100%); }
.aff-hero__visual::before { content: ""; position: absolute; inset: 22px 0 0 22px; border: 2px dashed rgba(242, 82, 13, .35); border-radius: 40px; z-index: -1; }
.aff-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); box-shadow: 0 18px 44px rgba(19, 19, 19, .2); animation: affFloat 5s ease-in-out infinite; }
.aff-float__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--aff-grad); color: #fff; font-size: 17px; flex: 0 0 auto; }
.aff-float strong { display: block; color: var(--aff-ink); font-size: 15px; line-height: 1.25; }
.aff-float span.aff-float__sub { display: block; margin-top: 2px; color: var(--aff-muted); font-size: 12.5px; }
.aff-float--lead { top: 34px; left: -34px; }
.aff-float--earn { right: 0; bottom: 8px; animation-delay: -2.4s; }
.aff-float--earn .aff-float__icon { background: linear-gradient(135deg, #16a34a, #4ade80); }
.aff-float--earn strong { font-size: 22px; font-family: var(--heading-font-family, "Outfit", sans-serif); }
.aff-rate-badge { position: absolute; z-index: 4; top: -26px; right: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 124px; height: 124px; border-radius: 50%; background: var(--aff-dark); color: #fff; text-align: center; box-shadow: 0 18px 40px rgba(19, 19, 19, .35); }
.aff-rate-badge::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px dashed var(--aff-accent-2); animation: affSpin 18s linear infinite; }
.aff-rate-badge strong { font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 38px; line-height: 1; color: var(--aff-accent-2); }
.aff-rate-badge > span { margin-top: 4px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #d4d4d8; }

/* ----------------------------------------------------------- stats band */
.aff-stats-band { position: relative; margin-top: -54px; z-index: 5; }
.aff-stats-band__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: 28px; background: var(--aff-dark); color: #fff; box-shadow: var(--aff-shadow-lg); overflow: hidden; }
.aff-stats-band__item { position: relative; padding: 32px 26px; text-align: center; }
.aff-stats-band__item + .aff-stats-band__item::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(255, 255, 255, .14); }
.aff-stats-band__item strong { display: block; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 44px; line-height: 1.05; color: var(--aff-accent-2); }
.aff-stats-band__item > span { display: block; margin-top: 8px; color: #c4c8d2; font-size: 14.5px; font-weight: 600; }

/* ----------------------------------------------------------------- steps */
.aff-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.aff-steps::before { content: ""; position: absolute; top: 46px; left: 16.5%; right: 16.5%; border-top: 2px dashed rgba(242, 82, 13, .4); }
.aff-step { position: relative; padding: 0 12px; text-align: center; }
.aff-step__num { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 92px; height: 92px; margin-bottom: 24px; border-radius: 50%; background: #fff; border: 2px solid rgba(242, 82, 13, .25); box-shadow: 0 14px 34px rgba(242, 82, 13, .18); color: var(--aff-accent); font-size: 32px; }
.aff-step__num b { position: absolute; top: -4px; right: -4px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--aff-grad); color: #fff; font-size: 14px; font-weight: 800; }
.aff-step h3 { margin: 0 0 10px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 24px; color: var(--aff-ink); }
.aff-step p { margin: 0 auto; max-width: 320px; color: var(--aff-muted); font-size: 16px; line-height: 1.75; }

/* ---------------------------------------------------------------- cards */
.aff-grid { display: grid; gap: 24px; }
.aff-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aff-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.aff-card { position: relative; padding: 34px 28px; border: 1px solid var(--aff-border); border-radius: var(--aff-radius); background: #fff; box-shadow: var(--aff-shadow); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; overflow: hidden; }
.aff-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--aff-grad); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.aff-card:hover { transform: translateY(-8px); border-color: rgba(242, 82, 13, .28); box-shadow: 0 28px 60px rgba(242, 82, 13, .16); }
.aff-card:hover::after { transform: scaleX(1); }
.aff-card h3 { margin: 22px 0 10px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 22px; color: var(--aff-ink); }
.aff-card p { margin: 0; color: var(--aff-muted); font-size: 15.5px; line-height: 1.75; }
.aff-icon { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 18px; background: var(--aff-grad); color: #fff; font-size: 24px; box-shadow: 0 12px 26px rgba(242, 82, 13, .28); transition: transform .35s ease; }
.aff-card:hover .aff-icon { transform: rotate(-8deg) scale(1.08); }
.aff-card--soft { background: linear-gradient(180deg, #fff, #fff7f2); }

/* ------------------------------------------------------------ calculator */
.aff-calc { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; padding: 18px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 36px; background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.aff-calc__controls { padding: 34px; }
.aff-calc__controls h3 { margin: 0 0 8px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 30px; color: #fff; }
.aff-calc__controls > p { margin: 0 0 30px; color: #b9bfcc; font-size: 15.5px; line-height: 1.7; }
.aff-range { margin-bottom: 30px; }
.aff-range__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; color: #e5e7eb; font-size: 15px; font-weight: 700; }
.aff-range__top output { font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 26px; color: var(--aff-accent-2); }
.aff-range input[type="range"] { width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--aff-accent) var(--fill, 30%), rgba(255, 255, 255, .16) var(--fill, 30%)); -webkit-appearance: none; appearance: none; outline: none; cursor: pointer; }
.aff-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 5px solid var(--aff-accent); box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.aff-range input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--aff-accent); box-shadow: 0 4px 14px rgba(0, 0, 0, .4); }
.aff-range__scale { display: flex; justify-content: space-between; margin-top: 8px; color: #8b93a3; font-size: 12.5px; }
.aff-calc__result { display: flex; flex-direction: column; justify-content: center; padding: 38px 34px; border-radius: 26px; background: var(--aff-grad); color: #fff; position: relative; overflow: hidden; }
.aff-calc__result::before { content: ""; position: absolute; width: 280px; height: 280px; right: -90px; top: -90px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.aff-calc__result > * { position: relative; }
.aff-calc__label { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.aff-calc__big { margin: 8px 0 4px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 64px; font-weight: 700; line-height: 1.05; }
.aff-calc__line { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .28); font-size: 16px; }
.aff-calc__line strong { font-size: 18px; }
.aff-calc__result small { display: block; margin-top: 14px; color: rgba(255, 255, 255, .85); font-size: 13px; line-height: 1.6; }

/* ------------------------------------------------------------- benefits */
.aff-benefit { display: flex; gap: 20px; padding: 28px; border: 1px solid var(--aff-border); border-radius: 22px; background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.aff-benefit:hover { transform: translateY(-5px); box-shadow: var(--aff-shadow); }
.aff-benefit i { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 16px; background: var(--aff-accent-soft); color: var(--aff-accent); font-size: 22px; }
.aff-benefit h3 { margin: 0 0 6px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 20px; color: var(--aff-ink); }
.aff-benefit p { margin: 0; color: var(--aff-muted); font-size: 15px; line-height: 1.7; }

/* ------------------------------------------------------------------ FAQ */
.aff-faq { max-width: 880px; margin: 0 auto; }
.aff-faq details { margin-bottom: 14px; border: 1px solid var(--aff-border); border-radius: 20px; background: #fff; transition: box-shadow .3s ease, border-color .3s ease; }
.aff-faq details[open] { border-color: rgba(242, 82, 13, .35); box-shadow: 0 18px 44px rgba(242, 82, 13, .1); }
.aff-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; color: var(--aff-ink); font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; }
.aff-faq summary::-webkit-details-marker { display: none; }
.aff-faq summary::after { content: "+"; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--aff-accent-soft); color: var(--aff-accent); font-size: 22px; line-height: 1; transition: transform .3s ease, background .3s ease, color .3s ease; }
.aff-faq details[open] summary::after { content: "\2212"; background: var(--aff-accent); color: #fff; }
.aff-faq details p { margin: 0; padding: 0 26px 24px; color: var(--aff-muted); font-size: 16px; line-height: 1.8; }

/* ------------------------------------------------------------------ CTA */
.aff-cta { position: relative; overflow: hidden; padding: 72px 48px; border-radius: 40px; background: linear-gradient(110deg, rgba(10, 10, 12, .92), rgba(194, 65, 12, .86)); color: #fff; text-align: center; box-shadow: var(--aff-shadow-lg); }
.aff-cta::before { content: ""; position: absolute; width: 420px; height: 420px; left: -140px; bottom: -200px; border-radius: 50%; background: rgba(255, 138, 61, .35); filter: blur(60px); }
.aff-cta > * { position: relative; }
.aff-cta h2 { margin: 0 0 14px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 46px; color: #fff; }
.aff-cta p { margin: 0 auto 30px; max-width: 620px; color: #ffe6d9; font-size: 18px; line-height: 1.75; }
.aff-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ----------------------------------------------------------- auth layout */
.aff-auth-section { padding: 90px 0 110px; background: radial-gradient(900px 400px at 100% 0%, rgba(255, 138, 61, .18), transparent 60%), var(--aff-bg); }
.aff-auth { display: grid; grid-template-columns: .9fr 1.1fr; max-width: 1120px; margin: 0 auto; border-radius: 36px; overflow: hidden; background: #fff; box-shadow: var(--aff-shadow-lg); }
.aff-auth--login { grid-template-columns: 1fr 1fr; max-width: 980px; }
.aff-auth__side { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 46px 40px; color: #fff; background: linear-gradient(180deg, rgba(10, 10, 12, .35), rgba(10, 10, 12, .92)), var(--aff-side-img, url(/affiliate/assets/img/auth-signup.svg?v=1)) center / cover; min-height: 520px; }
.aff-auth__side h2 { margin: 0 0 12px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 34px; line-height: 1.15; color: #fff; }
.aff-auth__side > p { margin: 0 0 24px; color: #d6d9e0; font-size: 16px; line-height: 1.7; }
.aff-auth__side ul { margin: 0; padding: 0; list-style: none; }
.aff-auth__side li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 15.5px; font-weight: 600; }
.aff-auth__side li i { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--aff-grad); font-size: 12px; flex: 0 0 auto; }
.aff-auth__side .aff-auth__pill { position: relative; align-self: flex-start; margin: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.aff-auth__side .aff-auth__pill b { color: var(--aff-accent-2); font-size: 18px; }
.aff-auth__main { padding: 50px 48px; }
.aff-form-wrap { max-width: 760px; margin: 0 auto; }
.aff-form-wrap h2 { margin: 0 0 8px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 32px; color: var(--aff-ink); }
.aff-form-wrap > p { margin: 0 0 26px; color: var(--aff-muted); line-height: 1.7; }
.aff-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.aff-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.aff-form-grid .aff-field { margin-bottom: 0; }
.aff-field--full { grid-column: 1 / -1; }
.aff-field label { font-size: 14px; font-weight: 800; color: var(--aff-ink); }
.aff-field label small { font-weight: 500; color: var(--aff-muted); }
.aff-field input, .aff-field textarea, .aff-field select { width: 100%; padding: 14px 16px; border: 1.5px solid rgba(19, 19, 19, .12); border-radius: 14px; background: #fbfaf9; color: var(--aff-ink); font-size: 15px; font-family: inherit; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.aff-field textarea { min-height: 104px; resize: vertical; }
.aff-field input:focus, .aff-field textarea:focus, .aff-field select:focus { outline: none; border-color: var(--aff-accent); background: #fff; box-shadow: 0 0 0 4px rgba(242, 82, 13, .13); }
.aff-check { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 20px; font-size: 14px; line-height: 1.6; color: var(--aff-muted); }
.aff-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--aff-accent); flex: 0 0 auto; }
.aff-check a { color: var(--aff-accent); font-weight: 700; }
.aff-captcha { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 4px 0 18px; }
.aff-captcha__media { display: flex; align-items: center; gap: 8px; }
.aff-captcha__media img { border-radius: 12px; border: 1px solid var(--aff-border); background: #fff; min-width: 168px; min-height: 56px; }
.aff-captcha__refresh { width: 40px; height: 40px; border: 1px solid var(--aff-border); border-radius: 50%; background: #fff; color: var(--aff-ink); cursor: pointer; transition: transform .4s ease, color .2s ease; }
.aff-captcha__refresh:hover { color: var(--aff-accent); transform: rotate(180deg); }
.aff-captcha input { flex: 1 1 160px; padding: 14px 16px; border: 1.5px solid rgba(19, 19, 19, .12); border-radius: 14px; background: #fbfaf9; font-size: 15px; text-transform: uppercase; letter-spacing: .14em; }
.aff-captcha input:focus { outline: none; border-color: var(--aff-accent); box-shadow: 0 0 0 4px rgba(242, 82, 13, .13); }
.aff-alert { margin: 0 0 18px; padding: 14px 18px; border-radius: 14px; font-size: 14.5px; line-height: 1.55; }
.aff-alert--ok { background: #dcfce7; color: #166534; }
.aff-alert--err { background: #fee2e2; color: #991b1b; }
.aff-alert--info { background: #fff7ed; color: #9a3412; }
.aff-form-foot { margin-top: 20px; text-align: center; font-size: 14.5px; color: var(--aff-muted); }
.aff-form-foot a { color: var(--aff-accent); font-weight: 800; cursor: pointer; }
.aff-btn--block { width: 100%; }

/* ------------------------------------------------------------ dashboard */
.aff-dash { padding: 56px 0 96px; background: var(--aff-bg); }
.aff-dash__hero { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 26px; padding: 36px 40px; border-radius: 30px; background: radial-gradient(700px 260px at 100% 0%, rgba(242, 82, 13, .55), transparent 65%), linear-gradient(135deg, #131313, #26160d); color: #fff; box-shadow: var(--aff-shadow-lg); overflow: hidden; }
.aff-dash__hero h1 { margin: 0 0 8px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 36px; color: #fff; }
.aff-dash__hero p { margin: 0; color: #d4d4d8; font-size: 16px; }
.aff-dash__hero strong { color: var(--aff-accent-2); }
.aff-dash__hero .aff-btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.aff-dash__hero .aff-btn--ghost:hover { background: #fff; color: var(--aff-dark); }
.aff-code-pill { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--aff-grad); color: #fff; font-weight: 800; letter-spacing: .08em; }
.aff-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 18px; margin-bottom: 26px; }
.aff-stat { position: relative; padding: 24px 22px; border: 1px solid var(--aff-border); border-radius: 22px; background: #fff; box-shadow: var(--aff-shadow); transition: transform .3s ease; }
.aff-stat:hover { transform: translateY(-4px); }
.aff-stat i { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: var(--aff-accent-soft); color: var(--aff-accent); font-size: 16px; }
.aff-stat span { display: block; font-size: 12.5px; font-weight: 800; color: var(--aff-muted); text-transform: uppercase; letter-spacing: .08em; }
.aff-stat strong { display: block; margin-top: 6px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 32px; color: var(--aff-ink); }
.aff-stat--accent { background: var(--aff-grad); border-color: transparent; }
.aff-stat--accent i { background: rgba(255, 255, 255, .22); color: #fff; }
.aff-stat--accent span { color: rgba(255, 255, 255, .88); }
.aff-stat--accent strong { color: #fff; }
.aff-panel { margin-bottom: 24px; padding: 32px; border: 1px solid var(--aff-border); border-radius: 26px; background: #fff; box-shadow: var(--aff-shadow); }
.aff-panel h2 { margin: 0 0 6px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 24px; color: var(--aff-ink); }
.aff-panel > p { margin: 0 0 20px; color: var(--aff-muted); font-size: 15.5px; line-height: 1.7; }
.aff-linkbox { display: flex; flex-wrap: wrap; gap: 12px; }
.aff-linkbox input { flex: 1 1 320px; padding: 15px 18px; border: 1.5px dashed rgba(242, 82, 13, .5); border-radius: 14px; background: #fff7f2; font-size: 15px; font-weight: 700; color: var(--aff-ink); }
.aff-linkgen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.aff-linkgen select { flex: 0 1 280px; padding: 13px 16px; border: 1.5px solid rgba(19, 19, 19, .12); border-radius: 14px; font-size: 14.5px; background: #fff; }
.aff-table-wrap { overflow-x: auto; }
.aff-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.aff-table th { padding: 12px 14px; background: #faf7f4; border-bottom: 1px solid var(--aff-border); text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--aff-muted); white-space: nowrap; }
.aff-table th:first-child { border-radius: 12px 0 0 12px; }
.aff-table th:last-child { border-radius: 0 12px 12px 0; }
.aff-table td { padding: 15px 14px; border-bottom: 1px solid var(--aff-border); color: var(--aff-ink); vertical-align: middle; }
.aff-empty { padding: 34px 8px; text-align: center; color: var(--aff-muted); }
.aff-status { display: inline-flex; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: #e5e7eb; color: #374151; }
.aff-status--qualified { background: #dbeafe; color: #1e40af; }
.aff-status--won { background: #fef3c7; color: #92400e; }
.aff-status--approved, .aff-status--paid { background: #dcfce7; color: #166534; }
.aff-status--rejected, .aff-status--duplicate { background: #fee2e2; color: #991b1b; }
.aff-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; padding: 8px; border-radius: 999px; background: #fff; box-shadow: var(--aff-shadow); width: fit-content; max-width: 100%; }
.aff-tab { padding: 11px 24px; border: 0; border-radius: 999px; background: transparent; color: var(--aff-muted); font-family: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer; transition: background .25s ease, color .25s ease; }
.aff-tab:hover { color: var(--aff-accent); }
.aff-tab.is-active { background: var(--aff-grad); color: #fff; box-shadow: 0 10px 22px rgba(242, 82, 13, .3); }
.aff-snippets { display: grid; gap: 16px; }
.aff-snippet { padding: 20px 22px; border: 1.5px dashed rgba(242, 82, 13, .4); border-radius: 18px; background: #fff7f2; font-size: 15px; line-height: 1.7; color: var(--aff-ink); }
.aff-snippet button { margin-top: 12px; }

/* ---------------------------------------------------------------- terms */
.aff-keypoints { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1000px; margin: 0 auto 54px; }
.aff-keypoint { padding: 24px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--aff-border); box-shadow: var(--aff-shadow); text-align: center; }
.aff-keypoint i { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 12px; border-radius: 15px; background: var(--aff-grad); color: #fff; font-size: 20px; }
.aff-keypoint strong { display: block; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 26px; color: var(--aff-ink); }
.aff-keypoint > span { display: block; margin-top: 4px; color: var(--aff-muted); font-size: 14px; }
.aff-legal { max-width: 900px; margin: 0 auto; padding: 52px 56px; border: 1px solid var(--aff-border); border-radius: 32px; background: #fff; box-shadow: var(--aff-shadow); }
.aff-legal h1 { font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 42px; color: var(--aff-ink); }
.aff-legal h2 { display: flex; align-items: center; gap: 12px; margin: 42px 0 14px; padding-top: 28px; border-top: 1px solid var(--aff-border); font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 26px; color: var(--aff-ink); }
.aff-legal h2:first-of-type { border-top: 0; padding-top: 0; }
.aff-legal p, .aff-legal li { color: #475569; font-size: 16.5px; line-height: 1.85; }
.aff-legal ul { padding-left: 22px; }
.aff-legal li::marker { color: var(--aff-accent); }
.aff-legal a { color: var(--aff-accent); font-weight: 700; }

/* ------------------------------------------- landing: added sections */
.aff-hero__trust--stack { flex-direction: column; flex-wrap: nowrap; gap: 14px; margin: 26px 0 0; }
.aff-hero__trust--stack + .aff-hero__actions { margin-top: 34px; }
.aff-section--tight { padding-top: 0; padding-bottom: 0; }
.aff-stats-band__title { grid-column: 1 / -1; margin: 0; padding: 26px 30px 0; text-align: center !important; color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.aff-stats-band__title + .aff-stats-band__item { padding-top: 22px; }
.aff-stats-band__item--text strong { font-size: 26px; line-height: 1.3; padding: 9px 0; }

/* sample dashboard preview */
.aff-mock { position: relative; display: grid; grid-template-columns: 138px 1fr; border-radius: 22px; background: #fff; border: 8px solid #1a1d26; box-shadow: var(--aff-shadow-lg); overflow: hidden; font-family: var(--text-font-family, "DM Sans", sans-serif); }
.aff-mock--hero { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.aff-mock__side { background: #14213d; color: #cdd5ea; padding: 16px 10px; }
.aff-mock__brand { padding: 4px 8px 14px; color: #fff; font-family: var(--heading-font-family, "Outfit", sans-serif); font-weight: 700; font-size: 13px; line-height: 1.25; }
.aff-mock__brand i { color: var(--aff-accent-2); margin-right: 4px; }
.aff-mock__side ul { list-style: none; margin: 0; padding: 0; }
.aff-mock__side li { display: flex; align-items: center; gap: 8px; padding: 8px 9px; margin-bottom: 4px; border-radius: 8px; font-size: 11.5px; font-weight: 600; }
.aff-mock__side li i { width: 14px; text-align: center; font-size: 11px; }
.aff-mock__side li.is-on { background: var(--aff-grad); color: #fff; }
.aff-mock__main { padding: 14px 16px 16px; background: #fbfbfd; min-width: 0; }
.aff-mock__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.aff-mock__head strong { color: var(--aff-ink); font-size: 13px; }
.aff-mock__head span { padding: 4px 9px; border: 1px solid var(--aff-border); border-radius: 8px; background: #fff; color: var(--aff-muted); font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.aff-mock__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.aff-mock__stats > div { padding: 9px 9px 8px; border: 1px solid var(--aff-border); border-radius: 10px; background: #fff; box-shadow: 0 6px 16px rgba(19, 19, 19, .05); min-width: 0; }
.aff-mock__stats small { display: block; color: var(--aff-muted); font-size: 10px; font-weight: 600; }
.aff-mock__stats b { display: block; margin-top: 2px; color: var(--aff-ink); font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 17px; line-height: 1.2; white-space: nowrap; }
.aff-mock__stats em { display: block; color: #16a34a; font-size: 9.5px; font-style: normal; font-weight: 700; }
.aff-mock__stats .is-hot { background: #fff4ed; border-color: rgba(242, 82, 13, .35); }
.aff-mock__stats .is-hot b { color: var(--aff-accent); font-size: 14.5px; margin-top: 4px; }
.aff-mock__chart { margin-top: 12px; padding: 10px 12px 8px; border: 1px solid var(--aff-border); border-radius: 10px; background: #fff; }
.aff-mock__chart small { display: block; margin-bottom: 4px; color: var(--aff-ink); font-size: 10.5px; font-weight: 700; }
.aff-mock__chart svg { display: block; width: 100%; height: 92px; }
.aff-mock__tag { position: absolute; right: 10px; bottom: 8px; padding: 2px 8px; border-radius: 99px; background: rgba(19, 19, 19, .06); color: var(--aff-muted); font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.aff-hero__visual { padding-top: 46px; }
.aff-hero__visual .aff-rate-badge { top: 0; right: -12px; width: 104px; height: 104px; }
.aff-hero__visual .aff-rate-badge strong { font-size: 30px; }
.aff-hero__visual .aff-float--lead { top: auto; bottom: -22px; left: -34px; }
.aff-hero__visual .aff-float--earn { bottom: -26px; right: 4px; }
.aff-hero__visual::before { display: none; }

/* earn banner */
.aff-earn { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 38px 46px; border: 1px solid rgba(242, 82, 13, .22); border-radius: 30px; background: linear-gradient(105deg, #fff2ea 0%, #fff 70%); box-shadow: var(--aff-shadow); }
.aff-earn__lead { display: flex; gap: 22px; align-items: center; }
.aff-earn__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 26px; background: var(--aff-grad); color: #fff; font-size: 34px; box-shadow: 0 18px 38px rgba(242, 82, 13, .35); transform: rotate(-6deg); }
.aff-earn h2 { margin: 0 0 8px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 38px; color: var(--aff-ink); }
.aff-earn p { margin: 0; color: var(--aff-muted); font-size: 16.5px; line-height: 1.7; }
.aff-earn__list, .aff-checks { list-style: none; margin: 0; padding: 0; }
.aff-earn__list { padding-left: 40px; border-left: 1px solid rgba(242, 82, 13, .25); }
.aff-earn__list li, .aff-checks li { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; color: var(--aff-ink); font-size: 16px; font-weight: 600; }
.aff-earn__list i, .aff-checks i { margin-top: 3px; color: var(--aff-accent); }

/* who can join */
.aff-who { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.aff-who__item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 12px 22px; border: 1px solid var(--aff-border); border-radius: 20px; background: #fff; box-shadow: var(--aff-shadow); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.aff-who__item:hover { transform: translateY(-6px); border-color: rgba(242, 82, 13, .35); box-shadow: 0 24px 50px rgba(242, 82, 13, .15); }
.aff-who__item i { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 16px; background: var(--aff-accent-soft); color: var(--aff-accent); font-size: 22px; transition: background .3s ease, color .3s ease; }
.aff-who__item:hover i { background: var(--aff-grad); color: #fff; }
.aff-who__item strong { color: var(--aff-ink); font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 17px; line-height: 1.25; }
.aff-who__item span { margin-top: 3px; color: var(--aff-muted); font-size: 14px; line-height: 1.4; }
.aff-page .aff-who__item span { text-align: center; }

/* dashboard showcase */
.aff-showcase { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.aff-showcase__copy h2 { margin: 14px 0 12px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 42px; line-height: 1.12; color: var(--aff-ink); }
.aff-showcase__copy > p { margin: 0 0 18px; color: var(--aff-muted); font-size: 17px; line-height: 1.75; }
.aff-showcase__copy .aff-btn { margin-top: 22px; }
.aff-showcase__visual .aff-mock { box-shadow: 0 40px 90px rgba(242, 82, 13, .2); }

/* faq two-column */
.aff-faq-wrap { display: grid; grid-template-columns: .8fr 1.4fr; gap: 56px; align-items: start; }
.aff-faq-intro h2 { margin: 14px 0 12px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 40px; line-height: 1.12; color: var(--aff-ink); }
.aff-faq-intro > p { margin: 0 0 22px; color: var(--aff-muted); font-size: 16.5px; line-height: 1.75; }
.aff-faq-wrap .aff-faq { max-width: none; margin: 0; }

@media (max-width: 1100px) {
  .aff-who { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .aff-earn { grid-template-columns: 1fr; gap: 28px; }
  .aff-earn__list { padding-left: 0; border-left: 0; border-top: 1px solid rgba(242, 82, 13, .25); padding-top: 18px; }
}
@media (max-width: 991px) {
  .aff-showcase, .aff-faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .aff-mock--hero { transform: none; }
  .aff-showcase__copy h2, .aff-faq-intro h2 { font-size: 34px; }
  .aff-hero__visual .aff-float--lead { left: -6px; }
}
@media (max-width: 640px) {
  .aff-hero__visual { padding: 40px 0 34px; }
  .aff-hero__visual .aff-float--lead { display: none; }
  .aff-hero__visual .aff-float--earn { right: 6px; bottom: -4px; padding: 10px 14px; }
  .aff-hero__visual .aff-rate-badge { right: 4px; top: 0; width: 84px; height: 84px; }
  .aff-hero__visual .aff-rate-badge strong { font-size: 24px; }
  .aff-hero__visual .aff-rate-badge > span { font-size: 8.5px; }
  .aff-mock { grid-template-columns: 1fr; border-width: 5px; }
  .aff-mock__side { display: none; }
  .aff-mock__stats { grid-template-columns: repeat(2, 1fr); }
  .aff-who { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .aff-earn { padding: 26px 20px; }
  .aff-earn__lead { flex-direction: column; align-items: flex-start; }
  .aff-earn h2 { font-size: 30px; }
  .aff-stats-band__title { padding: 20px 16px 0; font-size: 15px; }
  .aff-stats-band__item--text strong { font-size: 20px; }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .aff-hero h1 { font-size: 52px; }
  .aff-hero__inner { gap: 40px; }
}
@media (max-width: 991px) {
  .aff-section { padding: 72px 0; }
  .aff-hero { padding: 60px 0 100px; }
  .aff-hero__inner, .aff-calc, .aff-auth, .aff-auth--login { grid-template-columns: 1fr; }
  .aff-hero__visual { max-width: 520px; margin: 10px auto 0; }
  .aff-hero h1 { font-size: 44px; }
  .aff-stats-band__inner { grid-template-columns: repeat(2, 1fr); }
  .aff-stats-band__item:nth-child(3)::before { display: none; }
  .aff-grid--3, .aff-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aff-steps { grid-template-columns: 1fr; gap: 40px; }
  .aff-steps::before { display: none; }
  .aff-section-head h2 { font-size: 36px; }
  .aff-auth__side { min-height: 340px; padding: 36px 30px; }
  .aff-keypoints { grid-template-columns: repeat(2, 1fr); }
  .aff-legal { padding: 36px 28px; }
}
@media (max-width: 640px) {
  .aff-section { padding: 56px 0; }
  .aff-hero h1 { font-size: 35px; }
  .aff-hero__lead { font-size: 16.5px; }
  .aff-float--lead { left: -6px; top: 18px; padding: 10px 12px; }
  .aff-rate-badge { width: 100px; height: 100px; top: -20px; }
  .aff-rate-badge strong { font-size: 30px; }
  .aff-float--earn { right: -4px; }
  .aff-stats-band__item strong { font-size: 32px; }
  .aff-stats-band__item { padding: 22px 12px; }
  .aff-grid--3, .aff-grid--4, .aff-form-grid { grid-template-columns: 1fr; }
  .aff-section-head h2 { font-size: 30px; }
  .aff-calc__controls, .aff-calc__result { padding: 24px 20px; }
  .aff-calc__big { font-size: 48px; }
  .aff-auth__main { padding: 32px 20px; }
  .aff-cta { padding: 46px 22px; border-radius: 28px; }
  .aff-cta h2 { font-size: 32px; }
  .aff-panel { padding: 22px 16px; }
  .aff-dash__hero { padding: 26px 22px; }
  .aff-dash__hero h1 { font-size: 28px; }
  .aff-keypoints { grid-template-columns: 1fr; }
  .aff-legal h1 { font-size: 32px; }
  .aff-faq summary { font-size: 16px; padding: 18px; }
  .aff-tabs { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .aff-float, .aff-rate-badge::before, .aff-eyebrow .aff-dot { animation: none; }
  .aff-reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Professional refinement - matches the main site: white and #f6f6f6 bands,
   flat orange accent, restrained cards, no glow or gradient effects.
   ========================================================================== */
.aff-page .aff-grad { background: none; -webkit-text-fill-color: currentColor; color: var(--aff-accent); }

/* section titles use the site's label style (small icon + uppercase orange) */
.aff-page .aff-eyebrow { position: relative; display: inline-block; margin-bottom: 14px; padding: 0 0 0 23px; border-radius: 0; background: none; color: var(--aff-accent); font-size: 14px; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.aff-page .aff-eyebrow::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; background: url(/images/icons/sub-title1-1.png) no-repeat center / cover; }
.aff-page .aff-eyebrow .aff-dot { display: none; }
.aff-page .aff-section--dark .aff-eyebrow { background: none; color: var(--aff-accent); }
.aff-page .aff-section-head h2 { font-weight: 600; letter-spacing: -.01em; }
.aff-page .aff-section-head p { font-size: 17px; }

/* bands */
.aff-page .aff-section--muted { background: var(--aff-bg); }
.aff-page .aff-section--dark { background: #131313; }
.aff-page .aff-hero { background: #fff; }
.aff-page .aff-hero__bg { display: none; }
.aff-page .aff-stats-band { background: #fff; padding-bottom: 80px; }
.aff-page .aff-auth-section { background: var(--aff-bg); }

/* buttons */
.aff-page .aff-btn { background: var(--aff-accent); box-shadow: none; font-weight: 700; }
.aff-page .aff-btn:hover { background: #131313; color: #fff; transform: none; box-shadow: none; }
.aff-page .aff-btn--ghost { background: #fff; color: #131313; box-shadow: inset 0 0 0 1px #d4d4d4; }
.aff-page .aff-btn--ghost:hover { background: #131313; color: #fff; box-shadow: inset 0 0 0 1px #131313; }
.aff-page .aff-btn--light { background: #fff; color: #131313; box-shadow: none; }
.aff-page .aff-btn--light:hover { background: var(--aff-accent); color: #fff; }
.aff-page .aff-btn--outline-light { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.aff-page .aff-btn--outline-light:hover { background: #fff; color: #131313; }
.aff-page .aff-dash__hero .aff-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.aff-page .aff-dash__hero .aff-btn--ghost:hover { background: #fff; color: #131313; }

/* hero: still, uncluttered */
.aff-page .aff-hero__trust i { background: rgba(242, 82, 13, .1); }
.aff-page .aff-float { animation: none; border-radius: 12px; background: #fff; backdrop-filter: none; border: 1px solid var(--aff-border); box-shadow: 0 14px 34px rgba(19, 19, 19, .12); }
.aff-page .aff-float__icon { border-radius: 10px; }
.aff-page .aff-rate-badge::before { animation: none; border: 1px solid rgba(242, 82, 13, .6); }
.aff-page .aff-mock--hero { transform: none; }
.aff-page .aff-mock { border-radius: 16px; border-color: #131313; box-shadow: 0 24px 60px rgba(19, 19, 19, .16); }
.aff-page .aff-stats-band__inner { border-radius: 14px; background: #131313; box-shadow: 0 20px 50px rgba(19, 19, 19, .2); }

/* steps become numbered cards */
.aff-page .aff-steps { gap: 24px; }
.aff-page .aff-steps::before { display: none; }
.aff-page .aff-step { padding: 34px 26px 30px; border: 1px solid var(--aff-border); border-radius: var(--aff-radius); background: #fff; box-shadow: var(--aff-shadow); text-align: left; transition: border-color .25s ease, box-shadow .25s ease; }
.aff-page .aff-step:hover { border-color: rgba(242, 82, 13, .4); box-shadow: 0 16px 40px rgba(19, 19, 19, .08); }
.aff-page .aff-step__num { display: flex; align-items: center; justify-content: space-between; width: auto; height: auto; margin-bottom: 20px; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: 28px; }
.aff-page .aff-step__num i { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(242, 82, 13, .1); font-size: 22px; }
.aff-page .aff-step__num b { position: static; width: auto; height: auto; border-radius: 0; background: none; color: #d9d9d9; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 46px; font-weight: 600; line-height: 1; }
.aff-page .aff-step__num b::before { content: "0"; }
.aff-page .aff-step h3 { font-size: 22px; font-weight: 600; }
.aff-page .aff-step p { max-width: none; margin: 0; text-align: left; font-size: 15.5px; }
.aff-page .aff-section-head + .aff-steps .aff-step p { text-align: left; }

/* cards and icons */
.aff-page .aff-card, .aff-page .aff-benefit, .aff-page .aff-who__item, .aff-page .aff-stat, .aff-page .aff-keypoint, .aff-page .aff-panel { border-radius: var(--aff-radius); box-shadow: var(--aff-shadow); }
.aff-page .aff-card { padding: 30px 26px; }
.aff-page .aff-card:hover, .aff-page .aff-who__item:hover, .aff-page .aff-benefit:hover { transform: translateY(-4px); border-color: rgba(242, 82, 13, .4); box-shadow: 0 16px 40px rgba(19, 19, 19, .08); }
.aff-page .aff-card::after { height: 3px; }
.aff-page .aff-card h3 { font-weight: 600; font-size: 21px; }
.aff-page .aff-icon, .aff-page .aff-keypoint i, .aff-page .aff-float--earn .aff-float__icon { box-shadow: none; }
.aff-page .aff-icon { border-radius: 14px; background: rgba(242, 82, 13, .1); color: var(--aff-accent); }
.aff-page .aff-card:hover .aff-icon { transform: none; background: var(--aff-accent); color: #fff; }
.aff-page .aff-benefit i, .aff-page .aff-who__item i { border-radius: 14px; }
.aff-page .aff-benefit h3, .aff-page .aff-who__item strong { font-weight: 600; }
.aff-page .aff-who__item:hover i { background: var(--aff-accent); }

/* earn banner */
.aff-page .aff-earn { border: 1px solid var(--aff-border); border-radius: 20px; background: #f6f6f6; box-shadow: none; }
.aff-page .aff-earn__icon { border-radius: 18px; box-shadow: none; transform: none; }
.aff-page .aff-earn__list { border-left-color: #dcdcdc; }
.aff-page .aff-earn h2 { font-weight: 600; }
.aff-page .aff-showcase__copy h2, .aff-page .aff-faq-intro h2 { font-weight: 600; }
.aff-page .aff-showcase__visual .aff-mock { box-shadow: 0 24px 60px rgba(19, 19, 19, .14); }

/* calculator */
.aff-page .aff-calc { border-radius: 20px; border-color: rgba(255, 255, 255, .12); background: #1b1b1b; backdrop-filter: none; }
.aff-page .aff-calc__result { border-radius: 14px; background: var(--aff-accent); }
.aff-page .aff-calc__result::before { display: none; }

/* faq */
.aff-page .aff-faq details { border-radius: 12px; }
.aff-page .aff-faq details[open] { border-color: rgba(242, 82, 13, .45); box-shadow: none; }
.aff-page .aff-faq summary { font-size: 17px; font-weight: 600; }
.aff-page .aff-faq summary::after { border-radius: 8px; }

/* closing call to action */
.aff-page .aff-cta { border-radius: 20px; background: linear-gradient(105deg, rgba(19, 19, 19, .95), rgba(19, 19, 19, .8)); box-shadow: none; }
.aff-page .aff-cta::before { display: none; }
.aff-page .aff-cta h2 { font-weight: 600; }

/* sign up, login, dashboard, terms */
.aff-page .aff-auth { border-radius: 20px; box-shadow: 0 24px 60px rgba(19, 19, 19, .12); }
.aff-page .aff-auth__side .aff-auth__pill { border-radius: 8px; background: rgba(255, 255, 255, .12); }
.aff-page .aff-field input, .aff-page .aff-field textarea, .aff-page .aff-field select, .aff-page .aff-captcha input { border-radius: 10px; background: #fff; border-color: #d9d9d9; }
.aff-page .aff-field input:focus, .aff-page .aff-field textarea:focus, .aff-page .aff-field select:focus { box-shadow: 0 0 0 3px rgba(242, 82, 13, .12); }
.aff-page .aff-form-wrap h2, .aff-page .aff-panel h2 { font-weight: 600; }
.aff-page .aff-dash__hero { border-radius: 16px; background: #131313; box-shadow: none; }
.aff-page .aff-code-pill { border-radius: 8px; }
.aff-page .aff-stat--accent { background: var(--aff-accent); }
.aff-page .aff-tabs { border-radius: 12px; box-shadow: none; border: 1px solid var(--aff-border); }
.aff-page .aff-tab { border-radius: 8px; }
.aff-page .aff-tab.is-active { box-shadow: none; }
.aff-page .aff-table th { background: #f6f6f6; }
.aff-page .aff-legal { border-radius: 16px; box-shadow: none; }
.aff-page .aff-status { border-radius: 6px; }
@media (max-width: 991px) {
  .aff-page .aff-step { text-align: left; }
}

/* legal page links: one underline only (the legal stylesheet's border) */
.aff-page .nicco-legal-content a, .aff-page .nicco-legal-callout a { text-decoration: none !important; }

/* ===== Illustrated redesign (original vector artwork, no site photos) ===== */
.aff-page .aff-hero { background: radial-gradient(60% 70% at 85% 30%, #fff1e8 0%, rgba(255, 241, 232, 0) 70%), #fff; }
.aff-page .aff-hero__visual { padding: 0; }
.aff-page .aff-hero__art { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(19, 19, 19, .12)); }
.aff-page .aff-hero__visual .aff-rate-badge { top: 4%; right: auto; left: 2%; width: 112px; height: 112px; }
.aff-page .aff-hero__visual .aff-rate-badge strong { font-size: 32px; }

.aff-page .aff-step { padding: 0; overflow: hidden; }
.aff-page .aff-step__art { padding: 22px 22px 6px; background: linear-gradient(160deg, #fff4ee 0%, #ffe3d3 100%); }
.aff-page .aff-step__art img { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; }
.aff-page .aff-step__no { display: block; padding: 22px 28px 0; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--aff-accent); }
.aff-page .aff-step h3 { margin: 6px 0 10px; padding: 0 28px; }
.aff-page .aff-step p { padding: 0 28px 30px; }

.aff-page .aff-earn__art { flex: 0 0 auto; width: 150px; height: 150px; }
.aff-page .aff-earn { background: linear-gradient(105deg, #fff3ec 0%, #fff 75%); border-color: rgba(242, 82, 13, .18); }

.aff-page .aff-cta { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; padding: 56px 56px 56px 60px; border-radius: 24px; text-align: left; background: radial-gradient(70% 90% at 90% 50%, rgba(242, 82, 13, .22) 0%, rgba(242, 82, 13, 0) 70%), linear-gradient(120deg, #0f1118 0%, #1b2030 100%); }
.aff-page .aff-cta .aff-eyebrow { color: #ff8a3d; }
.aff-page .aff-cta h2 { font-size: 42px; }
.aff-page .aff-cta p { margin: 0 0 28px; max-width: 560px; text-align: left; color: #cfd3de; }
.aff-page .aff-cta__actions { justify-content: flex-start; }
.aff-page .aff-cta__art { display: block; width: 100%; max-width: 420px; height: auto; justify-self: end; }

.aff-page .aff-auth__side { background: linear-gradient(180deg, rgba(10, 10, 12, 0) 38%, rgba(10, 10, 12, .6) 100%), var(--aff-side-img, url(/affiliate/assets/img/auth-signup.svg?v=1)) center top / cover, #0f1118; }

@media (max-width: 991px) {
  .aff-page .aff-cta { grid-template-columns: 1fr; padding: 44px 30px; }
  .aff-page .aff-cta__art { justify-self: center; max-width: 300px; }
}
@media (max-width: 575px) {
  .aff-page .aff-hero__visual .aff-rate-badge { width: 76px; height: 76px; top: -2%; left: 0; }
  .aff-page .aff-hero__visual .aff-rate-badge strong { font-size: 24px; }
  .aff-page .aff-cta h2 { font-size: 30px; }
  .aff-page .aff-cta { padding: 36px 22px; }
  .aff-page .aff-earn__art { width: 110px; height: 110px; }
}
/* ===== Enhancement pass 2: remaining sections and partner dashboard ===== */
.aff-page .aff-stats-band__item i { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 10px; border-radius: 12px; background: rgba(242, 82, 13, .16); color: var(--aff-accent-2); font-size: 17px; }
.aff-page .aff-stats-band__item--text strong { padding: 4px 0; }

/* Who can join */
.aff-page .aff-who-wrap { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: center; }
.aff-page .aff-who-art img { display: block; width: 100%; height: auto; }
.aff-page .aff-section-head--left { margin: 0 0 28px; max-width: none; text-align: left; }
.aff-page .aff-section-head--left h2 { font-size: 40px; }
.aff-page .aff-section-head--left p { text-align: left; }
.aff-page .aff-who { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.aff-page .aff-who__item { flex-direction: row; align-items: center; gap: 16px; padding: 16px 18px; text-align: left; }
.aff-page .aff-who__item i { flex: 0 0 auto; width: 50px; height: 50px; margin: 0; }
.aff-page .aff-who__item div { min-width: 0; }
.aff-page .aff-who__item strong, .aff-page .aff-who__item span { display: block; text-align: left; }

/* Dashboard showcase */
.aff-page .aff-showcase__visual { position: relative; padding: 36px 30px 46px 6px; }
.aff-page .aff-showcase__blob { position: absolute; inset: 0 0 0 14%; border-radius: 28px; background: linear-gradient(160deg, #fff1e8 0%, #ffe0cf 100%); }
.aff-page .aff-showcase__blob::after { content: ""; position: absolute; right: 22px; top: 22px; width: 96px; height: 96px; background: radial-gradient(#f2520d 1.6px, transparent 1.8px) 0 0 / 14px 14px; opacity: .35; }
.aff-page .aff-showcase__visual .aff-mock { position: relative; z-index: 1; }
.aff-page .aff-showcase__visual .aff-float--lead { top: auto; bottom: 0; left: -8px; }
.aff-page .aff-showcase__visual .aff-float--earn { right: 4px; bottom: 6px; }

/* Services */
.aff-page .aff-grid--3 { counter-reset: card; }
.aff-page .aff-card { counter-increment: card; }
.aff-page .aff-card::before { content: "0" counter(card); position: absolute; top: 20px; right: 24px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 42px; font-weight: 700; line-height: 1; color: #efefef; transition: color .3s ease; }
.aff-page .aff-card:hover::before { color: rgba(242, 82, 13, .22); }
.aff-page .aff-card:hover .aff-icon { background: var(--aff-accent); color: #fff; }
.aff-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--aff-accent); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.aff-card__link i { font-size: 12px; transition: transform .25s ease; }
.aff-card__link:hover i { transform: translateX(5px); }

/* Calculator */
.aff-page .aff-section--dark { background: radial-gradient(900px 420px at 90% 0, rgba(242, 82, 13, .24), transparent 60%), linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 48px 48px, #0f1118; }
.aff-page .aff-calc { border-radius: 22px; background: rgba(255, 255, 255, .05); }
.aff-page .aff-calc__result { border-radius: 16px; background: linear-gradient(150deg, #ff6a1f, #e24a0a); }
.aff-page .aff-calc__result::after { content: "\20B9"; position: absolute; right: 18px; bottom: -58px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 230px; font-weight: 700; line-height: 1; color: rgba(255, 255, 255, .1); pointer-events: none; }

/* Terms and benefits */
.aff-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aff-page .aff-terms-wrap { display: grid; grid-template-columns: .82fr 1.38fr; gap: 24px; align-items: stretch; }
.aff-page .aff-terms-art { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px 28px 32px; border-radius: 16px; background: radial-gradient(420px 260px at 50% 18%, rgba(242, 82, 13, .3), transparent 70%), linear-gradient(160deg, #171a26, #0f1118); color: #fff; overflow: hidden; }
.aff-page .aff-terms-art img { display: block; width: 100%; max-width: 340px; height: auto; margin: 0 auto 14px; }
.aff-page .aff-terms-art h3 { margin: 0 0 8px; color: #fff; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 26px; font-weight: 600; }
.aff-page .aff-terms-art p { margin: 0 0 20px; color: #c4c8d2; font-size: 15.5px; line-height: 1.7; }
.aff-page .aff-terms-art .aff-btn { align-self: flex-start; }
.aff-page .aff-terms-wrap .aff-benefit { flex-direction: column; gap: 14px; padding: 24px; }
.aff-page .aff-terms-wrap .aff-benefit:hover i { background: var(--aff-accent); color: #fff; }

/* FAQ */
.aff-faq-help { margin-top: 32px; padding: 20px 22px 24px; border: 1px solid var(--aff-border); border-radius: 16px; background: #fff; }
.aff-faq-help img { display: block; width: 100%; max-width: 250px; height: auto; margin: 0 auto 10px; }
.aff-faq-help strong { display: block; color: var(--aff-ink); font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 19px; }
.aff-faq-help > span { display: block; margin: 2px 0 12px; color: var(--aff-muted); font-size: 15px; }
.aff-faq-help__link { display: inline-flex; align-items: center; gap: 8px; color: var(--aff-accent); font-weight: 700; text-decoration: none; }
.aff-faq-help__link:hover { color: #c2410c; }

/* Partner dashboard */
.aff-page .aff-dash { padding: 48px 0 96px; }
.aff-page .aff-dash__hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; padding: 34px 40px; border-radius: 18px; background: radial-gradient(520px 260px at 88% 40%, rgba(242, 82, 13, .38), transparent 70%), linear-gradient(120deg, #0f1118, #1b2030); }
.aff-dash__who { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; min-width: 0; }
.aff-avatar { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: var(--aff-grad); color: #fff; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 32px; font-weight: 700; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08); }
.aff-dash__kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; color: #ff8a3d; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.aff-page .aff-dash__hero h1 { margin: 0 0 12px; font-size: 34px; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.aff-dash__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.aff-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .07); color: #d4d4d8; font-size: 14px; }
.aff-chip .aff-code-pill { padding: 2px 10px; font-size: 13px; }
.aff-dash__art { position: relative; z-index: 1; flex: 0 0 auto; width: 290px; height: auto; margin: -18px 64px -24px 0; }
.aff-dash__logout { position: absolute; top: 18px; right: 20px; z-index: 2; }

.aff-page .aff-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.aff-page .aff-stat { --tint: #f2520d; --tint-bg: rgba(242, 82, 13, .1); padding: 20px 18px 18px 22px; overflow: hidden; }
.aff-page .aff-stat::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tint); }
.aff-page .aff-stat i { width: 38px; height: 38px; margin-bottom: 12px; background: var(--tint-bg); color: var(--tint); font-size: 15px; }
.aff-page .aff-stat strong { font-size: 27px; line-height: 1.15; }
.aff-stat small { display: block; margin-top: 6px; color: var(--aff-muted); font-size: 12.5px; line-height: 1.4; }
.aff-page .aff-stat--blue { --tint: #f2520d; --tint-bg: rgba(242, 82, 13, .1); }
.aff-page .aff-stat--violet { --tint: #7c3aed; --tint-bg: rgba(124, 58, 237, .1); }
.aff-page .aff-stat--amber { --tint: #d97706; --tint-bg: rgba(217, 119, 6, .12); }
.aff-page .aff-stat--slate { --tint: #475569; --tint-bg: rgba(71, 85, 105, .12); }
.aff-page .aff-stat--green { --tint: #16a34a; --tint-bg: rgba(22, 163, 74, .12); }
.aff-page .aff-stat--accent::after { background: rgba(255, 255, 255, .45); }
.aff-page .aff-stat--accent i { background: rgba(255, 255, 255, .22); color: #fff; }
.aff-page .aff-stat--accent small { color: rgba(255, 255, 255, .88); }

.aff-dash__row { display: grid; grid-template-columns: 1.65fr 1fr; gap: 20px; margin-bottom: 24px; }
.aff-dash__row .aff-panel { margin-bottom: 0; }
.aff-panel__head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.aff-panel__head h2 { margin: 0 0 4px; }
.aff-panel__head p { margin: 0; color: var(--aff-muted); font-size: 15px; line-height: 1.65; }
.aff-panel__ic { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--aff-accent-soft); color: var(--aff-accent); font-size: 18px; }
.aff-linkbox .aff-btn i { margin-right: 8px; }
.aff-linkgen input { flex: 1 1 220px; padding: 12px 14px; border: 1.5px solid rgba(19, 19, 19, .12); border-radius: 12px; background: #faf8f6; font-size: 14.5px; }
.aff-payprog { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 16px; background: radial-gradient(260px 200px at 100% 0, rgba(242, 82, 13, .35), transparent 70%), linear-gradient(160deg, #171a26, #0f1118); color: #fff; overflow: hidden; }
.aff-payprog__label { color: #ff8a3d; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.aff-payprog__label i { margin-right: 6px; }
.aff-page .aff-payprog > strong { color: #fff; margin-top: 10px; font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 40px; font-weight: 700; line-height: 1.1; }
.aff-payprog > small { color: #aab0bf; font-size: 13.5px; }
.aff-bar { height: 10px; margin: 20px 0 8px; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.aff-bar i { display: block; width: 0; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ff8a3d, #f2520d); transition: width .9s ease; }
.aff-payprog__pct { display: flex; justify-content: space-between; color: #aab0bf; font-size: 13px; }
.aff-payprog__pct b { color: #fff; }
.aff-page .aff-payprog p { margin: 14px 0 0; color: #d4d7e0; font-size: 14px; line-height: 1.6; }

.aff-tab i { margin-right: 8px; font-size: 13px; }
.aff-page .aff-panel { padding: 30px 32px; border-radius: 16px; }
.aff-page .aff-table tbody tr:hover td { background: #fffaf7; }
.aff-page .aff-table td:first-child { color: var(--aff-muted); white-space: nowrap; }
.aff-empty--art { display: flex; flex-direction: column; align-items: center; padding: 20px 10px 8px; text-align: center; }
.aff-empty--art.aff-hidden { display: none !important; }
.aff-empty--art img { width: 100%; max-width: 230px; height: auto; margin-bottom: 8px; }
.aff-empty--art strong { color: var(--aff-ink); font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 19px; }
.aff-empty--art span { margin-top: 4px; color: var(--aff-muted); font-size: 15px; }
.aff-page .aff-snippet { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; border: 1px solid var(--aff-border); border-left: 4px solid var(--aff-accent); border-radius: 14px; background: #fff; }
.aff-snippet__ic { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: #e6f8ec; color: #16a34a; font-size: 22px; }
.aff-snippet:nth-child(2) .aff-snippet__ic { background: var(--aff-accent-soft); color: var(--aff-accent); }
.aff-snippet__body { min-width: 0; }
.aff-snippet__body strong { display: block; margin-bottom: 6px; color: var(--aff-ink); font-family: var(--heading-font-family, "Outfit", sans-serif); font-size: 17px; }
.aff-snippet__body > span { display: block; color: var(--aff-muted); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }

@media (min-width: 992px) { .aff-page .aff-faq-intro { position: sticky; top: 110px; } }
@media (max-width: 1199px) { .aff-page .aff-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) {
  .aff-page .aff-who-wrap, .aff-page .aff-terms-wrap, .aff-dash__row { grid-template-columns: 1fr; }
  .aff-page .aff-who-art { max-width: 440px; margin: 0 auto; }
  .aff-page .aff-section-head--left h2 { font-size: 34px; }
  .aff-dash__art { display: none; }
  .aff-page .aff-dash__hero { padding: 30px 28px; }
}
@media (max-width: 767px) {
  .aff-page .aff-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aff-page .aff-dash__hero { align-items: flex-start; padding: 26px 20px 24px; }
  .aff-dash__who { flex-direction: column; align-items: flex-start; gap: 16px; }
  .aff-dash__logout { top: 14px; right: 14px; }
  .aff-page .aff-dash__hero h1 { font-size: 27px; }
  .aff-avatar { width: 60px; height: 60px; font-size: 26px; }
  .aff-page .aff-panel { padding: 24px 18px; }
  .aff-page .aff-tabs { width: 100%; }
  .aff-page .aff-tab { flex: 1 1 calc(50% - 10px); padding: 10px 12px; }
}
@media (max-width: 575px) {
  .aff-page .aff-who { grid-template-columns: 1fr; }
  .aff-grid--2 { grid-template-columns: 1fr; }
  .aff-page .aff-stat { padding: 16px 14px 14px 18px; }
  .aff-page .aff-stat strong { font-size: 22px; }
  .aff-page .aff-showcase__visual { padding: 30px 6px 40px 0; }
  .aff-page .aff-showcase__visual .aff-float--lead { display: none; }
  .aff-page .aff-calc__result::after { font-size: 160px; }
}

/* ---- show/hide password + inline form validation ---- */
.aff-pw { position: relative; display: block; width: 100%; }
.aff-pw input { padding-right: 52px !important; }
.aff-pw__btn { position: absolute; top: 50%; right: 7px; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #6b7280; cursor: pointer; transition: color .18s ease, background .18s ease; }
.aff-pw__btn:hover { color: #f2520d; background: rgba(242, 82, 13, .08); }
.aff-pw__btn:focus-visible { outline: 2px solid #f2520d; outline-offset: 1px; }
.aff-pw__btn .aff-pw__on { display: block; }
.aff-pw__btn .aff-pw__off { display: none; }
.aff-pw.is-shown .aff-pw__btn .aff-pw__on { display: none; }
.aff-pw.is-shown .aff-pw__btn .aff-pw__off { display: block; }
.aff-field__err { display: block; margin: 2px 0 0; color: #b91c1c; font-size: 13px; font-weight: 600; line-height: 1.45; }
.aff-field.is-invalid input, .aff-field.is-invalid textarea, .aff-field.is-invalid select, .aff-page .aff-field.is-invalid input, .aff-page .aff-field.is-invalid textarea, .aff-page .aff-field.is-invalid select { border-color: #dc2626; background: #fff8f8; }
.aff-field.is-invalid input:focus, .aff-field.is-invalid textarea:focus, .aff-page .aff-field.is-invalid input:focus, .aff-page .aff-field.is-invalid textarea:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, .14); }
.aff-check.is-invalid > span { color: #b91c1c; }
.aff-check { flex-wrap: wrap; }
.aff-check .aff-field__err { flex-basis: 100%; margin-left: 28px; }
.aff-captcha + .aff-field__err { margin: 8px 0 0; }
.aff-captcha.is-invalid input[name="captcha"] { border-color: #dc2626; background: #fff8f8; }

.aff-field__err { text-align: left; text-justify: auto; }
.aff-field.is-invalid input::placeholder, .aff-field.is-invalid textarea::placeholder, .aff-captcha.is-invalid input::placeholder { color: #8b919c; opacity: 1; }

/* live password length / strength hint */
.aff-pw-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 2px 0 0; font-size: 12.5px; line-height: 1.3; color: #6b7280; text-align: left; }
.aff-pw-hint span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: #f1f2f4; color: #6b7280; font-weight: 600; transition: background .18s ease, color .18s ease; }
.aff-pw-hint .aff-pw-hint__n { background: transparent; padding-left: 0; color: #374151; }
.aff-pw-hint .aff-pw-hint__n b { font-weight: 800; color: #131313; }
.aff-pw-hint span.is-ok { background: #dcfce7; color: #166534; }
.aff-pw-hint span.is-ok::before { content: "\2713"; font-weight: 800; }
