/**
 * Evrycard Affiliate Page Full-Width & Fully Responsive Stylesheet
 * 
 * Bespoke luxury design system matching Homepage, Team Hero, and DBC pages:
 * - Edge-to-edge full width breakout (100vw clip without horizontal jitter)
 * - Outfit typography, clean ivory background (#FDFCF9), amber gold accents (#F59F0A)
 * - 1:1 My-Account Affiliate Dashboard Hero visual
 * - Interactive Volume-Pricing Live Commission Simulator
 * - Bento Grid, Audience Deck, Homepage FAQ parity, Refined Terms Accordion
 * - 100% responsive across Mobile (320px - 480px), Tablet (481px - 1024px), and Desktop (> 1024px)
 */

/* ------------------------------------------------------------------ ROOT & FULL-WIDTH BREAKOUT */
.evry-afp-root,
.evry-afp-root * {
	box-sizing: border-box;
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.evry-afp-root {
	--evry-gold: #F59F0A;
	--evry-gold-dark: #D97706;
	--evry-gold-soft: #FFFBEB;
	--evry-gold-border: #FDE68A;
	--evry-ink: #0F172A;
	--evry-ink-muted: #64748B;
	--evry-line: #E2E8F0;
	--evry-bg-page: #FDFCF9;
	--evry-bg-card: #FFFFFF;
	--evry-radius-card: 20px;
	--evry-radius-pill: 999px;

	color: var(--evry-ink);
	background: var(--evry-bg-page);
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	position: relative;
	left: 0;
	right: 0;
	overflow-x: clip;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* Shell / Container */
.evry-afp-shell {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
	width: 100%;
}

.evry-afp-shell-sm {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 24px;
	width: 100%;
}

/* ------------------------------------------------------------------ COMMON TYPOGRAPHY & PILLS */
.evry-afp-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	background: #FFFFFF;
	border: 1px solid #EAE7DC;
	border-radius: var(--evry-radius-pill);
	font-size: 13px;
	font-weight: 600;
	color: #92400E;
	margin-bottom: 20px;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
	max-width: 100%;
}

.evry-afp-pill-center {
	margin-left: auto;
	margin-right: auto;
}

.evry-afp-pill-dark {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
	color: #FDE68A;
}

.evry-afp-pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #F59F0A;
	box-shadow: 0 0 0 3px rgba(245, 159, 10, 0.25);
	animation: evry-pulse 2s infinite;
	flex-shrink: 0;
}

@keyframes evry-pulse {
	0% { box-shadow: 0 0 0 0 rgba(245, 159, 10, 0.4); }
	70% { box-shadow: 0 0 0 6px rgba(245, 159, 10, 0); }
	100% { box-shadow: 0 0 0 0 rgba(245, 159, 10, 0); }
}

.evry-afp-h-grad {
	background: linear-gradient(135deg, #F59F0A 0%, #EA580C 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
}

/* Primary and Secondary Buttons */
.evry-afp-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(135deg, #F59F0A 0%, #D97706 100%) !important;
	color: #FFFFFF !important;
	font-size: 1rem;
	font-weight: 700;
	padding: 13px 28px;
	border-radius: var(--evry-radius-pill) !important;
	text-decoration: none !important;
	border: none !important;
	box-shadow: 0 4px 14px rgba(245, 159, 10, 0.35);
	transition: all 0.2s ease;
	cursor: pointer;
	text-align: center;
}

.evry-afp-btn-primary:hover {
	transform: none !important;
	box-shadow: 0 8px 22px rgba(245, 159, 10, 0.45);
	color: #FFFFFF !important;
}

.evry-afp-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #FFFFFF !important;
	color: var(--evry-ink) !important;
	font-size: 1rem;
	font-weight: 600;
	padding: 13px 24px;
	border-radius: var(--evry-radius-pill) !important;
	border: 1px solid #E2E8F0 !important;
	text-decoration: none !important;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
	transition: all 0.2s ease;
	cursor: pointer;
	text-align: center;
}

.evry-afp-btn-secondary:hover {
	background: #F8FAFC !important;
	border-color: #CBD5E1 !important;
	transform: none !important;
}

.evry-afp-btn-lg {
	padding: 16px 36px;
	font-size: 1.1rem;
}

/* ------------------------------------------------------------------ 1. HERO SECTION */
.evry-afp-hero {
	position: relative;
	padding: 70px 0 70px;
	background: radial-gradient(circle at 10% 15%, rgba(245, 159, 10, 0.08) 0%, transparent 45%),
	            radial-gradient(circle at 90% 25%, rgba(255, 176, 123, 0.1) 0%, transparent 40%),
	            #FDFCF9;
	border-bottom: 1px solid #ECEBE8;
	overflow: hidden;
}

.evry-afp-hero-glow {
	position: absolute;
	top: -100px;
	left: 45%;
	transform: translateX(-50%);
	width: 900px;
	height: 450px;
	background: radial-gradient(50% 50% at 50% 50%, rgba(245, 159, 10, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
	pointer-events: none;
	filter: blur(60px);
}

.evry-afp-hero-layout {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 56px;
	align-items: center;
	position: relative;
	z-index: 2;
}

.evry-afp-bc {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #94A3B8;
	margin-bottom: 18px;
}

.evry-afp-bc a {
	color: #64748B;
	text-decoration: none;
	font-weight: 500;
}

.evry-afp-bc a:hover {
	color: var(--evry-gold-dark);
}

.evry-afp-bc-sep {
	color: #CBD5E1;
}

.evry-afp-bc-curr {
	color: var(--evry-ink);
	font-weight: 600;
}

.evry-afp-h1 {
	font-size: clamp(2.4rem, 4.5vw, 3.8rem);
	font-weight: 800 !important;
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: var(--evry-ink);
	margin: 0 0 20px;
}

.evry-afp-lead {
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--evry-ink-muted);
	margin: 0 0 28px;
	max-width: 600px;
}

.evry-afp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	margin-bottom: 18px;
}

