/*
	File: assets/css/01-hero.css
	Description: Hero, explainer graphic, interactive name preview, and benefit strip.
	Last modified: 2026-07-17
	Copyright: (c) 2026 mytag.sol Community. All rights reserved.
*/

.hero-section {
	display: flex;
	flex-direction: column;
	gap: 1.8rem;
	width: 100%;
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 2rem 1.2rem 0;
	color-scheme: only dark;
}

.hero-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	text-align: center;
}

.image-logo {
	width: 70%;
	max-width: 210px;
	max-height: 110px;
	object-fit: contain;
}

.hero-intro {
	max-width: 52ch;
	text-align: center;
}

.intro-kicker {
	margin-bottom: 0.55rem;
	color: var(--color-gold);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.intro-headline {
	margin-bottom: 0.65rem;
	color: var(--color-text);
	font-size: clamp(1.45rem, 4vw, 1.9rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
	text-wrap: balance;
}

.intro-body {
	margin-right: auto;
	margin-left: auto;
	color: var(--color-text-muted);
	font-size: clamp(0.92rem, 2.4vw, 1.05rem);
	line-height: var(--line-readable);
	max-width: 48ch;
}

.intro-sol {
	color: var(--color-gold);
	font-weight: 700;
}

.hero-explainer {
	display: flex;
	justify-content: center;
	width: 100%;
}

.explainer-img {
	width: min(82%, 470px);
	border-radius: var(--radius-card);
	filter: drop-shadow(0 7px 24px rgba(0, 0, 0, 0.5));
	pointer-events: none;
}

.hero-stage {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.34rem;
	margin-top: clamp(0.55rem, 2vw, 0.95rem);
}

.hero-name-tool {
	position: relative;
	--hero-control-width: min(100%, 560px);
	--hero-name-font-size-default: clamp(0.98rem, 5.7cqi, 1.22rem);
	--hero-name-font-size: var(--hero-name-font-size-default);
	--hero-name-line-height: 1.12;
	--hero-row-width: 338px;
	width: min(100%, 540px);
	overflow: visible;
	padding: 1.66rem clamp(0.65rem, 2vw, 1rem) 1.78rem;
	border: 1px solid rgba(217, 177, 255, 0.18);
	border-radius: 28px;
	background-color: rgba(17, 0, 37, 0.68);
	background:
		radial-gradient(ellipse at 50% 24%, rgba(255, 192, 0, 0.055), transparent 46%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012) 54%, transparent),
		rgba(17, 0, 37, 0.68);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.045),
		0 16px 44px rgba(0, 0, 0, 0.28);
	text-align: center;
	container-type: inline-size;
	isolation: isolate;
}

.hero-name-tool::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 48%;
	z-index: 0;
	width: min(500px, 88%);
	height: 132px;
	border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(255, 192, 0, 0.24), rgba(217, 177, 255, 0.1) 48%, transparent 76%);
	filter: blur(28px);
	opacity: 0.32;
	transform: translate(-50%, -50%) scale(0.9);
	animation: input-glow-pulse 6.2s ease-in-out infinite;
	pointer-events: none;
}

.slogan-wrapper,
.hero-name-shell,
.hero-tool-actions {
	position: relative;
	z-index: 1;
}

.hero-demo-note {
	position: relative;
	z-index: 1;
	width: fit-content;
	max-width: min(100%, var(--hero-row-width), 58ch);
	margin: 0.76rem auto 0;
	color: rgba(255, 255, 255, 0.44);
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.28;
	text-wrap: balance;
}

.slogan-wrapper {
	max-width: 100%;
	margin: 0 auto 0.9rem;
}

.handwritten-slogan {
	width: min(52%, 226px);
	margin: 0.2rem auto 0;
	filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.4));
	pointer-events: none;
}

.hero-name-shell {
	display: flex;
	flex-direction: column;
	gap: 0.34rem;
}

