/* Simple.Loans core components: enrollment embed, video bubble + modal, sticky CTA. */
:root {
	--sl-emerald: #07120E;
	--sl-forest: #142B22;
	--sl-turq: #00E6CF;
	--sl-green: #25F58A;
	--sl-mint: #EFFAF5;
	--sl-teal: #006B60;
}

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}

.sl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; padding: 0 24px; box-sizing: border-box; line-height: 1.25; text-align: center; border-radius: 999px; border: 0;
	background: var(--sl-turq); color: var(--sl-emerald) !important; font: inherit; font-weight: 700;
	text-decoration: none !important; cursor: pointer; transition: background-color .15s ease;
}
.sl-btn:hover { background: var(--sl-green); }
.sl-btn:focus-visible { outline: 3px solid var(--sl-mint); outline-offset: 3px; box-shadow: 0 0 0 6px var(--sl-emerald); }

/* ---------- Enrollment ---------- */
.sl-enroll {
	display: grid; gap: var(--sl-split-gap, 32px);
	grid-template-columns: 1fr; align-items: start;
	scroll-margin-top: 0; /* html scroll-padding-top (sl-nav2.css) is the only header offset, as for .sl-section[id] */
}
@media (min-width: 960px) {
	.sl-enroll { grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.4fr); }
	/* Stay in normal flow. A sticky aside painted over "After you submit" on scroll
	   because overflow-x: clip on .sl-section made the whole band the sticky box. */
	.sl-enroll__aside { position: static; }
}
.sl-enroll__title { margin: 0 0 16px; }
.sl-enroll__title:focus { outline: none; }
.sl-enroll__intro { margin: 0 0 24px; }
.sl-enroll__facts { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; font-size: .95rem; }
.sl-enroll__facts li { padding-left: 1.75rem; position: relative; }
.sl-enroll__facts li::before {
	content: ""; position: absolute; left: 0; top: .35em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, var(--sl-emerald) 0 30%, transparent 31%), linear-gradient(120deg, var(--sl-turq), var(--sl-green));
}
.sl-enroll__form {
	background: #fff; color: var(--sl-emerald); border-radius: 20px; padding: clamp(.5rem, 2vw, 1rem);
	box-shadow: 0 18px 50px rgba(7, 18, 14, .18); border: 1px solid rgba(7, 18, 14, .08);
}
.sl-enroll__frame { min-height: 420px; position: relative; }
.sl-enroll__placeholder {
	min-height: 420px; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center;
	border: 2px dashed rgba(0, 107, 96, .35); border-radius: 14px; padding: 32px; color: #33463F;
}
@media (max-width: 599px) { .sl-enroll__placeholder { padding: 16px; } }
.sl-enroll__placeholder[hidden] { display: none; }
.sl-enroll__fallback { margin: 16px 8px 8px; font-size: .95rem; color: #33463F; }
.sl-enroll__fallback a { color: var(--sl-teal); font-weight: 600; }

/* ---------- Video bubble ---------- */
.sl-vbubble {
	display: inline-flex; align-items: center; gap: .9rem; padding: .45rem 1.1rem .45rem .45rem;
	border-radius: 999px; border: 1px solid rgba(0, 230, 207, .45); background: var(--sl-forest);
	color: var(--sl-mint); font: inherit; text-align: left; cursor: pointer; min-height: 48px;
	box-shadow: 0 10px 30px rgba(7, 18, 14, .25);
}
.sl-vbubble:hover { border-color: var(--sl-green); }
.sl-vbubble:focus-visible { outline: 3px solid var(--sl-turq); outline-offset: 3px; }
/* The thumb is a plain brand disc (owner, 2026-12-01: the poster's title text, cropped into the circle, read as
   misaligned). The poster stays on the video player in the modal. */
.sl-vbubble__thumb {
	position: relative; flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%;
	background: radial-gradient(circle at 50% 38%, #1f5a49 0%, var(--sl-forest) 58%, var(--sl-emerald) 100%);
	box-shadow: 0 0 0 3px var(--sl-turq);
}
.sl-vbubble__play {
	position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%;
	display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: var(--sl-emerald);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.sl-vbubble__play svg, .sl-vbubble__play picture, .sl-vbubble__play img { display: block; width: 22px; height: 22px; margin-left: 3px; }
/* The nudge applies once: the icon prints a <picture> with an <img> inside, and both matched above. */
.sl-vbubble__play picture img { margin-left: 0; }
.sl-vbubble__text { display: grid; line-height: 1.3; }
.sl-vbubble__text strong { font-size: 1rem; }
.sl-vbubble__text span { font-size: .85rem; opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
	.sl-vbubble__thumb::after {
		content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--sl-turq);
		animation: sl-pulse 2.4s ease-out infinite; opacity: 0;
	}
	@keyframes sl-pulse { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }
}

.sl-vfloat {
	position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; align-items: flex-start; gap: .25rem;
}
.sl-vfloat[hidden] { display: none; }
.sl-vfloat .sl-vbubble { padding-right: 1rem; }
.sl-vfloat__dismiss {
	width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(239, 250, 245, .4);
	background: var(--sl-emerald); color: var(--sl-mint); cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.sl-vfloat__dismiss:focus-visible { outline: 3px solid var(--sl-turq); outline-offset: 2px; }
@media (max-width: 781px) {
	.sl-vfloat { bottom: 84px; left: 10px; }
	.sl-vfloat .sl-vbubble__text span { display: none; }
	.sl-vfloat .sl-vbubble__thumb { width: 52px; height: 52px; }
}

/* ---------- Sticky mobile CTA ---------- */
.sl-sticky-cta { display: none; }
@media (max-width: 781px) {
	.sl-sticky-cta {
		display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
		padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(7, 18, 14, .96);
		border-top: 1px solid rgba(0, 230, 207, .3);
	}
	.sl-sticky-cta[hidden] { display: none; }
	.sl-sticky-cta .sl-btn { width: 100%; }
}

/* ---------- Modal ---------- */
.sl-modal-open { overflow: hidden; }
.sl-vmodal { position: fixed; inset: 0; z-index: 1000; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 1rem; border: 0; background: transparent; display: none; place-items: center; }
.sl-vmodal[open] { display: grid; }
.sl-vmodal::backdrop { background: rgba(7, 18, 14, .82); }
.sl-vmodal__backdrop { position: absolute; inset: 0; cursor: pointer; } /* iOS Safari turns a tap into a click only on things that look clickable */
.sl-vmodal__panel {
	position: relative; width: min(960px, 100%); max-height: calc(100vh - 2rem); overflow: auto;
	background: var(--sl-emerald); color: var(--sl-mint); border-radius: 20px; padding: clamp(1rem, 3vw, 1.75rem);
	border: 1px solid rgba(0, 230, 207, .35); box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.sl-vmodal__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.sl-vmodal__title { margin: 0; font-size: clamp(1.15rem, 2.5vw, 1.5rem); color: var(--sl-mint); }
.sl-vmodal__close {
	flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(239, 250, 245, .4);
	background: transparent; color: var(--sl-mint); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.sl-vmodal__close:focus-visible { outline: 3px solid var(--sl-turq); outline-offset: 2px; }
.sl-vmodal__desc { margin: .5rem 0 1rem; font-size: .95rem; opacity: .92; }
.sl-vmodal__media { aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.sl-vmodal__video { width: 100%; height: 100%; display: block; }
.sl-vmodal__soon { border: 2px dashed rgba(0, 230, 207, .5); border-radius: 12px; padding: 2rem; }
.sl-vmodal__transcript { margin-top: 1rem; }
.sl-vmodal__transcript summary { cursor: pointer; font-weight: 600; color: var(--sl-turq); min-height: 32px; }
.sl-vmodal__transcript p { margin: .4rem 0; font-size: .95rem; }
.sl-vmodal__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.sl-vmodal__note { margin: 0; font-size: .9rem; opacity: .9; }

/* ---------- Placeholders, FAQ, identity ---------- */
mark.sl-ph {
	background: #FFF3C4; color: #4A3B00; border: 1px dashed #A07F00; border-radius: 4px;
	padding: 0 .3em; font-size: .92em; font-weight: 600;
}
.sl-faq { display: grid; gap: 16px; }
.sl-faq__item { background: #fff; border: 1px solid rgba(7, 18, 14, .1); border-radius: 14px; padding: 0 24px; }
/* Question row: label and chevron both vertically centered in a 64px row (8px scale). */
.sl-faq__q {
	cursor: pointer; font-weight: 600; line-height: 1.5; list-style: none;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 64px; padding: 16px 0; box-sizing: border-box;
}
.sl-faq__q::-webkit-details-marker { display: none; }
.sl-faq__q::after {
	content: ""; flex: none; width: 8px; height: 8px; margin-right: 4px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg); transition: transform .15s ease;
}
.sl-faq__item[open] > .sl-faq__q::after { transform: translateY(2px) rotate(225deg); }
.sl-faq__q:focus-visible { outline: 3px solid var(--sl-teal); outline-offset: 4px; border-radius: 4px; }
.sl-faq__a { padding-bottom: 24px; }
.sl-faq__a > :first-child { margin-top: 0; }
.sl-faq__a p { margin: 0 0 16px; }
.sl-faq__a > :last-child { margin-bottom: 0; }
.sl-identity { margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: inherit; }
.sl-identity div { display: flex; flex-wrap: wrap; gap: 0 .4rem; align-items: baseline; }
.sl-identity dt { font-weight: 600; color: rgba(239, 250, 245, .72); white-space: nowrap; }
/* On a narrow screen the address drops under its label instead of squeezing beside it. */
.sl-identity dd { margin: 0; flex: 1 1 auto; }
@media (max-width: 599px) { .sl-identity div:last-child dd { flex-basis: 100%; } }
.sl-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; font-size: .9rem; }
.sl-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }

/* 5-step strip, tips, after-submit panel */
.sl-steps { list-style: none; margin: .25rem .25rem 1rem; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; font-size: .8rem; color: #33463F; }
.sl-steps li { display: grid; justify-items: center; text-align: center; gap: .3rem; line-height: 1.25; }
.sl-steps__n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #07120E; color: #00E6CF; }
@media (max-width: 520px) { .sl-steps { font-size: .7rem; } }
.sl-enroll__tips { margin: 16px 8px 0; font-size: .92rem; }
.sl-enroll__tips summary { cursor: pointer; font-weight: 600; color: #006B60; min-height: 32px; }
.sl-enroll__tips ul { margin: .5rem 0 0; padding-left: 1.2rem; }

/* Native inquiry form */
.sl-form { margin: 0; }
.sl-form__legend { font-weight: 800; font-size: 1.15rem; margin: 0 0 16px; color: #07120E; padding: 0; }
.sl-form__field { margin: 0 0 18px; }
.sl-form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .sl-form__row { grid-template-columns: 1fr 1fr; } }
.sl-form__label { display: block; font-weight: 700; margin: 0 0 8px; color: #07120E; }
.sl-form__req { color: #006B60; }
.sl-form__hint { margin: -4px 0 8px; font-size: .9rem; color: #33463F; }
.sl-form__input, .sl-form__textarea {
	width: 100%; box-sizing: border-box; min-height: 48px; padding: 0 16px;
	border: 1px solid rgba(7, 18, 14, .18); border-radius: 12px;
	background: #fff; color: #07120E; font: inherit;
}
.sl-form__textarea { min-height: 120px; padding: 12px 16px; resize: vertical; }
.sl-form__input:focus, .sl-form__textarea:focus, .sl-form__choice input:focus-visible {
	outline: 3px solid #00E6CF; outline-offset: 2px; border-color: #006B60;
}
.sl-form__radios { display: grid; gap: 8px; }
@media (min-width: 640px) { .sl-form__radios { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.sl-form__choice { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(7, 18, 14, .14); border-radius: 12px; background: #EFFAF5; cursor: pointer; }
.sl-form__choice:hover, .sl-form__choice:has(input:checked) { border-color: #006B60; background: #fff; }
.sl-form__choice input { margin-top: 3px; accent-color: #006B60; width: 18px; height: 18px; flex: none; }
.sl-form__choice--consent { align-items: flex-start; background: #fff; }
.sl-form__error { margin: 8px 0 0; color: #8A1F1F; font-weight: 600; font-size: .92rem; }
.sl-form__banner { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #FDECEC; color: #8A1F1F; font-weight: 600; }
.sl-form__banner[hidden] { display: none; }
.sl-form__nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.sl-form__nav .sl-btn { min-height: 48px; }
.sl-btn--ghost { background: transparent; color: #07120E; border: 2px solid currentColor; }
.sl-btn--ghost:hover { background: #07120E; color: #00E6CF; }
.sl-form__fineprint, .sl-form__compliance { font-size: .88rem; color: #33463F; margin: 16px 0 0; max-width: 70ch; }
.sl-form__submit-consent { font-size: .88rem; color: #33463F; margin: 12px 0 0; max-width: 70ch; }
.sl-form__submit-consent[hidden] { display: none !important; }
.sl-form__note { font-size: .88rem; color: #33463F; margin: 12px 0 0; max-width: 70ch; }
.sl-form__honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Partner contact form */
.sl-form__optional { font-weight: 400; color: #33463F; font-size: .9rem; }
.sl-btn:disabled, .sl-btn[aria-disabled="true"] { opacity: .65; cursor: progress; }
.sl-partner-contact__success { outline: none; }
/* Keep the partner form clear of the fixed header (top) and the phone inquiry bar (bottom) when it is focused or linked to. */
#partner-contact, .sl-partner-contact__success, .sl-partner-contact .sl-form__banner, .sl-partner-contact .sl-form__field { scroll-margin-top: calc(var(--sl-header-h, 81px) + 16px); }
@media (max-width: 599px) {
	html { scroll-padding-bottom: calc(var(--sl-inquiry-bar-h, 0px) + env(safe-area-inset-bottom, 0px)); }
}
.sl-partner-contact__success-title { margin: 0 0 8px; font-size: 1.35rem; font-weight: 800; color: #07120E; }
.sl-btn[hidden], .sl-form [hidden], .sl-form__step[hidden] { display: none !important; }
.sl-form__success { text-align: left; padding: 8px 4px 16px; }
.sl-form__success[hidden] { display: none; }
.sl-form__success-star { position: relative; width: 80px; height: 112px; margin: 0 0 8px; display: grid; place-items: end center; }
.sl-form__star { width: 64px; height: 64px; filter: drop-shadow(0 4px 10px rgba(0, 230, 207, .35)); transform-origin: 50% 50%; animation: sl-star-loop 2.4s ease-in-out infinite; }
@keyframes sl-star-loop {
	0% { transform: translateY(32px) rotate(0deg); }
	30% { transform: translateY(0) rotate(0deg); }
	52% { transform: translateY(0) rotate(360deg); }
	82% { transform: translateY(32px) rotate(360deg); }
	90% { transform: translateY(22px) rotate(360deg); }
	100% { transform: translateY(32px) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
	.sl-form__star { animation: none; transform: none; }
}
.sl-form__success-title { margin: 0 0 8px; font-size: 1.7rem; outline: none; }
.sl-form__success-sub { margin: 0 0 14px; font-size: 1.05rem; color: #16332C; max-width: 70ch; }
.sl-form__success-legal { margin: 0 0 16px; font-size: .85rem; color: #5A6F68; max-width: 70ch; }
.sl-form__success-body, .sl-form__success-id { max-width: 70ch; color: #33463F; }
.sl-form__success-id[hidden] { display: none; }
.sl-steps li.is-current .sl-steps__n { background: #00E6CF; color: #07120E; }
.sl-steps li.is-done .sl-steps__n { background: #25F58A; color: #07120E; }
.sl-enroll__form { background: #fff; border-radius: var(--sl-radius, 18px); padding: 24px; border: 1px solid rgba(7, 18, 14, .08); box-shadow: 0 8px 26px rgba(7, 18, 14, .06); }
@media (max-width: 599px) { .sl-enroll__form { padding: 16px; } }

/* Inquiry form that stands out from the page (owner ask 2026-12-01: the form blended into the page on desktop).
   Everything is scoped to .sl-enroll__form, so the client portal's step strip (also .sl-steps) is untouched. */
.sl-enroll__form {
	border: 2px solid transparent;
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #00E6CF, #25F58A) border-box;
	box-shadow: 0 24px 60px rgba(7, 18, 14, .18), 0 0 0 6px rgba(0, 230, 207, .12);
}
.sl-enroll__form .sl-steps {
	margin: 0 0 22px; padding: 14px 10px 12px; border-radius: 14px;
	background: linear-gradient(135deg, #07120E, #142B22); color: #CFEDE4;
}
.sl-enroll__form .sl-steps__n { background: #142B22; color: #00E6CF; box-shadow: inset 0 0 0 1.5px rgba(0, 230, 207, .6); }
.sl-enroll__form .sl-steps li.is-current { color: #fff; font-weight: 700; }
.sl-enroll__form .sl-steps li.is-current .sl-steps__n { background: #00E6CF; color: #07120E; box-shadow: 0 0 0 4px rgba(0, 230, 207, .28); }
.sl-enroll__form .sl-steps li.is-done .sl-steps__n { background: #25F58A; color: #07120E; box-shadow: none; }
.sl-enroll__form .sl-form__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.sl-enroll__form .sl-form__legend { font-size: 1.3rem; margin-bottom: 20px; }
.sl-enroll__form .sl-form__legend::after {
	content: ""; display: block; width: 56px; height: 4px; margin-top: 8px; border-radius: 4px;
	background: linear-gradient(90deg, #00E6CF, #25F58A);
}
.sl-enroll__form .sl-form__choice { background: #fff; border-color: rgba(7, 18, 14, .24); }
.sl-enroll__form .sl-form__choice:hover { border-color: #006B60; background: #F3FFFB; }
.sl-enroll__form .sl-form__choice:has(input:checked) {
	border: 2px solid #009E8F; padding: 9px 11px;
	background: rgba(0, 230, 207, .14); box-shadow: 0 4px 14px rgba(0, 107, 96, .14);
}
.sl-enroll__form .sl-form__input, .sl-enroll__form .sl-form__textarea { border-color: rgba(7, 18, 14, .3); }
.sl-enroll__form .sl-form__input:hover, .sl-enroll__form .sl-form__textarea:hover { border-color: #006B60; }
.sl-enroll__form .sl-form__nav .sl-btn:not(.sl-btn--ghost) { box-shadow: 0 8px 20px rgba(0, 184, 166, .35); }
.sl-enroll__form .sl-form__nav .sl-btn:focus-visible { box-shadow: 0 0 0 6px #07120E; } /* keep the keyboard focus ring */

/* BBB A+ Rating badge: local CSS/SVG, never hotlinked. */
.sl-bbb { display: inline-flex; align-items: center; gap: .7rem; color: #1B365D; text-decoration: none; line-height: 1.15; }
a.sl-bbb:hover, a.sl-bbb:focus-visible { color: #12263f; }
.sl-bbb__mark { flex: none; width: 44px; height: 44px; color: #1B365D; display: block; }
.sl-bbb__text { display: flex; flex-direction: column; justify-content: center; gap: .1rem; }
.sl-bbb__name { font-weight: 800; font-size: 1.05rem; letter-spacing: .06em; }
.sl-bbb__rating { font-weight: 700; font-size: .85rem; color: #8A6A12; }
.sl-bbb--small { gap: .5rem; }
.sl-bbb--small .sl-bbb__mark { width: 28px; height: 28px; }
.sl-bbb--small .sl-bbb__name { font-size: .8rem; letter-spacing: .05em; }
.sl-bbb--small .sl-bbb__rating { font-size: .7rem; }