.evry-afp-micro {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: #64748B;
	margin-bottom: 24px;
}

.evry-afp-proof {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
	padding-top: 16px;
	border-top: 1px solid #ECEBE8;
}

.evry-afp-avatars img {
	display: block;
	height: 32px;
	width: auto;
	max-width: 130px;
}

.evry-afp-stars {
	color: #F59F0A;
	font-size: 13px;
	letter-spacing: 2px;
	line-height: 1;
	margin-bottom: 3px;
}

.evry-afp-proof-text {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--evry-ink);
}

.evry-afp-checks {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 20px;
}

.evry-afp-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 500;
	color: #334155;
}

/* Hero Right: 1:1 My Account Affiliate Visual */
.evry-afp-portal-frame {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
	color: #1A1410;
	text-align: left;
	position: relative;
	width: 100%;
}

.evry-afp-portal-frame .evry-aff__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid #F1F5F9;
	margin-bottom: 14px;
}

.evry-afp-portal-frame .evry-aff__head h2 {
	font-size: 20px;
	font-weight: 700;
	color: #0F172A !important;
	margin: 0 0 2px !important;
}

.evry-afp-portal-frame .evry-aff__muted {
	font-size: 12px;
	color: #64748B !important;
	margin: 0 !important;
}

.evry-afp-portal-frame .evry-aff__head-badges {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.evry-afp-portal-frame .evry-aff__badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
	white-space: nowrap;
}

.evry-afp-portal-frame .evry-aff__pill {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	font-style: normal;
	white-space: nowrap;
}

.evry-afp-portal-frame .evry-aff__pill--paid {
	background: #ECFDF5;
	color: #065F46;
	border: 1px solid #A7F3D0;
}

.evry-afp-portal-frame .evry-aff__pill--approved {
	background: #EFF6FF;
	color: #1E40AF;
	border: 1px solid #BFDBFE;
}

.evry-afp-portal-frame .evry-aff__pill--pending {
	background: #FFFBEB;
	color: #92400E;
	border: 1px solid #FDE68A;
}

.evry-afp-portal-frame .evry-aff__tabs {
	display: flex;
	align-items: center;
	gap: 4px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 4px;
	background: #FFFCF5;
	border: 1px solid rgba(245, 159, 10, 0.18);
	border-radius: 10px;
	margin-bottom: 14px;
}

.evry-afp-portal-frame .evry-aff__tabs::-webkit-scrollbar {
	display: none;
}

.evry-afp-portal-frame .evry-aff__tab {
	background: transparent;
	border: none;
	font-size: 12px;
	font-weight: 600;
	color: #6B6257;
	padding: 6px 12px;
	border-radius: 6px;
	cursor: default;
	white-space: nowrap;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.evry-afp-portal-frame .evry-aff__tab.is-active {
	background-color: #F59F0A !important;
	color: #FFFFFF !important;
	font-weight: 700;
}

.evry-afp-portal-frame .evry-aff__card {
	background: #F8FAFC;
	border: 1px solid #E2E8F0;
	border-radius: 14px;
	padding: 14px 16px;
	margin-bottom: 14px;
}

.evry-afp-portal-frame .evry-aff__card--link {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 14px;
	padding: 14px 16px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
	margin-bottom: 14px;
	transition: all 0.2s ease;
}

.evry-afp-portal-frame .evry-aff__card--link:hover {
	border-color: #CBD5E1;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.evry-afp-portal-frame .evry-aff__fieldlabel {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748B;
	margin-bottom: 8px;
}

.evry-afp-portal-frame .evry-aff__linkbar {
	display: flex;
	align-items: center;
	gap: 10px;
}

.evry-afp-portal-frame input.evry-aff__input,
.evry-afp-portal-frame .evry-aff__input {
	flex: 1;
	min-width: 0;
	background: #F8FAFC !important;
	border: 1.5px solid #E2E8F0 !important;
	border-radius: 10px !important;
	padding: 9px 14px !important;
	font-family: inherit !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #0F172A !important;
	outline: none !important;
	box-shadow: none !important;
	transition: all 0.2s ease !important;
	line-height: 1.4 !important;
}

.evry-afp-portal-frame input.evry-aff__input:focus,
.evry-afp-portal-frame input.evry-aff__input:hover,
.evry-afp-portal-frame .evry-aff__input:focus,
.evry-afp-portal-frame .evry-aff__input:hover {
	background: #FFFFFF !important;
	border-color: #F59F0A !important;
	box-shadow: 0 0 0 3px rgba(245, 159, 10, 0.12) !important;
}

.evry-afp-portal-frame .evry-aff__btn {
	background: #0F172A;
	color: #FFFFFF !important;
	border: 1.5px solid transparent !important;
	border-radius: 10px !important;
	padding: 9px 18px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.2s ease !important;
	flex-shrink: 0;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.4;
}

.evry-afp-portal-frame .evry-aff__btn:hover {
	background: #F59F0A !important;
	color: #0F172A !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(245, 159, 10, 0.3) !important;
}

.evry-afp-portal-frame .evry-aff__btn:active {
	transform: translateY(0);
}

.evry-afp-portal-frame .evry-aff__btn--ghost {
	background: #FFFFFF !important;
	color: #475569 !important;
	border: 1.5px solid #E2E8F0 !important;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.evry-afp-portal-frame .evry-aff__btn--ghost:hover {
	background: #FFFBEB !important;
	border-color: #F59F0A !important;
	color: #B45309 !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(245, 159, 10, 0.15) !important;
}

.evry-afp-portal-frame .evry-aff__btn--ghost svg {
	stroke: currentColor;
	transition: stroke 0.2s ease;
}

.evry-afp-portal-frame .evry-aff__stats--4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin-bottom: 12px;
}