.hero-name-input-row {
	position: relative;
	display: flex;
	align-items: center;
	width: min(100%, var(--hero-row-width));
	max-width: var(--hero-control-width);
	min-height: 62px;
	margin: 0 auto;
	overflow: hidden;
	padding: 0.55rem 0.9rem;
	border: 1px solid rgba(217, 177, 255, 0.32);
	border-bottom-color: rgba(255, 192, 0, 0.7);
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 42%, transparent),
		rgba(5, 0, 15, 0.84);
	box-shadow:
		inset 0 -1px 0 rgba(255, 192, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.04),
		0 16px 36px rgba(0, 0, 0, 0.28),
		0 0 28px rgba(255, 192, 0, 0.035);
	cursor: text;
	transition: width 0.34s cubic-bezier(0.2, 0.72, 0.28, 1), border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.hero-name-clear {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	margin-right: 0.34rem;
	margin-left: -0.18rem;
	border: 1px solid rgba(217, 177, 255, 0.18);
	border-radius: 50%;
	background: rgba(17, 0, 37, 0.72);
	color: rgba(217, 177, 255, 0.66);
	opacity: 0;
	pointer-events: none;
	transform: scale(0.92);
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.hero-name-clear span {
	position: relative;
	display: block;
	width: 12px;
	height: 12px;
	pointer-events: none;
}

.hero-name-clear span::before,
.hero-name-clear span::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 12px;
	height: 1.5px;
	border-radius: 2px;
	background: currentColor;
	transform-origin: 50% 50%;
}

.hero-name-clear span::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.hero-name-clear span::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.hero-name-shell.has-live-name .hero-name-clear {
	opacity: 1;
	pointer-events: auto;
	transform: scale(1);
}

.hero-name-clear:hover,
.hero-name-clear:focus-visible {
	border-color: rgba(255, 192, 0, 0.4);
	background: rgba(255, 192, 0, 0.1);
	color: var(--color-gold);
}

.hero-name-input-row:focus-within {
	border-color: rgba(255, 216, 77, 0.78);
	background: rgba(5, 0, 15, 0.96);
	box-shadow:
		inset 0 -1px 0 rgba(255, 216, 77, 0.5),
		inset 0 1px 0 rgba(255, 255, 255, 0.055),
		0 18px 40px rgba(0, 0, 0, 0.32),
		0 0 28px rgba(255, 192, 0, 0.1);
}

.hero-name-input-row.is-invalid {
	border-color: rgba(255, 216, 77, 0.86);
	box-shadow:
		inset 0 -1px 0 rgba(255, 192, 0, 0.45),
		0 0 20px rgba(255, 192, 0, 0.12);
}

.hero-name-input-wrap {
	flex: 1 1 auto;
	min-width: 1ch;
	height: calc(var(--hero-name-font-size) * var(--hero-name-line-height));
	position: relative;
	display: grid;
	align-items: center;
}

