/**
 * SONGREPS intake wizard styles + confirmation styles.
 *
 * Mobile-first. On mobile (<768px) the form sits in a single 480px
 * column under a 120px brand badge. On desktop (≥768px) the page
 * becomes a 45/55 two-column entry-page grid (see .entry-page-grid)
 * with a 360px badge in the left column and the form (still 480px)
 * left-aligned in the right column. Manila→white gradient bleeds
 * edge-to-edge on body.songreps-entry-point-page.
 *
 * Progressive enhancement:
 *   - Without JS, every step is visible as a long single-page form
 *     and the .sr-submit-fallback button at the bottom acts as the
 *     submit. Per-step progress bars are hidden — they'd be visual
 *     noise when all steps are stacked.
 *   - With JS, <body class="js-enabled"> is added and CSS hides
 *     every step except .is-active. The active step's per-step
 *     progress bar acts as the wizard's progress indicator.
 *
 * Tokens are pulled from theme.json via CSS custom properties so the
 * form follows the locked SONGREPS palette automatically. Local
 * variables on .signup-page give every selector access to the named
 * design tokens (slate, bronze, manila, sand, sage, deep-slate).
 *
 * @package Songreps_Platform
 */

/* ============================================================
   Entry-page chrome — applied to /sign-up/, /signup/{slug}/,
   the intake confirmation page, and (via parallel rules in
   login.css) the wp-login.php family. Source of truth is the
   canonical mockup at docs/design/entry-page-mockups.html.

   Architectural model (the rebuild from 0.2.0 onward):
     - Mobile-first single column. Brand column is static, badge
       is 120px, sits above content. Content has no viewport
       centering tricks — it flows.
     - Desktop (≥768px): two-column grid. Brand column is
       position: sticky; top: 0; height: 100vh with the badge
       flex-centered inside, so the badge anchors at viewport
       vertical center even when the right column scrolls (see
       /sign-up/ Step 4 — tall content). Content column uses
       flex-column + justify-content: center + min-height: 100vh
       to vertically center its inner wrap when content is short.

   Why this model: the prior attempt (min-height + align-items
   + align-content on the grid) couldn't get the badge to stay
   centered while the right column scrolled, and the row
   distribution on wp-login.php broke the centering rules. The
   sticky-badge model decouples badge anchoring from row layout.
   ============================================================ */
/* Entry-page chrome rules removed 2026-05-10 — now live in
   assets/css/entry-page.css (single source of truth). The
   .entry-page-grid class itself is also retired; the redesigned
   templates emit .entry-page > .entry-grid. The body-class +
   theme-suppress + page-bg rules below stay; they don't conflict
   with entry-page.css. */

/* ============================================================
   Entry-point page overrides — keyed off body.songreps-entry-point-page,
   added by Songreps_Chrome::maybe_add_entry_point_body_class().
   The host page.html template renders a constrained <main>, a WP
   post-title block, plus header + footer template parts — none of
   which belong on the canonical entry-point surface. We hide them so
   .signup-page can render full-bleed under the minimal nav.
   Selectors are broad-on-purpose so this works under either the
   songreps-theme or a fallback block theme (Twenty Twenty-* etc).
   ============================================================ */
body.songreps-entry-point-page header[role="banner"],
body.songreps-entry-point-page footer[role="contentinfo"],
body.songreps-entry-point-page > header,
body.songreps-entry-point-page > footer,
body.songreps-entry-point-page > div > header,
body.songreps-entry-point-page > div > footer,
body.songreps-entry-point-page > .wp-site-blocks > header,
body.songreps-entry-point-page > .wp-site-blocks > footer,
body.songreps-entry-point-page .wp-block-post-title,
body.songreps-entry-point-page .wp-block-template-part {
	display: none !important;
}