.evry-afp-portal-frame .evry-aff__stat {
	background: #F8FAFC;
	border: 1px solid #E2E8F0;
	border-radius: 10px;
	padding: 10px 8px;
	text-align: center;
}

.evry-afp-portal-frame .evry-aff__stat-icon {
	font-size: 14px;
	display: block;
	margin-bottom: 2px;
}

.evry-afp-portal-frame .evry-aff__stat-label {
	font-size: 9px;
	font-weight: 600;
	color: #64748B;
	text-transform: uppercase;
	display: block;
	margin-bottom: 2px;
}

.evry-afp-portal-frame .evry-aff__stat-value {
	font-size: 14px;
	font-weight: 800;
	color: #0F172A;
	letter-spacing: -0.01em;
}

.evry-afp-portal-frame .evry-aff__stat-value.text-amber {
	color: #D97706;
}

.evry-afp-portal-frame .evry-aff__stat-value.text-green {
	color: #059669;
}

.evry-afp-portal-frame .evry-aff__card--level {
	padding: 10px 14px;
	margin-bottom: 12px;
}

.evry-afp-portal-frame .evry-aff__card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}

.evry-afp-portal-frame .evry-aff__bar {
	height: 6px;
	background: #E2E8F0;
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 4px;
}

.evry-afp-portal-frame .evry-aff__bar span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, #F59F0A 0%, #D97706 100%);
	border-radius: 999px;
}

.evry-afp-portal-frame .evry-aff__barmeta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.evry-afp-portal-frame .evry-aff__card--ledger {
	padding: 10px 14px;
	margin-bottom: 0;
}

.evry-afp-portal-frame .evry-aff__table-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-size: 11px;
	font-weight: 700;
	color: #0F172A;
	margin-bottom: 8px;
}

.evry-afp-portal-frame .evry-aff__ledger-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 0;
	border-bottom: 1px solid #F1F5F9;
}

.evry-afp-portal-frame .evry-aff__ledger-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.evry-afp-portal-frame .evry-aff__l-desc {
	flex: 1;
	min-width: 0;
}

.evry-afp-portal-frame .evry-aff__l-desc strong {
	display: block;
	font-size: 11px;
	color: #1E293B;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.evry-afp-portal-frame .evry-aff__l-desc span {
	font-size: 10px;
	color: #64748B;
}

.evry-afp-portal-frame .evry-aff__l-right {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.evry-afp-portal-frame .evry-aff__l-amt {
	font-size: 12px;
	font-weight: 800;
	color: #059669;
}

/* ------------------------------------------------------------------ 2. KEY STATS RIBBON */
.evry-afp-ribbon {
	padding: 40px 0;
	background: #FFFFFF;
	border-bottom: 1px solid #ECEBE8;
}

.evry-afp-ribbon-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.evry-afp-ribbon-item {
	padding: 10px 20px;
	border-left: 3px solid #F59F0A;
}

.evry-afp-ribbon-num {
	font-size: 2.2rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--evry-ink);
	line-height: 1.1;
	margin-bottom: 4px;
}

.evry-afp-ribbon-label {
	font-size: 14.5px;
	font-weight: 700;
	color: var(--evry-ink);
	margin-bottom: 2px;
}

.evry-afp-ribbon-sub {
	font-size: 12.5px;
	color: var(--evry-ink-muted);
}

/* ------------------------------------------------------------------ 3. SPLIT FEATURE */
.evry-afp-feature-split {
	padding: 90px 0;
	background: #FDFCF9;
	border-bottom: 1px solid #ECEBE8;
}

.evry-afp-split-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.evry-afp-comp-card {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 20px;
	padding: 28px;
	box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.08);
	width: 100%;
}

.evry-afp-comp-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #D97706;
	background: #FFFBEB;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 8px;
}

.evry-afp-comp-title {
	font-size: 18px;
	font-weight: 800;
	color: #0F172A;
	margin: 0 0 20px;
}

.evry-afp-comp-boxes {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 20px;
}

.evry-afp-comp-box {
	border-radius: 14px;
	padding: 16px;
	position: relative;
}

.evry-afp-comp-single {
	background: #F8FAFC;
	border: 1px solid #E2E8F0;
}

.evry-afp-comp-team {
	background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
	border: 2px solid #F59F0A;
	box-shadow: 0 8px 20px rgba(245, 159, 10, 0.15);
}

.evry-afp-comp-winner-tag {
	position: absolute;
	top: -10px;
	right: 14px;
	background: #0F172A;
	color: #F59F0A;
	font-size: 11px;
	font-weight: 800;
	padding: 3px 10px;
	border-radius: 999px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.evry-afp-comp-box-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	gap: 8px;
}

.evry-afp-comp-pill {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: #64748B;
}

.evry-afp-comp-pill-gold {
	color: #92400E;
}

.evry-afp-comp-price {
	font-size: 15px;
	font-weight: 800;
	color: #0F172A;
	white-space: nowrap;
}

.evry-afp-comp-desc {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 6px;
}

.evry-afp-comp-calc {
	font-size: 14px;
	color: #475569;
	margin-bottom: 8px;
}

.evry-afp-comp-calc strong {
	font-size: 16px;
	color: #0F172A;
}

.evry-afp-comp-calc strong.text-gold {
	color: #D97706;
	font-size: 20px;
	font-weight: 900;
}

.evry-afp-comp-bar {
	height: 8px;
	background: #E2E8F0;
	border-radius: 999px;
	overflow: hidden;
}

.evry-afp-comp-fill-sm {
	height: 100%;
	background: #94A3B8;
	border-radius: 999px;
}

