/* facekitapp.com/affiliates: page additions on top of facekitapp.com's own /css/style.css (its tokens, font, nav,
   buttons and CTA panel). Hero: the offer, headline and buttons on the left, sale notifications landing on the right.
   Then three steps, each with a small picture of the step, the FAQ and the CTA. */
.aff { --aff-gap: clamp(72px, 9vw, 120px); }

/* Sign in stays in the bar on phones (the home page swaps its button for a menu there). */
.aff .nav-cta { display: block !important; }

.aff-hero { padding-bottom: 40px; }
.aff-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 88px); align-items: center; max-width: var(--max-w); margin: 0 auto; }
/* The new-affiliate offer above the headline: one quiet blue capsule, the old rate struck through. */
.aff-pill { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 24px; padding: 8px 15px; border-radius: var(--r-pill); background: rgba(18, 147, 255, 0.1); color: var(--blue); font-size: 14px; font-weight: 600; line-height: 1.2; }
.aff-pill s { color: var(--tertiary); font-weight: 500; text-decoration-thickness: 1.5px; }
.aff-hero h1 { max-width: 600px; font-size: clamp(38px, 5vw, 64px); line-height: 1.04; }
.aff-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* iOS-style notifications (signup.js): a new one slides in on top, the oldest of four shrinks and fades. */
.aff-notes { position: relative; width: 100%; max-width: 420px; justify-self: center; }
.aff-notes::before { content: ""; position: absolute; inset: -18% -14%; background: radial-gradient(closest-side, rgba(18, 147, 255, 0.18), rgba(18, 147, 255, 0)); pointer-events: none; }
.aff-notes-stack { --h: 74px; --g: 10px; position: relative; height: calc(var(--h) * 3 + var(--g) * 2); }
.aff-note { position: absolute; inset: 0 0 auto; height: var(--h); display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; padding: 0 16px 0 14px; background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(12, 11, 17, 0.08), 0 1px 3px rgba(12, 11, 17, 0.05); transform-origin: 50% 0; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease; }
.aff-note img { width: 40px; height: 40px; border-radius: 10px; }
.aff-note-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.aff-note-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); }
.aff-note-top small { font-size: 12px; color: var(--tertiary); }
.aff-note-title { display: flex; align-items: baseline; gap: 8px; font-size: 16px; color: var(--ink); }
.aff-note-title b { font-weight: 600; }
.aff-note-title strong { font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.aff-note[data-slot="-1"] { transform: translateY(-16px) scale(0.96); opacity: 0; }
.aff-note[data-slot="0"] { transform: none; }
.aff-note[data-slot="1"] { transform: translateY(calc(var(--h) + var(--g))); }
.aff-note[data-slot="2"] { transform: translateY(calc((var(--h) + var(--g)) * 2)); }
.aff-note[data-slot="3"] { transform: translateY(calc((var(--h) + var(--g)) * 2.3)) scale(0.92); opacity: 0; }

.aff-h2 { text-align: center; font-size: clamp(30px, 3.4vw, 42px); margin: 0 auto 36px; padding: 0 24px; }

/* Steps: a picture of each step on a soft well, then the number and the name. */
.aff-steps { padding: var(--aff-gap) 24px 0; }
.aff-step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: var(--max-w); margin: 0 auto; padding: 0; list-style: none; }
.aff-step { display: flex; flex-direction: column; gap: 22px; padding: 14px 14px 24px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 26px; box-shadow: var(--shadow-card); }
.aff-step h3 { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0 10px; font-size: 21px; }
.aff-step h3 span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(18, 147, 255, 0.1); color: var(--blue); font-size: 14px; font-weight: 600; }
.aff-step-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 190px; padding: 0 22px; border-radius: 18px; background: radial-gradient(100% 120% at 50% 0%, rgba(18, 147, 255, 0.1), rgba(18, 147, 255, 0) 70%), var(--bg); }
.art-field { width: 100%; max-width: 250px; padding: 13px 16px; border: 1px solid var(--hairline-strong); border-radius: 14px; background: var(--surface); color: var(--muted); font-size: 15px; }
.art-button { width: 100%; max-width: 250px; padding: 13px 16px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 500; text-align: center; box-shadow: 0 6px 18px rgba(18, 147, 255, 0.35); }
.art-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; max-width: 270px; padding: 8px 8px 8px 16px; border: 1px solid var(--hairline-strong); border-radius: 999px; background: var(--surface); font-size: 15px; color: var(--muted); box-shadow: 0 6px 18px rgba(12, 11, 17, 0.06); }
.art-link b { color: var(--ink); font-weight: 600; }
.art-link i { padding: 7px 14px; border-radius: 999px; background: #0b6fd6; color: #fff; font-size: 13px; font-style: normal; font-weight: 500; }
.art-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.art-chips span { padding: 6px 12px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 500; }
.art-note { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 250px; padding: 12px 14px; border-radius: 18px; background: var(--surface); box-shadow: 0 8px 22px rgba(12, 11, 17, 0.08); }
.art-note img { width: 32px; height: 32px; border-radius: 8px; }
.art-note div { display: flex; flex-direction: column; }
.art-note small { color: var(--muted); font-size: 12.5px; }
.art-note b { color: #0f7a3d; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Questions: facekitapp.com's FAQ accordion (style.css), toggled by signup.js. */
.aff-faq { padding-top: var(--aff-gap); }

/* The CTA panel without the home page's phone below it. */
.aff-cta-wrap { padding: var(--aff-gap) 24px 0; }
.aff-cta { padding: clamp(56px, 7vw, 88px) 24px; }
.aff-cta h2 { font-size: clamp(30px, 3.6vw, 44px); }
.aff-cta .btn-blue { margin-top: 30px; }

/* One small footer line. */
.aff-foot { padding: 32px 24px 40px; text-align: center; font-size: 13px; color: var(--tertiary); }
.aff-foot span { margin: 0 8px; }
.aff-foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.aff-foot a:hover { color: var(--ink); }

@media (max-width: 959px) {
	.aff-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.aff-hero h1 { margin: 0 auto; }
	.aff-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
	.aff-actions { justify-content: center; }
	.aff-step-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
}
@media (max-width: 600px) {
	.aff .nav-cta .btn { padding: 9px 18px; font-size: 15px; }
	.aff-pill { margin-bottom: 18px; font-size: 13.5px; }
	.aff-hero h1 { font-size: clamp(34px, 9.4vw, 42px); }
	.aff-actions { width: 100%; max-width: 360px; margin-top: 28px; }
	.aff-actions .btn { flex: 1; padding: 15px 18px; }
	.aff-notes { max-width: 360px; }
	.aff-notes-stack { --h: 68px; --g: 8px; }
	.aff-note { padding: 0 14px 0 12px; border-radius: 16px; }
	.aff-note img { width: 36px; height: 36px; border-radius: 9px; }
	.aff-note-title { font-size: 15px; }
	.aff-step-art { height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
	.aff-note { transition: none; }
}

/* Design QA: the site's trial Rebond face is replaced by the system font here; buttons are flat (no
   glow), darker on hover; the page ends on one Start earning (no second CTA band). */
body.aff, .aff h1, .aff h2, .aff h3, .aff .btn, .aff button, .aff input { font-family: -apple-system, BlinkMacSystemFont, 'Inter Variable', Inter, system-ui, sans-serif; }
.aff h1 { font-weight: 700; letter-spacing: -0.035em; }
.aff h2, .aff h3 { font-weight: 650; letter-spacing: -0.02em; }
.aff .btn { font-weight: 600; }
/* FaceKit blue, a shade deeper where white text sits on it (4.9:1, WCAG AA). */
.aff .btn-blue { box-shadow: none; background: #0b6fd6; color: #fff; }
.aff .btn-blue:hover { background: #0a62bf; transform: none; }
.aff-end { display: flex; justify-content: center; padding: var(--aff-gap) 24px 8px; }
.art-button { box-shadow: none; }

/* Get the app (#get): TestFlight steps on iPhone/iPad, a QR code on a computer. */
.art-app { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 260px; padding: 12px 12px 12px 14px; border-radius: 18px; background: var(--surface); box-shadow: 0 8px 22px rgba(12, 11, 17, 0.08); }
.art-app img { width: 44px; height: 44px; border-radius: 10px; }
.art-app div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.art-app b { color: var(--ink); font-size: 15px; font-weight: 600; }
.art-app small { color: var(--muted); font-size: 12.5px; }
.art-app i { padding: 6px 16px; border-radius: 999px; background: rgba(18, 147, 255, 0.1); color: #0b62c4; font-size: 14px; font-style: normal; font-weight: 600; }
.aff-get { padding: var(--aff-gap) 24px 8px; scroll-margin-top: 24px; }
.aff-get-card { display: flex; flex-direction: column; align-items: center; max-width: 520px; margin: 0 auto; padding: 40px 24px 32px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 28px; box-shadow: var(--shadow-card); }
.aff-get-icon { width: 72px; height: 72px; border-radius: 16px; }
.aff-get .aff-h2 { margin: 20px 0 28px; padding: 0; }
.aff-get-steps { display: flex; flex-direction: column; gap: 10px; width: 100%; margin: 0; padding: 0; list-style: none; }
.aff-get-steps[hidden], .aff-get-qr[hidden], .aff-get-android[hidden] { display: none; }
.aff-get-steps li { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 10px 10px 14px; border-radius: 18px; background: var(--bg); }
.aff-get-steps li span { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(18, 147, 255, 0.1); color: var(--blue); font-size: 14px; font-weight: 600; }
.aff-get-steps li b { flex: 1; min-width: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.aff-get-steps .btn { flex: none; min-width: 84px; min-height: 44px; padding: 0 20px; justify-content: center; }
.aff-get-qr { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.aff-qr { width: 184px; height: 184px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--hairline); }
.aff-qr svg { display: block; width: 100%; height: 100%; }
.aff-get-qr b, .aff-get-android { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); text-align: center; }