.hero-name-preview,
.hero-name-input {
	grid-area: 1 / 1;
	padding: 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: rgba(217, 177, 255, 0.94);
	color: color-mix(in srgb, var(--color-lavender) 88%, #ffffff 12%);
	font-family: inherit;
	font-size: 1.12rem;
	font-size: var(--hero-name-font-size);
	font-weight: 700;
	letter-spacing: 0;
	line-height: var(--hero-name-line-height);
	text-align: right;
	transform: none;
}

.hero-name-preview {
	display: block;
	min-width: 0;
	overflow: visible;
	pointer-events: none;
	white-space: nowrap;
}

.hero-name-input {
	width: 100%;
	min-width: 0;
	height: calc(var(--hero-name-font-size) * var(--hero-name-line-height));
	-webkit-appearance: none;
	appearance: none;
	caret-color: transparent;
	color: transparent;
	text-shadow: none;
}

.hero-name-input::placeholder {
	color: rgba(217, 177, 255, 0.42);
}

.hero-name-input::selection {
	background: rgba(255, 192, 0, 0.3);
	color: #ffffff;
}

.hero-input-caret {
	flex: 0 0 auto;
	position: relative;
	width: 0;
	height: 1.32em;
	margin: 0;
	background: transparent;
	box-shadow: none;
	transition: height 0.18s ease;
}

.hero-input-caret::before {
	content: "";
	position: absolute;
	left: -1px;
	top: 0;
	width: 2px;
	height: 100%;
	border-radius: 2px;
	background: var(--color-gold);
	box-shadow: 0 0 7px rgba(255, 192, 0, 0.46);
	animation: input-caret-blink 1.18s ease-in-out infinite;
	transition: opacity 0.18s ease;
}

.hero-name-input-row:focus-within .hero-input-caret {
	height: 1.16em;
}

.hero-name-shell.has-custom-name:not(:focus-within) .hero-input-caret {
	opacity: 0;
}

.hero-name-shell.has-custom-name:not(:focus-within) .hero-input-caret::before {
	opacity: 0;
	animation: none;
}

.hero-name-shell.is-confirmed-name:not(:focus-within) .hero-input-caret {
	opacity: 0;
}

.hero-name-shell.is-confirmed-name:not(:focus-within) .hero-input-caret::before {
	opacity: 0;
	animation: none;
}

.hero-name-dot {
	flex: 0 0 auto;
	display: block;
	height: auto;
	margin: 0 0 0 0.02rem;
	color: rgba(255, 255, 255, 0.74);
	font-size: 1.12rem;
	font-size: var(--hero-name-font-size);
	font-weight: 700;
	line-height: var(--hero-name-line-height);
}

.hero-name-suffix {
	position: relative;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: baseline;
	width: var(--suffix-width, 8.2ch);
	max-width: none;
	height: calc(var(--hero-name-font-size) * var(--hero-name-line-height));
	overflow: visible;
	color: var(--color-gold);
	font-size: 1.12rem;
	font-size: var(--hero-name-font-size);
	font-weight: 700;
	line-height: var(--hero-name-line-height);
	margin-left: -0.02em;
	text-align: left;
	transition: width 0.28s cubic-bezier(0.2, 0.72, 0.28, 1);
	white-space: nowrap;
	will-change: width;
}

.suffix-card {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	line-height: inherit;
	text-overflow: clip;
}

.suffix-measure {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: auto;
	height: auto;
	visibility: hidden;
	white-space: nowrap;
	pointer-events: none;
	font: inherit;
}

.name-measure {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: auto;
	height: auto;
	visibility: hidden;
	white-space: nowrap;
	pointer-events: none;
	color: rgba(217, 177, 255, 0.94);
	color: color-mix(in srgb, var(--color-lavender) 88%, #ffffff 12%);
	font-family: inherit;
	font-size: 1.12rem;
	font-size: var(--hero-name-font-size);
	font-weight: 700;
	letter-spacing: 0;
	line-height: var(--hero-name-line-height);
	text-align: right;
}

.suffix-card.is-current {
	position: relative;
}

.suffix-card.is-entering,
.suffix-card.is-exiting {
	position: absolute;
	left: 0;
	top: 0;
	transform: translateX(0);
}

.suffix-card.is-entering {
	animation: suffix-card-enter 0.32s cubic-bezier(0.2, 0.72, 0.28, 1) forwards;
}

.suffix-card.is-exiting {
	animation: suffix-card-exit 0.24s ease forwards;
}

.hero-name-feedback {
	width: min(100%, var(--hero-row-width));
	max-width: var(--hero-control-width);
	min-height: 0.82rem;
	margin: 0.02rem auto -0.08rem;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.2;
	opacity: 0;
	overflow-wrap: break-word;
	text-wrap: balance;
	transform: translateY(-3px);
	transition: color 0.22s ease, opacity 0.42s ease, transform 0.42s ease;
}

.hero-name-feedback:empty {
	min-height: 0;
	margin: 0 auto -0.16rem;
}

.hero-name-shell.is-adjusted .hero-name-feedback,
.hero-name-shell.is-invalid .hero-name-feedback {
	opacity: 1;
	transform: translateY(0);
}

.hero-name-shell.is-adjusted .hero-name-feedback {
	color: rgba(255, 255, 255, 0.54);
}

.hero-name-shell.is-invalid .hero-name-feedback {
	color: rgba(255, 216, 77, 0.88);
}

.hero-name-options {
	--picker-active-width: 38%;
	--picker-active-half: 19%;
	--picker-far-left: var(--picker-near-left);
	--picker-far-opacity: 0;
	--picker-far-right: var(--picker-near-right);
	--picker-far-width: 0%;
	--picker-font-size: 1.12rem;
	--picker-side-gap: 0.72rem;
	--picker-side-pad: 1.6rem;
	--picker-near-left: 27%;
	--picker-near-opacity: 0.5;
	--picker-near-right: 73%;
	--picker-near-width: 16%;
	position: relative;
	display: block;
	width: min(100%, calc(var(--hero-row-width) - 2.4rem));
	max-width: var(--hero-control-width);
	height: 48px;
	margin: 0.26rem auto 0;
	overflow: hidden;
	padding: 0 1.18rem;
	border: 0;
	background: transparent;
	cursor: default;
	touch-action: pan-y;
	transform: translateX(var(--picker-drag-x, 0px));
	transition: width 0.34s cubic-bezier(0.2, 0.72, 0.28, 1), transform 0.22s ease;
}

.hero-name-options.is-dragging {
	transition: width 0.34s cubic-bezier(0.2, 0.72, 0.28, 1);
}

.hero-name-options.is-dragging .hero-name-option {
	transition: color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.hero-name-options::before,
.hero-name-options::after,
.hero-name-options-fallback::before,
.hero-name-options-fallback::after {
	content: "";
	position: absolute;
	top: 50%;
	z-index: 4;
	width: 0.48rem;
	height: 0.48rem;
	border-top: 2px solid var(--color-gold);
	border-right: 2px solid var(--color-gold);
	filter: drop-shadow(0 0 5px rgba(255, 192, 0, 0.36));
	opacity: 1;
	pointer-events: none;
}

.hero-name-options::before,
.hero-name-options-fallback::before {
	left: 0.42rem;
	transform: translateY(calc(-50% - 0.1rem)) rotate(-135deg);
}

.hero-name-options::after,
.hero-name-options-fallback::after {
	right: 0.42rem;
	transform: translateY(calc(-50% - 0.1rem)) rotate(45deg);
}

.hero-name-options:hover::before,
.hero-name-options:hover::after,
.hero-name-options-fallback:hover::before,
.hero-name-options-fallback:hover::after {
	opacity: 1;
}

.hero-name-options:has(.hero-name-option[data-position="-1"]:hover)::before,
.hero-name-options-fallback:has(.hero-name-option-fallback.is-prev:hover)::before {
	opacity: 0;
}

.hero-name-options:has(.hero-name-option[data-position="1"]:hover)::after,
.hero-name-options-fallback:has(.hero-name-option-fallback.is-next:hover)::after {
	opacity: 0;
}

.hero-name-option {
	--picker-slot: 50%;
	--picker-offset: 0px;
	--picker-width: var(--picker-active-width);
	--picker-item-width: var(--picker-width);
	position: absolute;
	left: var(--picker-slot);
	top: 50%;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--picker-item-width);
	min-width: 0;
	min-height: 30px;
	padding: 0.23rem 0.18rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.35);
	font-size: var(--picker-font-size);
	font-weight: 600;
	line-height: 1;
	opacity: 0.4;
	overflow: hidden;
	text-overflow: ellipsis;
	transform: translate(calc(-50% + var(--picker-offset)), -50%) scale(0.88);
	transition: color 0.24s ease, left 0.68s cubic-bezier(0.24, 0.72, 0.18, 1), opacity 0.34s ease, transform 0.68s cubic-bezier(0.24, 0.72, 0.18, 1), width 0.68s cubic-bezier(0.24, 0.72, 0.18, 1);
	white-space: nowrap;
}

.hero-name-option::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0.04rem;
	width: 12px;
	height: 1.5px;
	border-radius: 2px;
	background: var(--color-gold);
	opacity: 0;
	transform: translateX(-50%) scaleX(0.45);
	transform-origin: 50% 50%;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.hero-name-option[data-position="-2"] {
	--picker-slot: var(--picker-far-left);
	--picker-width: var(--picker-far-width);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.78);
	visibility: hidden;
}