.evry-afp-comp-fill-lg {
	height: 100%;
	background: linear-gradient(90deg, #F59F0A 0%, #D97706 100%);
	border-radius: 999px;
}

.evry-afp-comp-foot {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	color: #78350F;
	background: #FFFBEB;
	border: 1px solid #FDE68A;
	padding: 10px 14px;
	border-radius: 10px;
}

.evry-afp-h2 {
	font-size: clamp(1.9rem, 3.4vw, 2.75rem);
	font-weight: 800 !important;
	letter-spacing: -0.025em;
	color: var(--evry-ink);
	line-height: 1.15;
	margin: 0 0 16px;
}

.evry-afp-body {
	font-size: 1.05rem;
	line-height: 1.65;
	color: var(--evry-ink-muted);
	margin: 0 0 24px;
}

.evry-afp-feature-list {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.evry-afp-feature-list li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.evry-afp-f-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #FFFBEB;
	color: #D97706;
	font-weight: 800;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.evry-afp-feature-list strong {
	display: block;
	font-size: 15px;
	color: var(--evry-ink);
	margin-bottom: 2px;
}

.evry-afp-feature-list p {
	font-size: 13.5px;
	color: var(--evry-ink-muted);
	margin: 0;
	line-height: 1.5;
}

/* ------------------------------------------------------------------ 4. STEP WORKFLOW */
.evry-afp-how-section {
	padding: 90px 0;
	background: #F4F3EE;
	border-bottom: 1px solid #ECEBE8;
}

.evry-afp-center-head {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 52px;
}

.evry-afp-timeline-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.evry-afp-time-card {
	background: #FFFFFF;
	border: 1px solid #ECEBE8;
	border-radius: 20px;
	padding: 36px 30px;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
	position: relative;
	transition: transform 0.2s ease;
}

.evry-afp-time-card:hover {
	transform: none !important;
}

.evry-afp-time-num {
	font-size: 2.4rem;
	font-weight: 800;
	color: #FDE68A;
	line-height: 1;
	margin-bottom: 16px;
}

.evry-afp-time-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #FFFBEB;
	color: #D97706;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.evry-afp-time-title {
	font-size: 1.25rem;
	font-weight: 700 !important;
	color: var(--evry-ink);
	margin: 0 0 10px;
}

.evry-afp-time-desc {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--evry-ink-muted);
	margin: 0;
}

/* ------------------------------------------------------------------ 5. BESPOKE CALCULATOR / SIMULATOR */
.evry-afp-calc-section {
	padding: 90px 0;
	background: #FDFCF9;
	border-bottom: 1px solid #ECEBE8;
}

.evry-afp-sim-card {
	background: radial-gradient(circle at 85% 15%, rgba(245, 159, 10, 0.12) 0%, transparent 40%),
	            radial-gradient(circle at 15% 85%, rgba(30, 41, 59, 0.5) 0%, transparent 45%),
	            #0B0F19;
	border: 1px solid #1E293B;
	border-radius: 28px;
	padding: clamp(28px, 5vw, 56px);
	box-shadow: 0 32px 72px -16px rgba(11, 15, 25, 0.6);
	color: #FFFFFF;
	position: relative;
	overflow: hidden;
}

.evry-afp-sim-header {
	text-align: center;
	max-width: 680px;
	margin: 0 auto clamp(28px, 4vw, 44px);
}

.evry-afp-sim-h2 {
	font-size: clamp(1.9rem, 3.8vw, 2.9rem) !important;
	font-weight: 800 !important;
	color: #FFFFFF !important;
	letter-spacing: -0.025em;
	margin: 14px 0 12px !important;
}

.evry-afp-sim-sub {
	font-size: 1.05rem !important;
	color: #94A3B8 !important;
	line-height: 1.6;
	margin: 0 !important;
}

.evry-afp-sim-grid {
	display: grid;
	grid-template-columns: 1.18fr 0.82fr;
	gap: clamp(24px, 4vw, 48px);
	align-items: flex-start;
}

/* Controls Left */
.evry-afp-sim-controls {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.evry-afp-sim-group {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	padding: 20px;
}

.evry-afp-sim-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 700;
	color: #F1F5F9;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 12px;
	gap: 8px;
	flex-wrap: wrap;
}

.evry-afp-sim-label-hint {
	font-size: 11px;
	color: #64748B;
	text-transform: none;
	font-weight: 500;
}

.evry-afp-sim-badge {
	font-size: 13px;
	font-weight: 800;
	color: #F59F0A;
	text-transform: none;
	background: rgba(245, 159, 10, 0.12);
	border: 1px solid rgba(245, 159, 10, 0.3);
	padding: 3px 10px;
	border-radius: 999px;
}

.evry-afp-tier-highlight {
	font-size: 13px;
	font-weight: 800;
	color: #10B981;
	text-transform: none;
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.3);
	padding: 3px 10px;
	border-radius: 999px;
}

/* Material Selection Cards */
.evry-afp-mat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 10px;
}

.evry-afp-mat-card {
	background: #131B2B !important;
	border: 1.5px solid #1E293B !important;
	border-radius: 14px !important;
	padding: 12px 10px !important;
	cursor: pointer !important;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
	text-decoration: none !important;
	user-select: none !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
	outline: none !important;
}

.evry-afp-mat-card:hover {
	border-color: #334155 !important;
	background: #1A2438 !important;
	transform: none !important;
}

.evry-afp-mat-card.is-active {
	border-color: #F59F0A !important;
	background: linear-gradient(135deg, rgba(245, 159, 10, 0.14) 0%, rgba(217, 119, 6, 0.06) 100%) !important;
	box-shadow: 0 0 0 1px #F59F0A, 0 8px 20px rgba(245, 159, 10, 0.12) !important;
}

.evry-afp-mat-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2px;
}

.evry-afp-mat-icon {
	font-size: 18px;
}