body.songreps-entry-point-page .wp-block-post-content,
body.songreps-entry-point-page main,
body.songreps-entry-point-page main.wp-block-group {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Full-bleed manila→white gradient lives on body so it extends
   edge-to-edge regardless of the theme's content/wide layout
   constraints (songreps-theme + Twenty Twenty-* both apply
   max-width on inner .entry-content / .wp-block-group, which
   would otherwise trap a gradient placed on .signup-page). */
body.songreps-entry-point-page {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	background: linear-gradient( 180deg, var( --wp--preset--color--background, #f3ede0 ) 0%, #ffffff 100% );
}
body.songreps-entry-point-page .wp-site-blocks {
	margin: 0;
	padding: 0;
	background: transparent;
}

/* Some block themes inject inline `padding-top` / `padding-bottom`
   on .has-global-padding to give every page side gutters; the
   entry-point page wants edge-to-edge gradient. */
body.songreps-entry-point-page .has-global-padding {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Twenty Twenty-* family applies negative inline margins on inner
   wp-block-group / entry-content to break out of root padding —
   that pushes the child wider than the viewport on small screens.
   Neutralise the breakout on entry-point pages so .signup-page sizes
   to its actual parent. */
body.songreps-entry-point-page main .wp-block-group,
body.songreps-entry-point-page main .entry-content,
body.songreps-entry-point-page main .wp-block-post-content,
body.songreps-entry-point-page .entry-content {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: none !important;
	width: auto !important;
}

body.songreps-entry-point-page .signup-page {
	margin: 0;
	width: 100%;
	box-sizing: border-box;
}

/* ============================================================
   Page chrome — 480px centred container.
   The gradient itself lives on body.songreps-entry-point-page (above)
   so it bleeds edge-to-edge under either theme's layout.

   .signup-page wrapper retired 2026-05-10 — the redesigned template
   emits .entry-page > .entry-grid (see entry-page.css). The dead
   --sr-* token bridge that lived here was also retired with that
   change; intake-form.css's remaining rules read tokens from the
   --color-* aliases declared on .entry-page in entry-page.css.
   ============================================================ */
.signup-container {
	max-width: 480px;
	margin: 0 auto;
	padding: 12px 24px 56px;
}

/* ============================================================
   Step 1 brand presence — eyebrow + headline + subtitle.
   ============================================================ */
.signup-eyebrow {
	font-family: var( --wp--preset--font-family--display, 'Manrope', system-ui, sans-serif );
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var( --color-accent );
	text-align: center;
	margin: 0 0 10px;
}

/* Mobile (<768px) eyebrow hide moved to entry-page.css under
   .entry-page scope (2026-05-10). The original rule here was
   scoped to .signup-page, which the entry-page rebuild retired —
   so the hide had silently stopped firing. entry-page.css now
   owns the entry-page family chrome including this rule. */

.signup-headline {
	font-family: var( --wp--preset--font-family--display, 'Manrope', system-ui, sans-serif );
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var( --color-fg );
	text-align: center;
	margin: 0 0 12px;
}
.signup-headline em {
	font-style: italic;
	font-weight: 600;
	color: var( --color-primary );
}

.signup-subtitle {
	font-size: 15px;
	line-height: 1.5;
	color: var( --color-primary );
	text-align: center;
	margin: 0 auto 28px;
	max-width: 380px;
}

/* ============================================================
   Form wrapper — keep .songreps-intake namespace for backwards-
   compatibility with the no-JS fallback selectors below.
   ============================================================ */
.songreps-intake {
	margin: 0;
	padding: 0;
}
.songreps-intake-form { margin: 0; }

/* ============================================================
   Per-step progress indicator. Hidden by default (no-JS) and
   re-shown only on the active step when wizard mode is on.
   ============================================================ */
.progress-wrap { margin: 0 0 24px; display: none; }
body.js-enabled .songreps-step.is-active .progress-wrap { display: block; }

.progress-meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 0 0 6px;
}
.progress-step {
	font-family: var( --wp--preset--font-family--display, 'Manrope', system-ui, sans-serif );
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var( --color-muted );
}
.progress-label {
	font-size: 11px;
	color: var( --color-muted );
}
.progress-bar {
	height: 3px;
	background: rgba( 43, 55, 68, 0.08 );
	border-radius: 2px;
	overflow: hidden;
}
.progress-fill {
	height: 100%;
	background: var( --color-accent );
	border-radius: 2px;
	transition: width 0.3s ease;
}

/* ============================================================
   Step heading + helper.
   ============================================================ */
.step-heading {
	font-family: var( --wp--preset--font-family--display, 'Manrope', system-ui, sans-serif );
	font-size: 22px;
	font-weight: 700;
	color: var( --color-fg );
	margin: 0 0 6px;
	letter-spacing: -0.01em;
	line-height: 1.25;
}
.step-helper {
	font-size: 14px;
	color: var( --color-muted );
	margin: 0 0 24px;
	line-height: 1.5;
}

/* Section helper used inline (e.g. Step 5 "One more, if you'd like:"). */
.signup-section-helper {
	font-size: 14px;
	color: var( --color-muted );
	margin: 24px 0 12px;
	line-height: 1.5;
}

/* ============================================================
   Form fields — shared styles.
   ============================================================ */
.sr-field { margin-bottom: 20px; }

.field-label {
	display: block;
	font-family: var( --wp--preset--font-family--body, 'Inter', system-ui, sans-serif );
	font-size: 13px;
	font-weight: 600;
	color: var( --color-fg );
	margin: 0 0 8px;
	line-height: 1.4;
}
.field-label .req {
	color: var( --color-accent );
	font-weight: 700;
	margin-left: 2px;
}
.field-label-optional {
	font-weight: 500;
	color: var( --color-muted );
	font-size: 12px;
	margin-left: 4px;
}
.field-helper {
	font-size: 12px;
	color: var( --color-muted );
	margin: -4px 0 8px;
	line-height: 1.4;
}

.field-input {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid rgba( 43, 55, 68, 0.15 );
	border-radius: 4px;
	font-family: var( --wp--preset--font-family--body, 'Inter', system-ui, sans-serif );
	font-size: 15px;
	color: var( --color-fg );
	background: white;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	min-height: 44px; /* Tap target on mobile. */
}
.field-input:focus {
	outline: none;
	border-color: var( --color-accent );
	box-shadow: 0 0 0 3px rgba( 181, 134, 85, 0.12 );
}
.field-input::placeholder { color: #b8b3a9; }

select.field-input {
	background-image: url( "data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns%3D'http%3A//www.w3.org/2000/svg' width%3D'12' height%3D'8' viewBox%3D'0 0 12 8'%3E%3Cpath d%3D'M1 1l5 5 5-5' stroke%3D'%235b6f7d' stroke-width%3D'2' fill%3D'none' stroke-linecap%3D'round'/%3E%3C/svg%3E" );
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

textarea.field-input {
	min-height: 100px;
	resize: vertical;
	line-height: 1.5;
}

.field-input--file {
	padding: 10px 14px;
}

/* ============================================================
   Multi-select chip group (Step 3 genres).
   The native <input type="checkbox"> is visually hidden but stays
   in the tab order — clicks on the label-as-chip toggle it
   natively, so the form submits correctly without JS.
   ============================================================ */
.chip-group {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}
.chip {
	display: inline-flex;
	align-items: center;
	padding: 9px 14px;
	border: 1px solid rgba( 43, 55, 68, 0.15 );
	border-radius: 20px;
	background: white;
	font-size: 13px;
	color: var( --color-fg );
	cursor: pointer;
	transition: all 0.15s ease;
	user-select: none;
	margin: 0;
	line-height: 1.3;
}
.chip:hover { border-color: var( --color-accent ); }
.chip-input {
	/* Visually hidden but accessible — the label drives interaction. */
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect( 0 0 0 0 );
	overflow: hidden;
	white-space: nowrap;
}
.chip-input:focus-visible + .chip-label {
	box-shadow: 0 0 0 3px rgba( 181, 134, 85, 0.18 );
	border-radius: 16px;
}
.chip:has( .chip-input:checked ),
.chip.is-selected {
	background: rgba( 181, 134, 85, 0.1 );
	border-color: var( --color-accent );
	font-weight: 500;
}

/* Conditional reveal — bronze-tinted slot below the chip group. */
.sr-conditional {
	margin-top: 12px;
	padding: 14px;
	background: rgba( 181, 134, 85, 0.04 );
	border: 1px solid rgba( 181, 134, 85, 0.2 );
	border-radius: 4px;
	animation: signupSlideDown 0.2s ease;
}
.sr-conditional.is-conditional-hidden { display: none; }
@keyframes signupSlideDown {
	from { opacity: 0; transform: translateY( -4px ); }
	to   { opacity: 1; transform: translateY( 0 ); }
}
@media ( prefers-reduced-motion: reduce ) {
	.sr-conditional { animation: none; }
}
.sr-conditional .field-label {
	font-size: 12px;
	margin-bottom: 6px;
}

/* ============================================================
   Step 5 ack-cards (required) and optional-card (newsletter).
   ============================================================ */
.sr-card { margin-bottom: 14px; }

/* --- ACK CARD (solid border, pre-checked, required) --- */
.sr-card--ack {
	display: block;
	padding: 18px;
	border: 1px solid rgba( 43, 55, 68, 0.12 );
	border-radius: 6px;
	background: white;
}
.ack-card-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}
.ack-card-icon {
	width: 18px;
	height: 18px;
	color: var( --color-accent );
	flex-shrink: 0;
}
.ack-card-title {
	font-family: var( --wp--preset--font-family--display, 'Manrope', system-ui, sans-serif );
	font-size: 14px;
	font-weight: 700;
	color: var( --color-fg );
	margin: 0;
	letter-spacing: -0.01em;
	line-height: 1.3;
}
.ack-card-body {
	font-size: 13px;
	color: var( --color-primary );
	line-height: 1.55;
	margin: 0 0 14px;
}
.ack-confirm {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 12px;
	border-top: 1px solid rgba( 43, 55, 68, 0.08 );
	cursor: pointer;
	margin: 0;
}
.ack-checkbox-input {
	/* Visually hidden, the visual checkbox is .ack-checkbox. */
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect( 0 0 0 0 );
	overflow: hidden;
	white-space: nowrap;
}
.ack-checkbox {
	width: 20px;
	height: 20px;
	border: 1.5px solid var( --color-accent );
	border-radius: 4px;
	flex-shrink: 0;
	background: var( --color-accent );
	position: relative;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.ack-checkbox::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 1px;
	width: 6px;
	height: 11px;
	border-right: 2px solid white;
	border-bottom: 2px solid white;
	transform: rotate( 45deg );
	opacity: 1;
	transition: opacity 0.1s ease;
}
.ack-checkbox-input:not( :checked ) ~ .ack-checkbox {
	background: white;
	border-color: rgba( 43, 55, 68, 0.3 );
}
.ack-checkbox-input:not( :checked ) ~ .ack-checkbox::after { opacity: 0; }
.ack-checkbox-input:focus-visible ~ .ack-checkbox {
	box-shadow: 0 0 0 3px rgba( 181, 134, 85, 0.18 );
}
.ack-confirm-text {
	font-family: var( --wp--preset--font-family--display, 'Manrope', system-ui, sans-serif );
	font-size: 13px;
	font-weight: 600;
	color: var( --color-fg );
}

/* --- OPTIONAL CARD (dashed border, unchecked default) --- */
.sr-card--optional { margin-bottom: 12px; }
.optional-card-label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	border: 1px dashed rgba( 43, 55, 68, 0.2 );
	border-radius: 6px;
	background: transparent;
	cursor: pointer;
	transition: all 0.15s ease;
	margin: 0;
}
.optional-card-label:hover {
	border-color: var( --color-accent );
	background: rgba( 181, 134, 85, 0.03 );
}
.optional-card-label.is-checked,
.optional-card-label:has( .optional-checkbox-input:checked ) {
	background: rgba( 181, 134, 85, 0.06 );
	border-color: var( --color-accent );
	border-style: solid;
}
.optional-checkbox-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect( 0 0 0 0 );
	overflow: hidden;
	white-space: nowrap;
}
.optional-checkbox {
	width: 20px;
	height: 20px;
	border: 1.5px solid rgba( 43, 55, 68, 0.3 );
	border-radius: 4px;
	flex-shrink: 0;
	margin-top: 1px;
	background: white;
	position: relative;
	transition: all 0.15s ease;
}
.optional-card-label.is-checked .optional-checkbox,
.optional-card-label:has( .optional-checkbox-input:checked ) .optional-checkbox {
	background: var( --color-accent );
	border-color: var( --color-accent );
}
.optional-card-label.is-checked .optional-checkbox::after,
.optional-card-label:has( .optional-checkbox-input:checked ) .optional-checkbox::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 1px;
	width: 6px;
	height: 11px;
	border-right: 2px solid white;
	border-bottom: 2px solid white;
	transform: rotate( 45deg );
}
.optional-checkbox-input:focus-visible ~ .optional-checkbox {
	box-shadow: 0 0 0 3px rgba( 181, 134, 85, 0.18 );
}
.optional-content {
	flex: 1;
	min-width: 0;
}
.optional-title {
	display: block;
	font-family: var( --wp--preset--font-family--display, 'Manrope', system-ui, sans-serif );
	font-size: 14px;
	font-weight: 600;
	color: var( --color-fg );
	margin: 0 0 4px;
}
.optional-tag {
	display: inline-block;
	font-size: 10px;
	color: var( --color-muted );
	background: rgba( 43, 55, 68, 0.06 );
	padding: 1px 7px;
	border-radius: 8px;
	margin-left: 6px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	vertical-align: middle;
	font-family: var( --wp--preset--font-family--body, 'Inter', system-ui, sans-serif );
}
.optional-desc {
	display: block;
	font-size: 13px;
	color: var( --color-muted );
	line-height: 1.5;
	margin: 0;
}

/* Privacy footnote below Step 5 cards. */
.privacy-footnote {
	font-size: 12px;
	color: var( --color-muted );
	line-height: 1.5;
	margin-top: 16px;
	padding: 12px 14px;
	background: rgba( 43, 55, 68, 0.03 );
	border-radius: 4px;
}

/* ============================================================
   Radio + plain-checkbox (referral_source legacy + fallbacks).
   These selectors stay so a future field added as type=radio /
   type=checkbox without card metadata still renders cleanly.
   ============================================================ */
.sr-options { margin-top: 4px; }
.sr-option {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	min-height: 44px;
	padding: 0.5rem 0;
	font-weight: 400;
	cursor: pointer;
	font-size: 14px;
	color: var( --color-fg );
	line-height: 1.45;
}
.sr-option input[type="radio"],
.sr-option input[type="checkbox"] {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	margin-top: 0.1rem;
	accent-color: var( --color-accent );
}

/* ============================================================
   Errors.
   ============================================================ */
.sr-error-banner {
	background: rgba( 168, 90, 74, 0.08 );
	border: 1px solid var( --color-error );
	color: var( --color-error );
	padding: 0.85rem 1rem;
	border-radius: 6px;
	margin-bottom: 1.25rem;
	font-size: 14px;
}
.sr-field-error {
	display: none;
	margin-top: 6px;
	color: var( --color-error );
	font-size: 13px;
	line-height: 1.4;
}
.sr-field.has-error .sr-field-error { display: block; }
.sr-field.has-error .field-input {
	border-color: var( --color-error );
	box-shadow: 0 0 0 3px rgba( 168, 90, 74, 0.1 );
}
.sr-field.has-error .sr-field-error::before {
	content: "⚠ ";
	font-weight: 700;
}

/* ============================================================
   Step navigation buttons.
   ============================================================ */
.step-nav {
	display: flex;
	gap: 12px;
	margin-top: 32px;
	align-items: stretch;
}
.step-nav--first {
	/* Step 1 has only Continue — let it span the full width. */
}
.btn-back {
	flex: 0 0 auto;
	padding: 14px 20px;
	border: 1px solid rgba( 43, 55, 68, 0.15 );
	border-radius: 4px;
	background: white;
	color: var( --color-primary );
	font-family: var( --wp--preset--font-family--body, 'Inter', system-ui, sans-serif );
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	min-height: 48px;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.btn-back:hover { border-color: var( --color-primary ); color: var( --color-fg ); }
.btn-back:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba( 181, 134, 85, 0.18 );
}
.btn-next {
	flex: 1;
	padding: 14px 24px;
	border: 0;
	border-radius: 4px;
	background: var( --color-fg );
	color: white;
	font-family: var( --wp--preset--font-family--body, 'Inter', system-ui, sans-serif );
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
	min-height: 48px;
}
.btn-next:hover { background: #1d2832; }
.btn-next:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba( 181, 134, 85, 0.18 );
}
.btn-next[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}
.btn-submit {
	flex: 1;
	padding: 16px 24px;
	border: 0;
	border-radius: 4px;
	background: var( --color-accent );
	color: white;
	font-family: var( --wp--preset--font-family--display, 'Manrope', system-ui, sans-serif );
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	letter-spacing: 0.02em;
	transition: background 0.15s ease;
	min-height: 52px;
}
.btn-submit:hover { background: #9a7245; }
.btn-submit:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba( 181, 134, 85, 0.25 );
}

/* "Already a SONGREPS writer? Log in here" — Step 1 only. */
.already-writer {
	text-align: center;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid rgba( 43, 55, 68, 0.08 );
	font-size: 13px;
	color: var( --color-muted );
}
.already-writer a {
	color: var( --color-primary );
	text-decoration: none;
	font-weight: 600;
	border-bottom: 1px solid var( --color-accent );
	padding-bottom: 1px;
}
.already-writer a:hover { color: var( --color-fg ); }

/* ============================================================
   Wizard mode — show only the active step. No-JS users see all
   steps stacked; JS-enabled users get one-at-a-time.
   ============================================================ */
.songreps-step {
	border: 0;
	margin: 0 0 1.5rem;
	padding: 0;
}
body.js-enabled .songreps-step { display: none; }
body.js-enabled .songreps-step.is-active { display: block; }

/* No-JS fallback — submit button at the bottom of the long form. */
.sr-submit-fallback { margin-top: 1.5rem; }
.sr-submit-fallback .btn-submit { width: 100%; }
body.js-enabled .sr-submit-fallback { display: none; }

/* Hide per-step nav buttons for the no-JS path. The fallback at the
   bottom of the form is the only submit affordance without JS. */
body:not( .js-enabled ) .step-nav { display: none; }

/* ============================================================
   Confirmation screen.
   ============================================================ */
.signup-page--confirmation {}

.songreps-intake-confirmation {
	text-align: center;
}
.confirmation-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgba( 122, 140, 111, 0.12 );
	color: var( --color-success );
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 44px auto 20px;
	font-size: 28px;
	line-height: 1;
}
.confirmation-eyebrow {
	font-family: var( --wp--preset--font-family--display, 'Manrope', system-ui, sans-serif );
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var( --color-success );
	margin: 0 0 12px;
}
.confirmation-headline {
	font-family: var( --wp--preset--font-family--display, 'Manrope', system-ui, sans-serif );
	font-size: 32px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var( --color-fg );
	margin: 0 0 20px;
}
.confirmation-headline em {
	font-style: italic;
	font-weight: 600;
	color: var( --color-primary );
}
.confirmation-body {
	font-size: 15px;
	line-height: 1.65;
	color: var( --color-fg );
	text-align: left;
	margin: 0 auto 24px;
	max-width: 380px;
}
.confirmation-body p { margin: 0 0 14px; }
.confirmation-body p:last-child { margin: 0; }

