/**
 * Homepage hero.
 *
 * Delivered as a standalone HTML file (shotpay-homepage-hero, 2026-08-14) and
 * scoped on the way in. Every selector is namespaced under #sp-home-hero.
 *
 * Three things from the delivered file were deliberately NOT carried over:
 *   - a `* { margin:0; padding:0; box-sizing:border-box }` reset, which would
 *     have reintroduced the site-wide reset retired earlier the same day
 *   - a bare `body { background; color }` rule, which would have repainted the
 *     whole site near-black
 *   - a .proto-nav block for the prototype switcher, which the handoff README
 *     said was already removed
 *
 * The design tokens keep the delivered names but are prefixed --sph- and live
 * on the hero container, not :root, so they cannot collide with the theme. The
 * accent reads from the Elementor kit so the hero tracks the brand.
 */

#sp-home-hero {
	--sph-bg: #0d0d0d;
	--sph-bg-deep: #070707;
	--sph-card: #111112;
	--sph-card-well: #191919;
	--sph-ink: #fafafa;
	--sph-ink-dim: #9a9a9a;
	--sph-ink-card: #fafafa;
	--sph-accent: var( --e-global-color-accent, #FF3400 );
	--sph-accent-2: color-mix( in srgb, var( --sph-accent ) 80%, #000 );
	--sph-tan: #090909;
	--sph-radius: 16px;
	--sph-pill: 999px;
	--sph-maxw: 1180px;
	--sph-ease: cubic-bezier(.16,.84,.44,1);
	--sph-font: "Poppins",system-ui,sans-serif;
}

/* STAGE */

#sp-home-hero .stage {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 50px 24px 120px;
}

/* ---- HEADLINE (industry words ignite in sync with the featured product) ---- */

#sp-home-hero .hero-head {
	position: relative;
	z-index: 1;
	text-align: center;
	width: 100%;
	max-width: none;
	margin-bottom: 32px;
}

#sp-home-hero .hero-eyebrow {
	display: block;
	font-size: clamp(11px,1.1vw,13px);
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: rgba(9,9,9,.55);
	margin-bottom: 9px;
}

#sp-home-hero .hero-title {
	margin: 0;
	font-size: clamp(30px,5.4vw,78px);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -.015em;
	line-height: 1.02;
	color: var(--sph-tan);
}

#sp-home-hero .cat-word {
	color: var(--sph-tan);
	transition: color .5s var(--sph-ease), text-shadow .5s var(--sph-ease);
}

#sp-home-hero .cat-word.is-active {
	color: var(--sph-accent);
}

#sp-home-hero .showcase {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--sph-maxw);
	height: 640px;
	transform: scale(.82);
	transform-origin: center top;
	margin-bottom: -115px;
}

/* PHONE MOCKUP (Affirm-style dark glass) */

#sp-home-hero .phone {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-52%);
	width: 314px;
	height: 640px;
	z-index: 2;
	border-radius: 48px;
	padding: 13px;
	background: linear-gradient(160deg,#1c1c1e,#060606);
	border: 1px solid #2a2a2c;
	box-shadow: 0 55px 100px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.04) inset;
}

#sp-home-hero .phone::before {
	content: "";
	position: absolute;
	top: 22px;
	left: 50%;
	transform: translateX(-50%);
	width: 118px;
	height: 26px;
	background: #0a0b0e;
	border-radius: 16px;
	z-index: 3;
}

#sp-home-hero .screen {
	position: relative;
	height: 100%;
	border-radius: 36px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 46px 20px 18px;
	color: #0a0a0a;
	background: #ffffff;
}

/* header */

#sp-home-hero .screen-top {
	display: flex;
	align-items: center;
	justify-content: center;
}

#sp-home-hero .screen-logo {
	height: 22px;
	width: auto;
}

/* payment plan card (black block) */

#sp-home-hero .plan {
	margin-top: 18px;
	padding: 15px 16px 14px;
	border-radius: 16px;
	background: #0a0a0a;
	color: #fff;
}