.evry-afp-mat-price {
	font-size: 11.5px;
	font-weight: 800;
	color: #F59F0A;
	background: rgba(245, 159, 10, 0.1);
	border: 1px solid rgba(245, 159, 10, 0.25);
	padding: 2px 6px;
	border-radius: 6px;
	white-space: nowrap;
}

.evry-afp-mat-name {
	font-size: 12px !important;
	font-weight: 700 !important;
	color: #F8FAFC !important;
	line-height: 1.25 !important;
}

.evry-afp-mat-desc {
	font-size: 10px !important;
	color: #94A3B8 !important;
	line-height: 1.3 !important;
}

.evry-afp-mat-card.is-active .evry-afp-mat-desc {
	color: #CBD5E1 !important;
}

/* Range Slider */
.evry-afp-range-wrap {
	margin-top: 6px;
}

.evry-afp-sim-range {
	-webkit-appearance: none;
	width: 100%;
	height: 8px;
	border-radius: 999px;
	background: #1E293B;
	outline: none;
	cursor: pointer;
	margin: 8px 0;
}

.evry-afp-sim-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #F59F0A;
	cursor: pointer;
	box-shadow: 0 0 12px rgba(245, 159, 10, 0.6);
	border: 3px solid #0B0F19;
	transition: transform 0.15s ease;
}

.evry-afp-sim-range::-webkit-slider-thumb:hover {
	transform: scale(1.15);
}

.evry-afp-range-ticks {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	color: #64748B;
	margin-top: 4px;
}

/* Tier Ladder */
.evry-afp-ladder-track {
	height: 8px;
	background: #1E293B;
	border-radius: 999px;
	overflow: hidden;
	margin: 10px 0 12px;
}

.evry-afp-ladder-bar {
	height: 100%;
	background: linear-gradient(90deg, #F59F0A 0%, #10B981 100%);
	border-radius: 999px;
	transition: width 0.3s ease;
}

.evry-afp-ladder-pills {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 6px;
}

.evry-afp-ladder-pills span {
	font-size: 10px;
	font-weight: 700;
	color: #64748B;
	text-align: center;
	padding: 4px 2px;
	background: #131B2B;
	border: 1px solid #1E293B;
	border-radius: 6px;
	transition: all 0.2s;
	white-space: nowrap;
}

.evry-afp-ladder-pills span.is-active {
	color: #F59F0A;
	background: rgba(245, 159, 10, 0.15);
	border-color: #F59F0A;
}

/* Simulator Output Screen */
.evry-afp-screen-card {
	background: #101623;
	border: 1px solid #222F46;
	border-radius: 22px;
	padding: 26px;
	box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.4);
	position: relative;
	width: 100%;
}

.evry-afp-screen-badge-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-bottom: 14px;
	border-bottom: 1px solid #1E293B;
	margin-bottom: 18px;
}

.evry-afp-screen-tag {
	font-size: 11px;
	font-weight: 700;
	color: #10B981;
}

.evry-afp-screen-tier-pill {
	font-size: 11px;
	font-weight: 800;
	color: #F59F0A;
	background: rgba(245, 159, 10, 0.12);
	border: 1px solid rgba(245, 159, 10, 0.3);
	padding: 3px 10px;
	border-radius: 999px;
	white-space: nowrap;
}

.evry-afp-screen-hero {
	text-align: center;
	padding: 8px 0 18px;
}

.evry-afp-screen-title {
	font-size: 12.5px;
	font-weight: 600;
	color: #94A3B8;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 6px;
}

.evry-afp-screen-big {
	font-size: clamp(2.3rem, 4.2vw, 3.2rem);
	font-weight: 900;
	color: #F59F0A;
	letter-spacing: -0.03em;
	line-height: 1.1;
	margin-bottom: 8px;
}

.evry-afp-screen-year-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 13px;
	color: #94A3B8;
	flex-wrap: wrap;
}

.evry-afp-screen-year-row strong {
	color: #10B981;
	font-weight: 800;
	font-size: 14.5px;
}

.evry-afp-screen-details {
	background: #0B0F19;
	border: 1px solid #1E293B;
	border-radius: 14px;
	padding: 14px 16px;
	margin-bottom: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.evry-afp-detail-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-size: 12px;
	color: #94A3B8;
}

.evry-afp-detail-row strong {
	color: #F1F5F9;
	font-weight: 600;
	text-align: right;
}

.evry-afp-screen-note-box {
	font-size: 11.5px;
	color: #64748B;
	line-height: 1.5;
	background: rgba(255, 255, 255, 0.02);
	border-radius: 10px;
	padding: 10px 12px;
	margin-bottom: 18px;
}

.evry-afp-screen-note-box p {
	margin: 0;
}

.evry-afp-sim-cta {
	width: 100%;
	justify-content: center;
	padding: 13px 20px;
	font-size: 14px;
	font-weight: 700;
}

/* ------------------------------------------------------------------ 6. BENTO GRID */
.evry-afp-bento-section {
	padding: 90px 0;
	background: #F4F3EE;
	border-bottom: 1px solid #ECEBE8;
}

.evry-afp-bento-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.evry-afp-bento-card {
	background: #FFFFFF;
	border: 1px solid #ECEBE8;
	border-radius: 20px;
	padding: 32px 28px;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
	display: flex;
	flex-direction: column;
}

.evry-afp-bento-large {
	grid-column: span 2;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 24px;
	align-items: center;
}

.evry-afp-bento-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--evry-gold-dark);
	margin-bottom: 8px;
}

.evry-afp-bento-icon {
	font-size: 26px;
	margin-bottom: 16px;
}

.evry-afp-bento-title {
	font-size: 1.2rem;
	font-weight: 700 !important;
	color: var(--evry-ink);
	margin: 0 0 8px;
}

.evry-afp-bento-p {
	font-size: 14px;
	line-height: 1.6;
	color: var(--evry-ink-muted);
	margin: 0;
}