.hero-name-option[data-position="-1"] {
	left: 50%;
	z-index: 2;
	justify-content: flex-end;
	opacity: var(--picker-near-opacity);
	text-align: right;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000000 34%, #000000 100%);
	mask-image: linear-gradient(90deg, transparent, #000000 34%, #000000 100%);
}

.hero-name-option[data-position="0"] {
	--picker-slot: 50%;
	--picker-width: var(--picker-active-width);
	z-index: 3;
	color: var(--color-gold);
	opacity: 1;
	transform: translate(calc(-50% + var(--picker-offset)), -50%) scale(1);
}

.hero-name-option[data-position="0"]:hover {
	transform: translate(calc(-50% + var(--picker-offset)), -50%) scale(1);
}

.hero-name-option[data-position="1"] {
	left: 50%;
	z-index: 2;
	justify-content: flex-start;
	opacity: var(--picker-near-opacity);
	text-align: left;
	-webkit-mask-image: linear-gradient(90deg, #000000 0%, #000000 66%, transparent);
	mask-image: linear-gradient(90deg, #000000 0%, #000000 66%, transparent);
}

.hero-name-option[data-position="2"] {
	--picker-slot: var(--picker-far-right);
	--picker-width: var(--picker-far-width);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.78);
	visibility: hidden;
}

.hero-name-option[data-position="-3"] {
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.76);
	visibility: hidden;
}

.hero-name-option[data-position="3"] {
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.76);
	visibility: hidden;
}

