/* Food Sock reseller funnel. Brand colours from the VSL storyboard. */
.fsrf, .fsrf-page {
	--fsrf-olive: #435818;
	--fsrf-deep: #2E3D10;
	--fsrf-orange: #DB7300;
	--fsrf-orange-dark: #B85F00;
	--fsrf-cream: #F9D89E;
	--fsrf-ink: #26301A;
	--fsrf-paper: #FFFDF7;
	--fsrf-sage: #8A9A5B;
	--fsrf-rust: #B5461F;
	--fsrf-line: #E4DCC8;
}

/* Focused page template */
body.fsrf-page { margin: 0; background: #F4EEDF; color: var(--fsrf-ink); font-family: Poppins, system-ui, sans-serif; }
.fsrf-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; background: var(--fsrf-paper); border-bottom: 4px solid var(--fsrf-olive); color: var(--fsrf-olive); }
.fsrf-logo { color: var(--fsrf-olive); font-weight: 700; text-decoration: none; display: flex; align-items: center; }
.fsrf-logo img { max-height: 52px; width: auto; display: block; }
.fsrf-bar-title { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.fsrf-main { padding: 24px 16px 48px; }
.fsrf-foot { text-align: center; font-size: 13px; padding: 24px 16px 32px; color: #6B6A5A; }
.fsrf-foot a { color: inherit; }

/* App */
.fsrf { max-width: 1000px; margin: 0 auto; font-family: Poppins, system-ui, sans-serif; color: var(--fsrf-ink); }
.fsrf *, .fsrf *::before, .fsrf *::after { box-sizing: border-box; }
.fsrf [hidden] { display: none !important; }
.fsrf-loading { text-align: center; padding: 80px 0; color: var(--fsrf-sage); }

.fsrf-progress { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--fsrf-olive); }
.fsrf-segs { display: flex; gap: 4px; flex: 1; }
.fsrf-seg { flex: 1; height: 6px; border-radius: 3px; background: var(--fsrf-line); }
.fsrf-seg.done { background: var(--fsrf-olive); }
.fsrf-seg.current { background: var(--fsrf-orange); }

.fsrf-card { background: var(--fsrf-paper); border-radius: 14px; padding: 24px; box-shadow: 0 1px 2px rgba(38, 48, 26, .06), 0 8px 24px rgba(38, 48, 26, .08); }
.fsrf-eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fsrf-orange); }
.fsrf h1 { margin: 0 0 16px; font-size: clamp(22px, 5vw, 30px); line-height: 1.2; font-weight: 700; color: var(--fsrf-deep); outline: none; }
.fsrf-lead { font-size: 16px; line-height: 1.6; margin: 0 0 20px; }