.evry-afp-mini-graph {
	height: 100px;
	display: flex;
	align-items: flex-end;
	gap: 12px;
	padding: 14px;
	background: #FAF9F5;
	border-radius: 12px;
	border: 1px solid #EAE7DC;
}

.evry-afp-bar {
	flex: 1;
	background: #CBD5E1;
	border-radius: 6px;
	transition: height 0.3s ease;
}

.evry-afp-bar-gold {
	background: #F59F0A;
}

/* ------------------------------------------------------------------ 7. AUDIENCE DECK */
.evry-afp-audience-section {
	padding: 90px 0;
	background: #FDFCF9;
	border-bottom: 1px solid #ECEBE8;
}

.evry-afp-audience-deck {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.evry-afp-aud-card {
	background: #FFFFFF;
	border: 1px solid #ECEBE8;
	border-radius: 20px;
	padding: 28px 22px;
	position: relative;
	transition: transform 0.2s ease;
}

.evry-afp-aud-card:hover {
	transform: none !important;
}

.evry-afp-aud-badge {
	position: absolute;
	top: 18px;
	right: 18px;
	font-size: 11px;
	font-weight: 700;
	color: #92400E;
	background: #FEF3C7;
	padding: 3px 8px;
	border-radius: var(--evry-radius-pill);
}

.evry-afp-aud-icon-wrap {
	font-size: 28px;
	margin-bottom: 16px;
}

.evry-afp-aud-h {
	font-size: 1.15rem;
	font-weight: 700 !important;
	color: var(--evry-ink);
	margin: 0 0 8px;
}

.evry-afp-aud-b {
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--evry-ink-muted);
	margin: 0;
}

/* ------------------------------------------------------------------ 8. HOMEPAGE-MATCHED FAQ */
.evry-afp-faq-section {
	padding: 80px 0 80px;
	background: #FDFCF9;
	border-bottom: 1px solid #ECEBE8;
}

.evry-afp-faq-section .evry-faq {
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	max-width: 860px;
	margin: 0 auto;
}

.evry-afp-faq-section .evry-faq__head {
	text-align: center;
	margin-bottom: 32px;
}

.evry-afp-faq-section .evry-faq__title {
	font-size: clamp(1.9rem, 3.5vw, 2.6rem) !important;
	font-weight: 800 !important;
	color: #0F172A !important;
	letter-spacing: -0.02em;
	margin: 14px 0 10px !important;
}

.evry-afp-faq-section .evry-faq__sub {
	font-size: 1.05rem;
	color: #64748B;
	max-width: 580px;
	margin: 0 auto;
	line-height: 1.55;
}

.evry-afp-faq-section .evry-faq__search-wrap {
	margin: 0 0 20px;
}

.evry-afp-faq-section .evry-faq__search {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 20px;
	border: 1px solid rgba(245, 159, 10, 0.25);
	background: #FFFFFF;
	font-size: 14.5px;
	border-radius: 999px;
	outline: none;
	color: #0F172A;
	transition: all 0.2s ease;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.evry-afp-faq-section .evry-faq__search:focus {
	border-color: #F59F0A;
	box-shadow: 0 0 0 3px rgba(245, 159, 10, 0.15);
}

.evry-afp-faq-section .evry-faq__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.evry-afp-faq-section .evry-faq__item {
	border: 1px solid rgba(245, 159, 10, 0.2);
	background: #FFFFFF;
	border-radius: 14px;
	overflow: hidden;
	transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.evry-afp-faq-section .evry-faq__item:hover {
	border-color: rgba(245, 159, 10, 0.45);
}

.evry-afp-faq-section .evry-faq__item[open] {
	background: #FFFCF5;
	border-color: #F59F0A;
	box-shadow: 0 8px 24px rgba(245, 159, 10, 0.08);
}

.evry-afp-faq-section .evry-faq__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	color: #0F172A;
	font-size: 16px;
	user-select: none;
	outline: none;
}

.evry-afp-faq-section .evry-faq__summary::-webkit-details-marker {
	display: none;
}

.evry-afp-faq-section .evry-faq__q {
	flex: 1;
	line-height: 1.4;
}

.evry-afp-faq-section .evry-faq__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: #FFFBEB;
	border: 1px solid #FDE68A;
	border-radius: 50%;
	color: #D97706;
	transition: all 0.25s ease;
}

.evry-afp-faq-section .evry-faq__icon svg {
	width: 14px;
	height: 14px;
}

.evry-afp-faq-section .evry-faq__item[open] .evry-faq__icon {
	background: #F59F0A;
	color: #FFFFFF;
	border-color: #F59F0A;
}

.evry-afp-faq-section .evry-faq__item[open] .evry-faq__icon-v {
	opacity: 0;
}

.evry-afp-faq-section .evry-faq__answer {
	padding: 0 22px 20px;
	font-size: 14.5px;
	color: #475569;
	line-height: 1.65;
}

.evry-afp-faq-section .evry-faq__answer p {
	margin: 0;
}

.evry-afp-faq-section .evry-faq__empty {
	text-align: center;
	color: #94A3B8;
	padding: 24px 0;
	margin: 0;
	font-size: 14px;
}

/* ------------------------------------------------------------------ 9. TERMS & CONDITIONS ACCORDION */
.evry-afp-terms-section {
	padding: 60px 0 70px;
	background: #FDFCF9;
}

.evry-afp-terms-box {
	background: #FFFFFF !important;
	border: 1px solid rgba(245, 159, 10, 0.22) !important;
	border-radius: 18px !important;
	overflow: hidden !important;
	transition: all 0.25s ease !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02) !important;
	outline: none !important;
}

.evry-afp-terms-box:hover {
	border-color: rgba(245, 159, 10, 0.4) !important;
}