.hero-name-option:not([data-position="0"]):hover {
	color: rgba(255, 255, 255, 0.78);
	opacity: 0.92;
	z-index: 5;
	transform: translate(calc(-50% + var(--picker-offset)), -50%) scale(0.88);
}

.hero-name-option[data-position="-1"]:hover,
.hero-name-option-fallback.is-prev:hover {
	color: rgba(255, 255, 255, 0.78);
	opacity: 0.92;
	overflow: visible;
	z-index: 5;
	-webkit-mask-image: none;
	mask-image: none;
	transition: color 0.18s ease, opacity 0.18s ease;
}

.hero-name-option[data-position="1"]:hover,
.hero-name-option-fallback.is-next:hover {
	color: rgba(255, 255, 255, 0.78);
	opacity: 0.92;
	overflow: visible;
	z-index: 5;
	-webkit-mask-image: none;
	mask-image: none;
	transition: color 0.18s ease, opacity 0.18s ease;
}

.hero-name-option.active {
	color: var(--color-gold);
}

.hero-name-option.active::after {
	opacity: 0.64;
	transform: translateX(-50%) scaleX(1);
}

.hero-name-option:focus-visible {
	outline: 1px solid rgba(255, 192, 0, 0.68);
	outline-offset: 0;
}

.hero-name-options-fallback {
	--picker-active-width: 38%;
	--picker-active-half: 19%;
	--picker-far-left: var(--picker-near-left);
	--picker-far-opacity: 0;
	--picker-far-right: var(--picker-near-right);
	--picker-far-width: 0%;
	--picker-font-size: 1.12rem;
	--picker-side-gap: 0.72rem;
	--picker-side-pad: 1.6rem;
	--picker-near-left: 27%;
	--picker-near-opacity: 0.5;
	--picker-near-right: 73%;
	--picker-near-width: 16%;
	position: relative;
	width: min(100%, calc(var(--hero-row-width) - 2.4rem));
	max-width: var(--hero-control-width);
	height: 48px;
	margin: 0.26rem auto 0;
	overflow: hidden;
	padding: 0 1.18rem;
}

.hero-name-option-fallback {
	--picker-slot: 50%;
	--picker-offset: 0px;
	--picker-width: var(--picker-active-width);
	--picker-item-width: var(--picker-width);
	position: absolute;
	top: 50%;
	left: var(--picker-slot);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--picker-item-width);
	min-width: 0;
	min-height: 30px;
	padding: 0.23rem 0.18rem;
	color: rgba(255, 255, 255, 0.42);
	font-size: var(--picker-font-size);
	font-weight: 600;
	line-height: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
	transform: translate(calc(-50% + var(--picker-offset)), -50%) scale(0.88);
	white-space: nowrap;
}

.hero-name-option-fallback.is-prev {
	left: 24%;
	z-index: 2;
	justify-content: flex-end;
	width: 24%;
	opacity: var(--picker-near-opacity);
	text-align: right;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000000 28%, #000000 100%);
	mask-image: linear-gradient(90deg, transparent, #000000 28%, #000000 100%);
	transform: translate(-50%, -50%) scale(0.88);
}

.hero-name-option-fallback.is-active {
	--picker-slot: 50%;
	--picker-width: var(--picker-active-width);
	color: var(--color-gold);
	opacity: 1;
	transform: translate(calc(-50% + var(--picker-offset)), -50%) scale(1);
}

.hero-name-option-fallback.is-active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0.04rem;
	width: 12px;
	height: 1.5px;
	border-radius: 2px;
	background: var(--color-gold);
	opacity: 0.64;
	transform: translateX(-50%);
}