#sp-home-hero .apr-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border-radius: var(--sph-pill);
	background: #161616;
	border: 1px solid rgba(255,60,0,.55);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

#sp-home-hero .apr-pill::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sph-accent);
}

#sp-home-hero .plan-row {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-top: 13px;
}

#sp-home-hero .radio {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid var(--sph-accent);
	display: grid;
	place-items: center;
}

#sp-home-hero .radio::after {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sph-accent);
}

#sp-home-hero .plan-txt {
	font-size: 15px;
	font-weight: 400;
	color: #e8edf5;
}

#sp-home-hero .plan-txt b {
	font-weight: 700;
	color: #fff;
}

#sp-home-hero .plan-lines {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(255,255,255,.1);
	display: grid;
	gap: 7px;
}

#sp-home-hero .pl-row {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
}

#sp-home-hero .pl-row span:first-child {
	color: var(--sph-ink-dim);
}

#sp-home-hero .pl-row span:last-child {
	color: #fff;
	font-weight: 600;
}

#sp-home-hero .screen-spacer {
	flex: 1;
}

#sp-home-hero .illus {
	text-align: center;
	font-size: 11px;
	color: rgba(10,10,10,.4);
	letter-spacing: .02em;
}

#sp-home-hero .fade {
	transition: opacity .28s var(--sph-ease);
}

/* CARD FAN (front, cycling) — width matches the phone's price box */

#sp-home-hero .fan {
	position: absolute;
	left: 50%;
	top: 67%;
	width: 0;
	height: 0;
	z-index: 5;
}

#sp-home-hero .card {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 240px;
	height: 262px;
	margin-left: -120px;
	margin-top: -131px;
	border-radius: 18px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid rgba(0,0,0,.06);
	box-shadow: 0 30px 55px -24px rgba(0,0,0,.45);
	transform-origin: center 130%;
	transition: transform .9s var(--sph-ease), opacity .9s var(--sph-ease);
	will-change: transform,opacity;
}

#sp-home-hero .card.is-featured {
	background: #ffffff;
	box-shadow: 0 36px 60px -22px rgba(0,0,0,.6);
}

#sp-home-hero .cat-pill {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 4;
	padding: 5px 13px;
	border-radius: var(--sph-pill);
	background: #0a0a0a;
	color: #fff;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	box-shadow: 0 6px 14px -6px rgba(0,0,0,.35);
}

#sp-home-hero .card-media {
	height: 70%;
	background: radial-gradient(120% 90% at 50% 30%,#ffffff,#f4f4f4 78%);
	display: grid;
	place-items: center;
	padding: 16px;
}

#sp-home-hero .card-media img {
	max-width: 88%;
	max-height: 88%;
	object-fit: contain;
	filter: drop-shadow(0 12px 16px rgba(0,0,0,.3));
}

#sp-home-hero .card-media span {
	font-size: 58px;
}

#sp-home-hero .card-foot {
	margin: 10px 12px 13px;
	padding: 10.5px 0;
	border-radius: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: transparent;
	border: 1.5px solid var(--sph-accent);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--sph-accent);
	transition: background .5s var(--sph-ease), border-color .5s var(--sph-ease), color .5s var(--sph-ease);
}

#sp-home-hero .card-foot b {
	color: var(--sph-accent);
}

#sp-home-hero .card.is-featured .card-foot {
	background: var(--sph-accent);
	border-color: var(--sph-accent);
	color: #fff;
	box-shadow: 0 8px 18px -6px rgba(255,60,0,.55);
}

#sp-home-hero .card.is-featured .card-foot b {
	color: #fff;
}

@media(max-width:720px) {
	#sp-home-hero .showcase {
		transform: scale(.72);
	}
}

/* The delivered file claimed reduced-motion support but shipped none. */
@media ( prefers-reduced-motion: reduce ) {
	#sp-home-hero *,
	#sp-home-hero *::before,
	#sp-home-hero *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