.evry-afp-terms-box[open] {
	box-shadow: 0 12px 32px rgba(245, 159, 10, 0.08) !important;
	border-color: #F59F0A !important;
}

.evry-afp-terms-head {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 20px 24px !important;
	cursor: pointer !important;
	list-style: none !important;
	user-select: none !important;
	outline: none !important;
	background: #FFFFFF !important;
	transition: background 0.2s ease !important;
	gap: 12px;
}

.evry-afp-terms-head:focus,
.evry-afp-terms-head:active,
.evry-afp-terms-box summary:focus {
	outline: none !important;
	box-shadow: none !important;
}

.evry-afp-terms-head::-webkit-details-marker {
	display: none !important;
}

.evry-afp-terms-box[open] .evry-afp-terms-head {
	background: #FFFCF5 !important;
	border-bottom: 1px solid rgba(245, 159, 10, 0.15) !important;
}

.evry-afp-terms-title-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.evry-afp-terms-icon {
	font-size: 20px;
	flex-shrink: 0;
}

.evry-afp-terms-heading {
	font-size: 15.5px !important;
	font-weight: 700 !important;
	color: #0F172A !important;
}

.evry-afp-terms-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.evry-afp-terms-pill {
	font-size: 11px;
	font-weight: 700;
	color: #D97706;
	background: #FFFBEB;
	border: 1px solid #FDE68A;
	padding: 3px 10px;
	border-radius: 999px;
}

.evry-afp-chevron {
	width: 10px;
	height: 10px;
	border-right: 2px solid #64748B;
	border-bottom: 2px solid #64748B;
	transform: rotate(45deg);
	transition: transform 0.25s ease;
	margin-right: 4px;
	flex-shrink: 0;
}

.evry-afp-terms-box[open] .evry-afp-chevron {
	transform: rotate(-135deg);
	border-color: #D97706;
}

.evry-afp-terms-body {
	padding: 24px;
	background: #FFFCF5;
}

.evry-afp-terms-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.evry-afp-term-card {
	background: #FFFFFF;
	border: 1px solid #ECEAE3;
	border-radius: 12px;
	padding: 16px;
}

.evry-afp-term-card-wide {
	grid-column: span 2;
}

.evry-afp-term-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
	font-size: 13.5px;
	color: #0F172A;
}

.evry-afp-term-ico {
	font-size: 16px;
	flex-shrink: 0;
}

.evry-afp-term-card p {
	font-size: 12.5px;
	color: #64748B;
	line-height: 1.55;
	margin: 0;
}

.evry-afp-terms-footer {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid rgba(245, 159, 10, 0.15);
	font-size: 12.5px;
	color: #94A3B8;
	text-align: center;
}

.evry-afp-terms-footer a {
	color: #D97706;
	font-weight: 600;
	text-decoration: none;
}

.evry-afp-terms-footer a:hover {
	text-decoration: underline;
}

/* ------------------------------------------------------------------ 10. FULL-WIDTH DARK CTA BANNER */
.evry-afp-dark-cta {
	padding: 0 0 90px;
	background: #FDFCF9;
}