.fsrf-video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.fsrf-video video { width: 100%; height: 100%; display: block; }
.fsrf-novideo { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--fsrf-cream); background: var(--fsrf-olive); font-weight: 600; }
.fsrf-next { margin-top: 20px; text-align: center; animation: fsrf-in .35s ease-out; }
.fsrf-hint { margin: 14px 0 0; text-align: center; font-size: 14px; color: #6B6A5A; }

.fsrf-btn { display: inline-block; border: 0; border-radius: 999px; padding: 14px 28px; min-height: 48px; background: var(--fsrf-orange); color: #fff; font: 600 16px/1.2 Poppins, system-ui, sans-serif; cursor: pointer; text-decoration: none; transition: background .15s; }
.fsrf-btn:hover, .fsrf-btn:focus-visible { background: var(--fsrf-orange-dark); color: #fff; }
.fsrf-btn:focus-visible { outline: 3px solid var(--fsrf-cream); outline-offset: 2px; }
.fsrf-btn[disabled] { opacity: .6; cursor: wait; }
.fsrf-btn-ghost { background: transparent; color: var(--fsrf-olive); box-shadow: inset 0 0 0 2px var(--fsrf-olive); }
.fsrf-btn-ghost:hover { background: var(--fsrf-olive); color: var(--fsrf-paper); }

.fsrf-back, .fsrf-alt { margin: 18px 0 0; text-align: center; font-size: 14px; }
.fsrf a { color: var(--fsrf-olive); }

/* Forms */
.fsrf-form { display: grid; gap: 18px; }
.fsrf-field label, .fsrf-field legend { display: block; font-weight: 600; font-size: 15px; margin: 0 0 8px; padding: 0; }
.fsrf-field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fsrf-opt { font-weight: 400; color: #6B6A5A; }
.fsrf-field input[type=text], .fsrf-field input[type=email], .fsrf-field input[type=tel], .fsrf-field select, .fsrf-field textarea {
	width: 100%; padding: 12px 14px; min-height: 48px; border: 1.5px solid var(--fsrf-line); border-radius: 10px; background: #fff;
	font: 16px/1.4 Poppins, system-ui, sans-serif; color: var(--fsrf-ink);
}
.fsrf-field input:focus, .fsrf-field select:focus, .fsrf-field textarea:focus { outline: none; border-color: var(--fsrf-olive); box-shadow: 0 0 0 3px rgba(67, 88, 24, .15); }
.fsrf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fsrf-pill { position: relative; margin: 0 !important; font-weight: 500 !important; }
.fsrf-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fsrf-pill span { display: inline-block; padding: 11px 16px; border: 1.5px solid var(--fsrf-line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 15px; transition: all .12s; }
.fsrf-pill input:checked + span { background: var(--fsrf-olive); border-color: var(--fsrf-olive); color: var(--fsrf-paper); }
.fsrf-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(219, 115, 0, .4); }
.fsrf-consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; line-height: 1.5; cursor: pointer; }
.fsrf-consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--fsrf-olive); }
.fsrf-err, .fsrf-formerr { margin: 6px 0 0; color: var(--fsrf-rust); font-size: 14px; font-weight: 500; }
.has-err input, .has-err select, .has-err .fsrf-pill span { border-color: var(--fsrf-rust); }
.fsrf-hp { position: absolute; left: -9999px; }
.fsrf-form .fsrf-btn { justify-self: start; }
.fsrf-form .fsrf-btn-ghost { margin-left: auto }

/* Booking: wide enough on desktop for Calendly's side-by-side layout */
.fsrf.fsrf-is-wide { max-width: 1080px; }
.fsrf-wide { padding-bottom: 8px; }
.fsrf-calendly { min-width: 280px; height: 720px; margin: 0 -12px; }
.fsrf-booked-note { margin: 0 0 16px; padding: 14px 16px; border-radius: 10px; background: #EEF3E2; color: var(--fsrf-deep); }

@keyframes fsrf-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (min-width: 720px) {
	.fsrf-card { padding: 32px 36px; }
	.fsrf-calendly { margin: 0; }
}
@media (max-width: 480px) {
	.fsrf-main { padding: 16px 12px 40px; }
	.fsrf-card { padding: 20px 16px; }
	.fsrf-form .fsrf-btn, .fsrf-next .fsrf-btn { width: 100%; }
	.fsrf-calendly { height: 1000px; margin: 0 -16px; }
}
@media (prefers-reduced-motion: reduce) { .fsrf-next { animation: none; } }

/* Intro shown until the course starts (also what search engines read) */
.fsrf-intro ol { margin: 12px 0 0; padding-left: 1.3em; font-weight: 600; line-height: 1.8; }

/* "You're booked" confirmation page (/become-a-reseller/booked/) */
.fsrf-confirm { max-width: 720px; margin: 24px auto 0; }
.fsrf-when { margin: 4px 0 20px; padding: 18px 20px; border-radius: 16px; background: #435818; color: #fff; }
.fsrf-when p { margin: 0; }
.fsrf-when__day { font-size: clamp(20px, 4vw, 24px); font-weight: 700; }
.fsrf-when__time { margin-top: 4px !important; font-size: 18px; font-weight: 600; color: #F9D89E; }
.fsrf-when__time span { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .8); }
.fsrf-when__host { margin-top: 8px !important; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.fsrf-confirm__h { margin: 22px 0 10px; font-size: 18px; font-weight: 700; color: var(--fsrf-deep); }
.fsrf-nextsteps { margin: 0 0 22px; padding-left: 1.3em; line-height: 1.6; text-align: left; }
.fsrf-confirm { text-align: left; }
.fsrf-nextsteps li { margin-bottom: 8px; }
.fsrf-confirm__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 14px; }
.fsrf-confirm__actions .fsrf-btn { text-decoration: none; }
.fsrf-confirm__actions .fsrf-btn:not(.fsrf-btn-ghost), .fsrf-confirm__actions .fsrf-btn:not(.fsrf-btn-ghost):hover { color: #fff; }
.fsrf-confirm__help { margin-top: 18px; font-size: 14px; color: var(--fsrf-sage, #5E6648); }
@media (max-width: 520px) { .fsrf-confirm__actions .fsrf-btn { flex: 1 1 100%; text-align: center; } }

/* After clip 1: "I'm interested" plus the secondary "try Food Sock first" option */
.fsrf-next:not([hidden]) { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.fsrf-try-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 16px; }
.fsrf-try-actions .fsrf-btn:not(.fsrf-btn-ghost), .fsrf-try-actions .fsrf-btn:not(.fsrf-btn-ghost):hover { color: #fff; }
@media (max-width: 520px) {
	.fsrf-next:not([hidden]) .fsrf-btn, .fsrf-try-actions .fsrf-btn { flex: 1 1 100%; text-align: center; }
}

/* Checkpoint 1: "Watch part 2" plus the secondary "try Food Sock first" (both submit the details) */
.fsrf-form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fsrf-try-hint { margin-top: 12px; }