.hero-name-options-hit {
	position: absolute;
	top: 0;
	z-index: 5;
	width: 1.65rem;
	height: 100%;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.hero-name-options-hit--prev {
	left: 0;
}

.hero-name-options-hit--next {
	right: 0;
}

.hero-name-option-fallback.is-next {
	left: 76%;
	z-index: 2;
	justify-content: flex-start;
	width: 24%;
	opacity: var(--picker-near-opacity);
	text-align: left;
	-webkit-mask-image: linear-gradient(90deg, #000000 0%, #000000 72%, transparent);
	mask-image: linear-gradient(90deg, #000000 0%, #000000 72%, transparent);
	transform: translate(-50%, -50%) scale(0.88);
}

.hero-name-option-fallback.is-far-left {
	--picker-slot: var(--picker-far-left);
	--picker-width: var(--picker-far-width);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.78);
}

.hero-name-option-fallback.is-far {
	--picker-slot: var(--picker-far-right);
	--picker-width: var(--picker-far-width);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.78);
}

.hero-tool-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.95rem;
	width: min(100%, var(--hero-row-width));
	max-width: var(--hero-control-width);
	margin: 0.68rem auto 0;
	transition: width 0.34s cubic-bezier(0.2, 0.72, 0.28, 1);
}

.hero-tool-primary,
.hero-tool-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	font-size: 0.8rem;
	font-weight: 800;
	line-height: 1.1;
	text-decoration: none;
	transition: color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.hero-tool-primary {
	padding: 0.5rem 0.82rem;
	border: 1px solid rgba(255, 192, 0, 0.58);
	border-radius: var(--radius-pill);
	background: rgba(255, 192, 0, 0.11);
	color: var(--color-gold);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.hero-tool-secondary {
	min-height: 28px;
	padding: 0.2rem 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.58);
}

.hero-tool-primary::after,
.hero-tool-secondary::after {
	content: "";
	width: 0.38rem;
	height: 0.38rem;
	margin-left: 0.45rem;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	opacity: 0.76;
	transform: rotate(45deg);
	transition: transform 0.18s ease, opacity 0.18s ease;
}

.hero-tool-secondary::after {
	transform: rotate(135deg) translate(-1px, 1px);
}

.hero-tool-primary:hover {
	border-color: rgba(255, 216, 77, 0.8);
	background: rgba(255, 192, 0, 0.16);
	color: var(--color-gold-bright);
	transform: translateY(-1px);
}

.hero-tool-secondary:hover {
	color: rgba(255, 255, 255, 0.84);
}

.hero-tool-primary:hover::after {
	transform: rotate(45deg) translate(2px, -2px);
}

.hero-tool-secondary:hover::after {
	transform: rotate(135deg) translate(1px, -1px);
}

.hero-scroll-cue {
	position: relative;
	display: inline-flex;
	width: min(188px, 50vw);
	height: 28px;
	margin: 0 auto;
	opacity: 0.72;
	transition: opacity 0.18s ease, transform 0.18s ease;
	animation: scroll-cue-pulse 2.8s ease-in-out infinite;
}

.hero-scroll-cue--intro {
	display: inline-flex;
}

.hero-scroll-cue--next {
	display: none;
}

.hero-scroll-cue::before,
.hero-scroll-cue::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 50%;
	height: 1.5px;
	box-shadow: 0 0 10px rgba(255, 192, 0, 0.18);
}

.hero-scroll-cue::before {
	right: 50%;
	background: linear-gradient(90deg, transparent, rgba(217, 177, 255, 0.24), rgba(255, 192, 0, 0.92));
	transform: rotate(10deg);
	transform-origin: 100% 50%;
}

.hero-scroll-cue::after {
	left: 50%;
	background: linear-gradient(90deg, rgba(255, 192, 0, 0.92), rgba(217, 177, 255, 0.24), transparent);
	transform: rotate(-10deg);
	transform-origin: 0 50%;
}

.hero-scroll-cue:hover {
	opacity: 1;
	transform: translateY(1px);
}

.hero-scroll-cue:focus-visible {
	opacity: 1;
	transform: translateY(1px);
}

.benefits-panel {
	width: calc(100% + 2.4rem);
	margin: -0.55rem -1.2rem 0;
	padding: 1.45rem 1.2rem 2.25rem;
	border: 0;
	background:
		linear-gradient(180deg, rgba(8, 0, 22, 0), rgba(8, 0, 22, 0.72) 18%, rgba(8, 0, 22, 0.72) 82%, rgba(8, 0, 22, 0));
	box-shadow: none;
}

.benefits-header {
	margin-bottom: 1.2rem;
	text-align: center;
}

