/**
 * Customization help — steps, tips / after panels, notes.
 */

.som-custom {
	overflow-x: clip;
	background: var(--som-bg);
	color: var(--som-ink);
}

.som-custom__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--som-copper-strong);
}

/* —— Mast —— */
.som-custom__mast {
	padding: clamp(2.5rem, 5.5vw, 3.75rem) 0 clamp(2rem, 4vw, 2.75rem);
	background:
		radial-gradient(55% 70% at 50% -8%, color-mix(in srgb, var(--som-copper) 16%, transparent), transparent 58%),
		linear-gradient(180deg, #f1e6db 0%, var(--som-bg) 70%);
	border-bottom: 1px solid var(--som-line);
}

.som-custom__mast-inner {
	display: grid;
	justify-items: center;
	text-align: center;
}

.som-custom__intro {
	max-width: 38rem;
	animation: som-custom-rise 0.55s var(--som-ease) both;
}

.som-custom__brand {
	margin: 0 0 0.55rem;
	font-family: var(--som-font-display);
	font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--som-ink);
}

.som-custom__title {
	margin: 0 0 0.75rem;
	font-family: var(--som-font-display);
	font-size: clamp(2.05rem, 1.4rem + 2.1vw, 3rem);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.08;
	color: var(--som-ink);
}

.som-custom__lede {
	margin: 0 auto;
	max-width: 36rem;
	font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.12rem);
	line-height: 1.55;
	color: var(--som-ink-2);
}

/* —— Steps —— */
.som-custom__steps {
	padding: clamp(2.25rem, 4.5vw, 3.5rem) 0;
}

.som-custom__section-title {
	margin: 0 0 0.55rem;
	font-family: var(--som-font-display);
	font-size: clamp(1.45rem, 1.15rem + 1vw, 1.95rem);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.15;
	color: var(--som-ink);
}

.som-custom__section-lede {
	margin: 0 0 1.75rem;
	max-width: 38rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--som-ink-muted);
}

.som-custom__step-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

@media (min-width: 900px) {
	.som-custom__step-list {
		grid-template-columns: 1fr 1fr;
		gap: 1.15rem 1.35rem;
	}
}

.som-custom__step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.85rem 1rem;
	padding: clamp(1.15rem, 2.5vw, 1.45rem);
	background: #fff;
	border: 1px solid var(--som-line);
	border-radius: var(--som-radius, 0.65rem);
	animation: som-custom-rise 0.6s var(--som-ease) both;
}

.som-custom__step:nth-child(2) { animation-delay: 0.05s; }
.som-custom__step:nth-child(3) { animation-delay: 0.1s; }
.som-custom__step:nth-child(4) { animation-delay: 0.15s; }

.som-custom__step-num {
	font-family: var(--som-font-display);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	color: var(--som-copper-strong);
}

.som-custom__step-title {
	margin: 0 0 0.35rem;
	font-family: var(--som-font-display);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--som-ink);
}

.som-custom__step p {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.55;
	color: var(--som-ink-2);
}

/* —— Tips / after —— */
.som-custom__split {
	padding: clamp(1.75rem, 4vw, 2.75rem) 0;
	border-top: 1px solid var(--som-line);
}

.som-custom__split-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 800px) {
	.som-custom__split-grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.25rem;
	}
}

.som-custom__panel {
	padding: clamp(1.25rem, 2.8vw, 1.75rem);
	background: #fff;
	border: 1px solid var(--som-line);
	border-radius: var(--som-radius, 0.65rem);
	animation: som-custom-rise 0.6s var(--som-ease) both;
}

.som-custom__panel--tips {
	border-top: 2px solid color-mix(in srgb, #3d6b4f 55%, var(--som-line));
}

.som-custom__panel--after {
	animation-delay: 0.06s;
	border-top: 2px solid color-mix(in srgb, var(--som-copper) 45%, var(--som-line));
}

.som-custom__panel-title {
	margin: 0 0 1rem;
	font-family: var(--som-font-display);
	font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.55rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--som-ink);
}

.som-custom__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.som-custom__list li {
	position: relative;
	padding-left: 1.25rem;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--som-ink-2);
}

.som-custom__panel--tips .som-custom__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55rem;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 999px;
	background: #3d6b4f;
}

.som-custom__panel--after .som-custom__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7rem;
	width: 0.55rem;
	height: 2px;
	background: var(--som-copper);
}

/* —— Notes —— */
.som-custom__notes {
	padding: clamp(1.75rem, 4vw, 2.75rem) 0;
	border-top: 1px solid var(--som-line);
	background: color-mix(in srgb, var(--som-bg) 72%, #efe6dc);
}

.som-custom__notes-grid {
	display: grid;
	gap: 1.75rem;
}

@media (min-width: 800px) {
	.som-custom__notes-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}
}

.som-custom__note-title {
	margin: 0 0 0.65rem;
	font-family: var(--som-font-display);
	font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.55rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--som-ink);
}

.som-custom__note p:last-child {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.6;
	color: var(--som-ink-muted);
}

/* —— Help —— */
.som-custom__help {
	padding: clamp(2.25rem, 4.5vw, 3.25rem) 0 clamp(3rem, 5.5vw, 4.25rem);
	border-top: 1px solid var(--som-line);
}

.som-custom__help-inner {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 800px) {
	.som-custom__help-inner {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
		gap: 2rem;
	}
}

.som-custom__help-title {
	margin: 0 0 0.45rem;
	font-family: var(--som-font-display);
	font-size: clamp(1.35rem, 1.05rem + 1vw, 1.8rem);
	font-weight: 600;
	letter-spacing: -0.025em;
	color: var(--som-ink);
}

.som-custom__help-copy {
	margin: 0;
	max-width: 34rem;
	font-size: 1.02rem;
	line-height: 1.55;
	color: var(--som-ink-muted);
}

.som-custom__help-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 0.75rem;
}

@keyframes som-custom-rise {
	from {
		opacity: 0;
		transform: translateY(0.55rem);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.som-custom__intro,
	.som-custom__step,
	.som-custom__panel {
		animation: none;
	}
}