.confirmation-next {
	background: rgba( 255, 255, 255, 0.6 );
	border: 1px solid rgba( 43, 55, 68, 0.08 );
	border-radius: 6px;
	padding: 20px;
	margin: 28px 0;
	text-align: left;
}
.confirmation-next-eyebrow {
	font-family: var( --wp--preset--font-family--display, 'Manrope', system-ui, sans-serif );
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var( --color-accent );
	margin: 0 0 12px;
}
.confirmation-next-list {
	margin: 0;
	padding: 0 0 0 20px;
	font-size: 14px;
	line-height: 1.6;
	color: var( --color-fg );
}
.confirmation-next-list li { margin-bottom: 10px; }
.confirmation-next-list li:last-child { margin: 0; }

.confirmation-signoff {
	font-style: italic;
	color: var( --color-primary );
	margin-top: 24px;
	font-size: 14px;
	line-height: 1.5;
}
.confirmation-signoff strong {
	font-style: normal;
	font-weight: 600;
	color: var( --color-fg );
}

/* "While you wait" reading list — separated by hairline + 32px pad. */
.reading-list {
	margin: 40px auto 0;
	padding-top: 32px;
	border-top: 1px solid rgba( 43, 55, 68, 0.08 );
	text-align: left;
	max-width: 380px;
}
.reading-list-eyebrow {
	font-family: var( --wp--preset--font-family--display, 'Manrope', system-ui, sans-serif );
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var( --color-accent );
	margin: 0 0 18px;
	text-align: center;
}
.reading-list-item {
	display: block;
	padding: 14px 0;
	text-decoration: none;
	color: inherit;
	border-bottom: 1px solid rgba( 43, 55, 68, 0.06 );
	transition: opacity 0.15s ease;
}
.reading-list-item:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
}
.reading-list-item:hover .reading-list-title { opacity: 0.8; }
.reading-list-title {
	display: block;
	font-family: var( --wp--preset--font-family--display, 'Manrope', system-ui, sans-serif );
	font-size: 15px;
	font-weight: 600;
	color: var( --color-fg );
	margin: 0 0 4px;
	letter-spacing: -0.01em;
	transition: opacity 0.15s ease;
}
.reading-list-arrow {
	color: var( --color-accent );
	font-weight: 500;
	margin-left: 2px;
}
.reading-list-teaser {
	display: block;
	font-size: 13px;
	color: var( --color-muted );
	line-height: 1.5;
}