.benefits-title {
	color: var(--color-text);
	font-size: clamp(1.28rem, 3.4vw, 1.62rem);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.18;
	text-wrap: balance;
}

.benefits-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	max-width: 720px;
	margin: 0 auto;
}

.benefit-pill {
	position: relative;
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
	min-width: 0;
	min-height: 82px;
	padding: 0.95rem 0;
	border: 0;
	border-bottom: 1px solid rgba(217, 177, 255, 0.14);
	background: transparent;
	box-shadow: none;
	transition: transform 0.22s ease;
}

.benefit-pill:last-child {
	border-bottom: 0;
}

.benefit-pill:hover {
	transform: translateY(-1px);
}

.bp-icon-img {
	flex-shrink: 0;
	display: block;
	justify-self: center;
	width: 32px;
	height: 32px;
	border-radius: 7px;
	object-fit: contain;
	opacity: 0.9;
	filter: drop-shadow(0 0 10px rgba(255, 192, 0, 0.08));
}

.bp-icon-rotate {
	transform: rotate(-45deg) translate(1px, 1px);
}

.bp-text {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	min-width: 0;
	text-align: left;
	text-wrap: balance;
}

.bp-text strong {
	color: var(--color-gold);
	font-size: clamp(0.92rem, 2.4vw, 0.98rem);
	font-weight: 700;
	line-height: 1.2;
	text-wrap: balance;
}

.bp-text span {
	color: rgba(255, 255, 255, 0.76);
	font-size: clamp(0.8rem, 2.1vw, 0.84rem);
	line-height: var(--line-readable);
	text-wrap: balance;
}

@media (max-width: 390px) {
	.hero-name-options,
	.hero-name-options-fallback {
		--picker-active-width: 42%;
		--picker-active-half: 21%;
		--picker-far-left: var(--picker-near-left);
		--picker-far-opacity: 0;
		--picker-far-right: var(--picker-near-right);
		--picker-far-width: 0%;
		--picker-font-size: 1.04rem;
		--picker-near-left: 26%;
		--picker-near-opacity: 0.44;
		--picker-near-right: 74%;
		--picker-near-width: 14%;
		width: min(72vw, calc(var(--hero-row-width) - 4rem));
		max-width: 268px;
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.hero-name-option[data-position="-2"],
	.hero-name-option[data-position="2"],
	.hero-name-option-fallback.is-far-left,
	.hero-name-option-fallback.is-far {
		opacity: 0;
		pointer-events: none;
	}
}

@media (max-width: 519px) {
	.hero-scroll-cue--intro {
		width: min(188px, 52vw);
		height: 28px;
		margin: 0 auto -0.14rem;
		opacity: 0.72;
	}

	.hero-stage {
		gap: 0.22rem;
		margin-top: 0;
	}

	.hero-name-tool {
		border-color: rgba(217, 177, 255, 0.16);
		background-color: rgba(17, 0, 37, 0.72);
		padding-top: 1.72rem;
		padding-bottom: 1.86rem;
		background:
			radial-gradient(ellipse at 50% 22%, rgba(255, 192, 0, 0.05), transparent 50%),
			linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.01) 58%, transparent),
			rgba(17, 0, 37, 0.72);
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.04),
			0 14px 38px rgba(0, 0, 0, 0.24);
	}

	.hero-scroll-cue--next {
		display: none;
	}

	.hero-name-options,
	.hero-name-options-fallback {
		height: 50px;
		margin-top: 0.24rem;
		width: min(72vw, calc(var(--hero-row-width) - 4rem));
		max-width: 276px;
	}

	.hero-name-input-row {
		width: min(100%, calc(var(--hero-row-width) - 1.45rem));
		min-height: 58px;
		padding-right: 0.78rem;
		padding-left: 0.78rem;
	}

	.hero-name-options::before,
	.hero-name-options-fallback::before {
		left: 0.5rem;
	}

	.hero-name-options::after {
		right: 0.5rem;
	}

	.hero-name-options-fallback::after {
		right: 0.5rem;
	}

	.benefits-grid {
		max-width: 360px;
	}

	.benefit-pill {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 0.56rem;
		width: min(100%, 76vw);
		margin-right: auto;
		margin-left: auto;
		padding: 1.05rem 0;
		text-align: center;
	}

	.bp-text {
		align-items: center;
		max-width: 28ch;
		text-align: center;
	}
}