.evry-afp-dark-box {
	background: radial-gradient(circle at 50% -20%, #1E293B 0%, #070A11 100%);
	border-radius: 32px;
	padding: 64px 32px;
	text-align: center;
	color: #FFFFFF;
	box-shadow: 0 24px 60px -10px rgba(11, 15, 25, 0.45);
	position: relative;
	overflow: hidden;
}

.evry-afp-dark-h2 {
	font-size: clamp(2.1rem, 4.2vw, 3.4rem);
	font-weight: 800 !important;
	letter-spacing: -0.025em;
	color: #FFFFFF !important;
	margin: 16px 0 16px;
}

.evry-afp-dark-sub {
	font-size: 1.15rem;
	color: #94A3B8 !important;
	max-width: 620px;
	margin: 0 auto 36px;
	line-height: 1.6;
}

.evry-afp-dark-btns {
	display: flex;
	justify-content: center;
	margin-bottom: 22px;
}

.evry-afp-dark-sign {
	font-size: 14px;
	color: #94A3B8;
	margin: 0;
}

.evry-afp-dark-sign a {
	color: #F59F0A;
	font-weight: 600;
	text-decoration: none;
}

.evry-afp-dark-sign a:hover {
	text-decoration: underline;
}

/* ------------------------------------------------------------------ STRICT WHITE HEADINGS IN DARK CONTAINERS */
.evry-afp-root .evry-afp-sim-h2,
.evry-afp-root h2.evry-afp-sim-h2,
.evry-afp-root .evry-afp-dark-h2,
.evry-afp-root h2.evry-afp-dark-h2 {
	color: #FFFFFF !important;
}

.evry-afp-root .evry-afp-dark-sub,
.evry-afp-root .evry-afp-sim-sub {
	color: #94A3B8 !important;
}


/* ==================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP -> TABLET -> MOBILE)
   ================================================================== */

/* ------------------------------------------------------------------ TABLET LANDSCAPE & SMALL LAPTOPS (<= 1024px) */
@media (max-width: 1024px) {
	.evry-afp-hero-layout {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.evry-afp-hero-main {
		max-width: 720px;
		margin: 0 auto;
		text-align: center;
	}

	.evry-afp-bc {
		justify-content: center;
	}

	.evry-afp-actions {
		justify-content: center;
	}

	.evry-afp-micro {
		justify-content: center;
	}

	.evry-afp-proof {
		justify-content: center;
	}

	.evry-afp-checks {
		max-width: 520px;
		margin: 0 auto;
	}

	.evry-afp-hero-visual {
		max-width: 640px;
		margin: 0 auto;
		width: 100%;
	}

	.evry-afp-ribbon-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.evry-afp-split-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.evry-afp-split-media {
		max-width: 600px;
		margin: 0 auto;
		width: 100%;
	}

	.evry-afp-split-info {
		max-width: 680px;
		margin: 0 auto;
		text-align: center;
	}

	.evry-afp-feature-list {
		text-align: left;
		max-width: 540px;
		margin: 0 auto 32px;
	}

	.evry-afp-sim-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.evry-afp-sim-output {
		max-width: 600px;
		margin: 0 auto;
		width: 100%;
	}

	.evry-afp-bento-large {
		grid-column: span 1;
		grid-template-columns: 1fr;
	}

	.evry-afp-bento-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.evry-afp-audience-deck {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ------------------------------------------------------------------ TABLET PORTRAIT (<= 768px) */
@media (max-width: 768px) {
	.evry-afp-shell,
	.evry-afp-shell-sm {
		padding: 0 20px;
	}

	.evry-afp-hero {
		padding: 50px 0 50px;
	}

	.evry-afp-h1 {
		font-size: clamp(2rem, 6vw, 2.75rem);
	}

	.evry-afp-lead {
		font-size: 1rem;
		margin-bottom: 24px;
	}

	.evry-afp-ribbon {
		padding: 30px 0;
	}

	.evry-afp-ribbon-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.evry-afp-ribbon-num {
		font-size: 1.8rem;
	}

	.evry-afp-feature-split {
		padding: 60px 0;
	}

	.evry-afp-how-section {
		padding: 60px 0;
	}

	.evry-afp-center-head {
		margin-bottom: 36px;
	}

	.evry-afp-timeline-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.evry-afp-time-card {
		padding: 28px 24px;
	}

	.evry-afp-calc-section {
		padding: 60px 0;
	}

	.evry-afp-sim-card {
		padding: 32px 20px;
		border-radius: 22px;
	}

	.evry-afp-ladder-pills {
		grid-template-columns: repeat(3, 1fr);
		gap: 6px;
	}

	.evry-afp-bento-section {
		padding: 60px 0;
	}

	.evry-afp-bento-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.evry-afp-audience-section {
		padding: 60px 0;
	}

	.evry-afp-audience-deck {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.evry-afp-faq-section {
		padding: 60px 0;
	}

	.evry-afp-terms-section {
		padding: 40px 0 50px;
	}

	.evry-afp-terms-grid {
		grid-template-columns: 1fr;
	}

	.evry-afp-term-card-wide {
		grid-column: span 1;
	}

	.evry-afp-terms-head {
		padding: 16px 18px !important;
	}

	.evry-afp-terms-body {
		padding: 18px 16px;
	}

	.evry-afp-dark-cta {
		padding: 0 0 70px;
	}

	.evry-afp-dark-box {
		padding: 48px 20px;
		border-radius: 24px;
	}
}

/* ------------------------------------------------------------------ MOBILE SCREENS (<= 600px) */
@media (max-width: 600px) {
	.evry-afp-portal-frame {
		padding: 18px 16px;
	}

	.evry-afp-portal-frame .evry-aff__stats--4 {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.evry-afp-mat-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.evry-afp-range-ticks span:nth-child(2),
	.evry-afp-range-ticks span:nth-child(4) {
		display: none;
	}

	.evry-afp-faq-section .evry-faq__summary {
		padding: 14px 16px;
		gap: 12px;
		font-size: 15px;
	}

	.evry-afp-faq-section .evry-faq__answer {
		padding: 0 16px 16px;
		font-size: 13.5px;
	}

	.evry-afp-terms-head {
		flex-direction: column;
		align-items: flex-start !important;
		gap: 10px;
	}

	.evry-afp-terms-toggle {
		width: 100%;
		justify-content: space-between;
	}
}

/* ------------------------------------------------------------------ COMPACT MOBILE (<= 480px) */
@media (max-width: 480px) {
	.evry-afp-shell,
	.evry-afp-shell-sm {
		padding: 0 16px;
	}

	.evry-afp-pill {
		font-size: 11.5px;
		padding: 5px 12px;
		text-align: left;
		white-space: normal;
	}

	.evry-afp-h1 {
		font-size: clamp(1.85rem, 7.8vw, 2.3rem);
		letter-spacing: -0.02em;
	}

	.evry-afp-actions {
		flex-direction: column;
		width: 100%;
		gap: 10px;
	}

	.evry-afp-btn-primary,
	.evry-afp-btn-secondary {
		width: 100%;
		padding: 14px 20px;
	}

	.evry-afp-checks {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.evry-afp-proof {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 8px;
	}

	.evry-afp-ribbon-grid {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.evry-afp-ribbon-item {
		padding: 6px 12px;
	}

	.evry-afp-ribbon-num {
		font-size: 1.55rem;
	}

	.evry-afp-ribbon-label {
		font-size: 12.5px;
	}

	.evry-afp-ribbon-sub {
		font-size: 11px;
	}

	.evry-afp-portal-frame .evry-aff__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.evry-afp-portal-frame .evry-aff__head-badges {
		justify-content: flex-start;
	}

	.evry-afp-portal-frame .evry-aff__linkbar {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.evry-afp-portal-frame .evry-aff__btn {
		text-align: center;
		justify-content: center;
		padding: 10px 16px !important;
		width: 100%;
	}

	.evry-afp-comp-card {
		padding: 20px 14px;
	}

	.evry-afp-comp-box-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.evry-afp-sim-group {
		padding: 16px 14px;
	}

	.evry-afp-screen-card {
		padding: 20px 14px;
	}

	.evry-afp-screen-big {
		font-size: 2.2rem;
	}

	.evry-afp-bento-card {
		padding: 24px 18px;
	}

	.evry-afp-aud-card {
		padding: 22px 18px;
	}

	.evry-afp-dark-h2 {
		font-size: clamp(1.8rem, 6.5vw, 2.4rem);
	}

	.evry-afp-dark-btns .evry-afp-btn-lg {
		width: 100%;
	}
}