/* ============================================================
   Entry-page chrome — desktop two-column grid (≥768px).

   minmax columns: brand column 300px–1fr, content column
   440px–520px. Gap + container padding clamp() with the
   viewport. Whole grid capped at 1200px and centered, so a
   1920px screen doesn't push the columns into opposite corners.

   No min-height on the grid itself — the columns control their
   own viewport-fit (sticky brand column = 100vh, flex-centered
   content column = min-height 100vh). This is what lets a tall
   right column (Step 4) scroll past a stationary badge.
   ============================================================ */
/* Entry-page desktop chrome rules removed 2026-05-10 — moved to
   assets/css/entry-page.css. Tablet/narrow-desktop band rules
   below also removed for the same reason — entry-page.css uses
   clamp() to scale fluidly across viewports without per-band
   overrides.

   ============================================================
   Tablet / narrow-desktop band (768–1023px).

   Removed — entry-page.css handles fluid scaling.
   ============================================================ */
/* (Tablet/narrow-desktop band rules removed — entry-page.css covers this with clamp().) */

/* ============================================================
   Tablet / desktop tweaks. Container stays 480px — design intent
   is "phone-shaped form, centred". Tighten vertical rhythm at
   wider viewports.
   ============================================================ */
@media ( min-width: 768px ) {
	.signup-container { padding-top: 24px; padding-bottom: 80px; }
	.signup-headline { font-size: 32px; }
	.confirmation-headline { font-size: 36px; }
}

/* ============================================================
   Reduced-motion preference.
   ============================================================ */
@media ( prefers-reduced-motion: reduce ) {
	.progress-fill { transition: none; }
	.btn-next, .btn-back, .btn-submit, .field-input,
	.chip, .optional-card-label, .ack-checkbox { transition: none; }
}