@media (min-width: 520px) {
	.hero-name-options,
	.hero-name-options-fallback {
		--picker-active-width: 38%;
		--picker-active-half: 19%;
		--picker-far-left: var(--picker-near-left);
		--picker-far-opacity: 0;
		--picker-far-right: var(--picker-near-right);
		--picker-far-width: 0%;
		--picker-font-size: 1.12rem;
		--picker-near-left: 27%;
		--picker-near-opacity: 0.48;
		--picker-near-right: 73%;
		--picker-near-width: 16%;
		width: min(100%, calc(var(--hero-row-width) - 2.4rem));
		max-width: var(--hero-control-width);
	}

	.benefits-grid {
		grid-template-columns: 1fr 1fr;
		column-gap: 2rem;
		max-width: 840px;
	}

	.benefit-pill:nth-last-child(-n + 2) {
		border-bottom: 0;
	}
}

@media (min-width: 700px) {
	.hero-name-options,
	.hero-name-options-fallback {
		--picker-active-width: 38%;
		--picker-active-half: 19%;
		--picker-far-left: var(--picker-near-left);
		--picker-far-opacity: 0;
		--picker-far-right: var(--picker-near-right);
		--picker-far-width: 0%;
		--picker-font-size: 1.12rem;
		--picker-near-left: 27%;
		--picker-near-right: 73%;
		--picker-near-width: 16%;
		max-width: var(--hero-control-width);
	}

	.hero-section {
		padding: 2.6rem 2rem 0;
	}

	.hero-header {
		flex-direction: row;
		justify-content: center;
		gap: 0;
		text-align: center;
	}

	.image-logo {
		flex-shrink: 0;
		width: 180px;
		max-width: 180px;
		padding-right: 1.8rem;
	}

	.hero-intro {
		padding-left: 1.8rem;
		border-left: 1px solid var(--color-border);
	}

	.benefits-panel {
		width: 100%;
		margin-right: 0;
		margin-left: 0;
	}
}

@media (min-width: 860px) {
	.hero-section {
		gap: 2.4rem;
	}

	.hero-name-options,
	.hero-name-options-fallback {
		--picker-active-width: 38%;
		--picker-active-half: 19%;
		--picker-far-left: var(--picker-near-left);
		--picker-far-right: var(--picker-near-right);
		--picker-near-left: 27%;
		--picker-near-right: 73%;
		width: min(100%, calc(var(--hero-row-width) - 2.4rem));
		max-width: var(--hero-control-width);
	}

	.explainer-img {
		width: min(76%, 500px);
	}
}

@keyframes input-glow-pulse {
	0%,
	100% {
		opacity: 0.28;
		transform: translate(-50%, -50%) scale(0.9);
	}

	50% {
		opacity: 0.58;
		transform: translate(-50%, -50%) scale(1.06);
	}
}

@keyframes input-caret-blink {
	0% {
		opacity: 1;
		box-shadow: 0 0 8px rgba(255, 192, 0, 0.46);
	}

	42% {
		opacity: 1;
		box-shadow: 0 0 8px rgba(255, 192, 0, 0.46);
	}

	56% {
		opacity: 0;
		box-shadow: 0 0 0 rgba(255, 192, 0, 0);
	}

	82% {
		opacity: 0;
		box-shadow: 0 0 0 rgba(255, 192, 0, 0);
	}

	100% {
		opacity: 1;
		box-shadow: 0 0 8px rgba(255, 192, 0, 0.46);
	}
}

@keyframes suffix-card-enter {
	0% {
		opacity: 0;
		transform: translateX(0.44rem);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes suffix-card-exit {
	0% {
		opacity: 1;
		transform: translateX(0);
	}

	100% {
		opacity: 0;
		transform: translateX(-0.36rem);
	}
}

@keyframes scroll-cue-pulse {
	0%,
	100% {
		opacity: 0.56;
		transform: translateY(0);
	}

	50% {
		opacity: 0.94;
		transform: translateY(4px);
	}
}

@media print {
	.hero-section,
	.benefits-panel,
	.hero-name-tool,
	.benefit-pill {
		background: #ffffff !important;
		box-shadow: none !important;
		color: #000000 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-name-tool::before,
	.hero-scroll-cue,
	.hero-input-caret,
	.hero-input-caret::before,
	.suffix-card.is-entering,
	.suffix-card.is-exiting {
		animation: none;
	}
}
