/*
 * Create-a-Team wizard popup — client artwork 2026-10-28 (six screens).
 * Scoped under .nw-* ; loads after nct-team-flow.css (landing styles).
 */

:root {
	--nw-blue: #0a7cff;
	--nw-blue-dark: #0066d6;
	--nw-blue-soft: #e8f1ff;
	--nw-ink: #0f172a;
	--nw-muted: #6b7280;
	--nw-line: #e3e8f0;
	--nw-bg: #f5f7fb;
	--nw-card: #ffffff;
	--nw-radius: 16px;
	--nw-green: #22c55e;
}

body.nw-open { overflow: hidden; }

.nw-backdrop {
	position: fixed; inset: 0; z-index: 100000; /* above the sticky .header (9999) */
	background: rgba(8, 14, 32, 0.62);
	backdrop-filter: blur(3px);
}

.nw-modal {
	position: fixed; z-index: 100001;
	top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: min(1536px, calc(100vw - 32px));
	height: min(1024px, calc(100vh - 32px));
	display: grid; grid-template-columns: 26% 1fr;
	background: var(--nw-bg);
	border-radius: 20px; overflow: hidden;
	box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
	font-family: inherit; color: var(--nw-ink);
}
.nw-modal[hidden], .nw-backdrop[hidden] { display: none; }

.nw-close {
	position: absolute; top: 14px; right: 16px; z-index: 3;
	width: 36px; height: 36px; border-radius: 50%;
	border: 0; background: #fff; color: var(--nw-ink);
	font-size: 24px; line-height: 1; cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* ---------- Left rail ---------- */
.nw-rail {
	position: relative; overflow: hidden;
	background: #0b1026 radial-gradient(120% 60% at 50% 0%, #1b2552 0%, #0b1026 70%);
	color: #fff;
}
.nw-rail-art {
	position: absolute; inset: 0;
	background-size: cover; background-position: center bottom;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,0.25) 18%, #000 42%);
	mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,0.25) 18%, #000 42%);
}
.nw-rail-head {
	position: relative; z-index: 2; padding: 40px 32px 0;
}
.nw-rail-brand { height: 46px; width: auto; display: block; margin-bottom: 44px; filter: brightness(0) invert(1); }
.nw-rail-brand-text { display: block; font-weight: 900; font-size: 28px; letter-spacing: 0.02em; margin-bottom: 44px; }
.nw-rail-logo { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: rgba(255,255,255,0.08); padding: 6px; margin-bottom: 14px; display: block; }
.nw-rail-name {
	margin: 0 0 14px; font-size: clamp(22px, 2.1vw, 34px); line-height: 1.12;
	font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; color: #fff;
	overflow-wrap: anywhere;
}
.nw-rail-chip {
	display: inline-block; padding: 8px 18px; border-radius: 999px;
	background: rgba(255,255,255,0.14); font-size: 16px; font-weight: 500;
}

/* ---------- Right side ---------- */
.nw-main { display: flex; flex-direction: column; min-height: 0; margin: 0; }

.nw-stepper {
	list-style: none; margin: 0; padding: 26px 56px 0 48px;
	display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
	counter-reset: none;
}
.nw-stepper-item { position: relative; text-align: center; font-size: 16px; font-weight: 600; color: #9aa3b5; }
.nw-stepper-item + .nw-stepper-item::before {
	content: ""; position: absolute; top: 20px; right: 50%; left: -50%; height: 3px;
	background: var(--nw-line); z-index: 0; transform: translateX(0);
	margin: 0 24px;
}
.nw-stepper-item.is-done + .nw-stepper-item::before,
.nw-stepper-item.is-done + .nw-stepper-item.is-current::before { background: var(--nw-blue); }
.nw-stepper-dot {
	position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 50%; margin-bottom: 8px;
	background: var(--nw-line); color: #9aa3b5; font-weight: 700; font-size: 18px;
}
.nw-stepper-check { display: none; width: 22px; height: 22px; }
.nw-stepper-check svg { width: 100%; height: 100%; stroke-width: 3; }
.nw-stepper-item.is-current .nw-stepper-dot { background: var(--nw-blue); color: #fff; }
.nw-stepper-item.is-current { color: var(--nw-blue); }
.nw-stepper-item.is-done .nw-stepper-dot { background: var(--nw-blue); color: #fff; }
.nw-stepper-item.is-done .nw-stepper-num { display: none; }
.nw-stepper-item.is-done .nw-stepper-check { display: block; }
.nw-stepper-item.is-done { color: var(--nw-blue); }
.nw-stepper-label { display: block; }

.nw-body {
	flex: 1 1 auto; min-height: 0; overflow-y: auto;
	padding: 22px 48px 24px 48px;
}
.nw-step { display: block; }
.nw-step[hidden] { display: none; }

.nw-kicker { margin: 0 0 6px; color: var(--nw-blue); font-weight: 700; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; }
.nw-title { margin: 0 0 8px; font-size: clamp(30px, 3.2vw, 50px); line-height: 1.05; font-weight: 900; letter-spacing: -0.02em; color: var(--nw-ink); }
.nw-sub { margin: 0 0 22px; font-size: 19px; color: #4b5563; }

/* Cards */
.nw-card {
	display: flex; gap: 20px; align-items: flex-start;
	background: var(--nw-card); border: 1px solid var(--nw-line); border-radius: var(--nw-radius);
	padding: 26px 24px; margin-bottom: 20px;
}
.nw-card-stack { flex-direction: column; gap: 18px; }
.nw-card-row { display: flex; gap: 20px; align-items: flex-start; }
.nw-card-ico {
	flex: 0 0 60px; width: 60px; height: 60px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--nw-blue-soft); color: var(--nw-blue);
}
.nw-card-ico svg { width: 28px; height: 28px; }
.nw-card-ico-solid { background: var(--nw-blue); color: #fff; }
.nw-card-ico-ok { background: var(--nw-green); color: #fff; }
.nw-card-body { flex: 1 1 auto; min-width: 0; }
.nw-card-title { display: block; font-size: 20px; font-weight: 700; color: var(--nw-ink); }
.nw-card-title small { font-weight: 400; color: var(--nw-muted); font-size: 17px; }
.nw-req { color: var(--nw-ink); }
.nw-card-hint { margin: 2px 0 14px; color: var(--nw-muted); font-size: 16px; line-height: 1.45; }
.nw-card-tint { background: #f7f9ff; }
.nw-card-ok { background: #f1fbf3; border-color: #c9efd3; }

.nw-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nw-grid-2 > .nw-card { margin-bottom: 20px; }
.nw-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.nw-grid-3:last-child { margin-bottom: 0; }

.nw-input {
	width: 100%; box-sizing: border-box;
	font: inherit; font-size: 18px; color: var(--nw-ink);
	padding: 16px 18px; border: 1px solid #d6dce8; border-radius: 12px; background: #fff;
	outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.nw-input:focus { border-color: var(--nw-blue); box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.18); }
.nw-input.is-invalid { border-color: #e5262b; }
.nw-input::placeholder { color: #a0a8b8; }
select.nw-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.nw-textarea { resize: vertical; min-height: 86px; }
.nw-field { display: block; }
.nw-field > span { display: block; font-size: 15px; font-weight: 600; color: var(--nw-ink); margin-bottom: 6px; }
.nw-field-lg { max-width: 420px; }
.nw-field-lg > span { font-size: 17px; }

/* Logo drop zone */
.nw-drop {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 6px; min-height: 180px; padding: 20px; cursor: pointer;
	border: 2px dashed #c8d0de; border-radius: 14px; background: #fafbfe; color: var(--nw-ink);
	transition: border-color 0.15s, background 0.15s;
}
.nw-drop:hover, .nw-drop.is-over { border-color: var(--nw-blue); background: var(--nw-blue-soft); }
.nw-drop-ico { width: 52px; height: 52px; color: var(--nw-blue); margin-bottom: 8px; }
.nw-drop-ico svg { width: 100%; height: 100%; }
.nw-drop-title { font-size: 18px; font-weight: 600; }
.nw-drop-sub { font-size: 15px; color: var(--nw-muted); }
.nw-drop-preview { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; background: #fff; border-radius: 10px; }
.nw-drop-preview[hidden] { display: none; }
.nw-drop-note { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--nw-muted); }

/* Colours */
.nw-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 14px; }
.nw-color > span:first-child { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.nw-color-well {
	position: relative; display: flex; align-items: center; gap: 10px;
	padding: 8px; border: 1px solid #d6dce8; border-radius: 12px; background: #fff; cursor: pointer;
}
.nw-color-well input[type="color"] {
	flex: 1 1 auto; height: 60px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 8px;
	-webkit-appearance: none; appearance: none;
}
.nw-color-well input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.nw-color-well input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 8px; }
.nw-color-well input[type="color"]::-moz-color-swatch { border: 0; border-radius: 8px; }
.nw-color-chev { flex: 0 0 28px; width: 28px; height: 28px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/20px no-repeat; }
.nw-swatch-label { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.nw-swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.nw-swatch {
	width: 42px; height: 42px; border-radius: 50%; border: 2px solid #fff; cursor: pointer; padding: 0;
	background: var(--sw); box-shadow: 0 0 0 1px #d6dce8;
}
.nw-swatch:hover, .nw-swatch:focus-visible { box-shadow: 0 0 0 3px var(--nw-blue); outline: none; }

/* Roster counter */
.nw-counter { display: flex; align-items: center; justify-content: center; gap: 28px; padding: 6px 0; }
.nw-counter-btn {
	width: 64px; height: 64px; border-radius: 50%; border: 1px solid #d6dce8; background: #fff;
	font-size: 32px; line-height: 1; color: var(--nw-ink); cursor: pointer;
}
.nw-counter-btn:hover { border-color: var(--nw-blue); color: var(--nw-blue); }
.nw-counter-field { display: flex; flex-direction: column; align-items: center; gap: 2px; }
/* 2026-10-29: the number is typeable (bordered field + focus ring) as well as the slider / +/- . */
.nw-counter-field input {
	width: 170px; text-align: center; font: inherit; font-size: 56px; font-weight: 800; color: var(--nw-ink);
	border: 2px solid #d6dce8; border-radius: 16px; background: #fff; outline: none; -moz-appearance: textfield;
	padding: 4px 10px; cursor: text; pointer-events: auto;
}
.nw-counter-field input:focus { border-color: var(--nw-blue); box-shadow: 0 0 0 4px rgba(10, 124, 255, 0.15); }
.nw-counter-hint { text-align: center; margin: 0 0 4px; font-size: 14px; color: var(--nw-muted); }
.nw-counter-field input::-webkit-outer-spin-button, .nw-counter-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nw-counter-field span { font-size: 18px; color: var(--nw-muted); }
.nw-range { width: 100%; accent-color: var(--nw-blue); margin: 4px 0 6px; }

.nw-info {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 18px 20px; border-radius: 14px; background: var(--nw-blue-soft); color: var(--nw-ink);
}
.nw-info-ico { flex: 0 0 26px; width: 26px; height: 26px; color: var(--nw-blue); }
.nw-info-ico svg { width: 100%; height: 100%; }
.nw-info strong { display: block; font-size: 17px; margin-bottom: 2px; }
.nw-info span { color: #4b5563; font-size: 15px; }
.nw-info-plain { display: block; margin: 18px 0 0; font-size: 16px; }
.nw-info-plain strong { display: inline; font-size: inherit; }

/* Payment / design option cards */
.nw-option {
	position: relative; display: flex; gap: 20px; align-items: flex-start; cursor: pointer;
	background: var(--nw-card); border: 2px solid var(--nw-line); border-radius: var(--nw-radius);
	padding: 24px; margin-bottom: 18px; transition: border-color 0.15s, box-shadow 0.15s;
}
.nw-option:hover { border-color: #b9cdf0; }
.nw-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.nw-option:has(input:checked) { border-color: var(--nw-blue); box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.12); background: #f7faff; }
.nw-radio {
	flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #c8d0de; background: #fff;
	margin-top: 4px; position: relative;
}
.nw-option:has(input:checked) .nw-radio { border-color: var(--nw-blue); }
.nw-option:has(input:checked) .nw-radio::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--nw-blue); }
.nw-option-ico { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--nw-blue-soft); color: var(--nw-blue); }
.nw-option-ico svg { width: 28px; height: 28px; }
.nw-option-body { flex: 1 1 auto; }
.nw-option-title { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; }
.nw-option-sub { display: block; margin: 4px 0 12px; color: var(--nw-muted); font-size: 16px; line-height: 1.45; }
.nw-badge { display: inline-block; font-style: normal; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--nw-blue); color: #fff; }
.nw-badge-top { margin-bottom: 8px; }
.nw-option-end .nw-badge-top { display: inline-block; }
.nw-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nw-checks li { position: relative; padding-left: 30px; font-size: 16px; color: var(--nw-ink); }
.nw-checks li::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--nw-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/13px no-repeat;
}
.nw-checks-muted li::before { background-color: #c8d0de; }
.nw-checks-ok li { font-size: 15px; }

/* Timeline chips */
.nw-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.nw-chip {
	padding: 14px 22px; border-radius: 999px; border: 1px solid #d6dce8; background: #fff;
	font: inherit; font-size: 16px; font-weight: 600; color: var(--nw-ink); cursor: pointer;
}
.nw-chip:hover { border-color: var(--nw-blue); }
.nw-chip.is-active { background: var(--nw-blue); border-color: var(--nw-blue); color: #fff; }

/* Design gallery */
.nw-gallery { margin-top: 6px; }
.nw-gallery-label { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.nw-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.nw-design { position: relative; display: block; cursor: pointer; border: 2px solid var(--nw-line); border-radius: 14px; padding: 10px; background: #fff; text-align: center; }
.nw-design input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.nw-design:has(input[name="nct_design"]:checked) { border-color: var(--nw-blue); box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.12); }
.nw-design-img { display: block; width: 100%; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 10px; background: #eef1f6; }
.nw-design-none { display: flex; align-items: center; justify-content: center; color: var(--nw-muted); font-size: 14px; }
.nw-design-name { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; }
.nw-design-colors { display: block; font-size: 13px; color: var(--nw-muted); }
.nw-design-colorrow { grid-column: 1 / -1; padding: 12px 14px; background: #fff; border: 1px solid var(--nw-line); border-radius: 12px; }
.nw-design-colorrow[hidden] { display: none; }
.nw-color-row { display: flex; gap: 12px; flex-wrap: wrap; }
.nw-color-dot { position: relative; cursor: pointer; }
.nw-color-dot input { position: absolute; opacity: 0; width: 0; height: 0; }
.nw-color-dot span { display: block; width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #d6dce8; }
.nw-color-dot:has(input:checked) span { box-shadow: 0 0 0 3px var(--nw-blue); }

/* Step 6 */
.nw-share-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; }
.nw-step-share .nw-card { margin-bottom: 20px; }
.nw-copy-row { display: flex; gap: 12px; margin-bottom: 14px; }
.nw-copy-row .nw-input { flex: 1 1 auto; background: #fff; }
.nw-share-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.nw-share-btns .nw-btn, .nw-copy-row .nw-btn, #nw-invite-send { white-space: nowrap; padding-left: 14px; padding-right: 14px; font-size: 16px; }
.nw-note { margin: 10px 0 0; font-size: 14px; color: var(--nw-muted); min-height: 1em; }
.nw-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.nw-how li { position: relative; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto auto; column-gap: 10px; }
.nw-how li:not(:last-child)::after { content: "›"; position: absolute; right: -16px; top: 14px; font-size: 26px; color: #c8d0de; }
.nw-how-num { grid-row: 1; width: 32px; height: 32px; border-radius: 50%; background: var(--nw-blue); color: #fff; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.nw-how-ico { grid-row: 1; justify-self: center; width: 58px; height: 58px; border-radius: 50%; background: var(--nw-blue-soft); color: var(--nw-blue); display: inline-flex; align-items: center; justify-content: center; }
.nw-how-ico svg { width: 28px; height: 28px; }
.nw-how strong { grid-column: 1 / -1; grid-row: 2; margin-top: 12px; font-size: 16px; text-align: center; }
.nw-how span:last-child { grid-column: 1 / -1; grid-row: 3; font-size: 14px; color: var(--nw-muted); text-align: center; line-height: 1.45; }

/* Buttons */
.nw-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
	padding: 14px 22px; border-radius: 12px; border: 1px solid transparent; line-height: 1.2;
}
.nw-btn svg { width: 22px; height: 22px; }
.nw-btn-primary { background: var(--nw-blue); color: #fff; }
.nw-btn-primary:hover { background: var(--nw-blue-dark); color: #fff; }
.nw-btn-primary:disabled { opacity: 0.6; cursor: wait; }
.nw-btn-outline { background: #fff; color: var(--nw-ink); border-color: #d6dce8; }
.nw-btn-outline:hover { border-color: var(--nw-blue); color: var(--nw-ink); }
.nw-btn-outline svg { color: var(--nw-blue); }
.nw-btn-ghost { background: #fff; color: var(--nw-ink); border-color: #d6dce8; border-radius: 999px; padding: 18px 40px; font-size: 20px; }
.nw-btn-lg { border-radius: 999px; padding: 18px 48px; font-size: 20px; }
.nw-btn-block { width: 100%; box-sizing: border-box; }
.nw-link { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--nw-muted); text-decoration: underline; cursor: pointer; }
.nw-link:hover { color: var(--nw-blue); }
.nw-save-status { font-size: 14px; color: var(--nw-muted); }

/* Footer */
.nw-foot {
	flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 20px 48px; background: #fff; border-top: 1px solid var(--nw-line);
}
.nw-foot-aux { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nw-nav { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nw-foot-share .nw-foot-aux { visibility: hidden; }

.nw-error { margin: 16px 0 0; padding: 14px 18px; border-radius: 12px; background: #fdecec; color: #b42318; font-size: 15px; font-weight: 600; }
.nw-error[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.nw-modal { grid-template-columns: 240px 1fr; }
	.nw-stepper { padding: 20px 24px 0; }
	.nw-stepper-label { font-size: 13px; }
	.nw-body { padding: 18px 24px; }
	.nw-foot { padding: 14px 24px; }
	.nw-how { grid-template-columns: 1fr 1fr; }
	.nw-how li:not(:last-child)::after { display: none; }
	.nw-share-btns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
	.nw-modal { grid-template-columns: 1fr; width: 100vw; height: 100vh; border-radius: 0; }
	.nw-rail { display: grid; grid-template-columns: 1fr; min-height: 0; padding: 0; }
	.nw-rail-art { display: none; }
	.nw-rail-head { padding: 16px 20px 14px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
	.nw-rail-brand { height: 26px; margin: 0; }
	.nw-rail-logo { width: 36px; height: 36px; margin: 0; }
	.nw-rail-name { font-size: 18px; margin: 0; flex: 1 1 auto; }
	.nw-rail-chip { font-size: 13px; padding: 5px 12px; }
	.nw-stepper { grid-template-columns: repeat(6, 1fr); padding: 14px 10px 0; }
	.nw-stepper-label { display: none; }
	.nw-stepper-item.is-current .nw-stepper-label { display: block; font-size: 12px; }
	.nw-stepper-dot { width: 32px; height: 32px; font-size: 14px; }
	.nw-stepper-item + .nw-stepper-item::before { top: 15px; margin: 0 16px; }
	.nw-body { padding: 14px 16px; }
	.nw-title { font-size: 26px; }
	.nw-sub { font-size: 16px; }
	.nw-grid-2, .nw-grid-3, .nw-colors, .nw-share-grid { grid-template-columns: 1fr; }
	.nw-card { padding: 18px 16px; gap: 14px; }
	.nw-card-ico, .nw-option-ico { width: 46px; height: 46px; flex-basis: 46px; }
	.nw-option { padding: 16px; gap: 14px; }
	.nw-foot { flex-direction: column-reverse; align-items: stretch; padding: 12px 16px; }
	.nw-nav { margin-left: 0; }
	.nw-nav .nw-btn { flex: 1 1 auto; padding: 14px 20px; font-size: 17px; }
	.nw-foot-aux { justify-content: center; }
	.nw-how { grid-template-columns: 1fr; }
	.nw-close { top: 10px; right: 10px; }
}

/* ======================================================================
 * 2026-10-29 additions: colour rail logo, the organization opener
 * (data-step="org"), and the new landing hero / tiles / four steps (.nh-*).
 * ====================================================================== */

/* Colour NCASE CARDS logo on the rail (no white-wash filter). */
.nw-rail-brand.nw-rail-brand-color { filter: none; height: 36px; background: #fff; padding: 8px 12px; border-radius: 10px; box-sizing: content-box; }

/* Opener: full-bleed slab artwork replaces the stadium rail + team name while the org screen shows. */
.nw-rail-opener { position: absolute; inset: 0; display: none; background-size: cover; background-position: center; }
.nw-modal.is-opener .nw-rail-opener { display: block; }
.nw-modal.is-opener .nw-rail-art, .nw-modal.is-opener .nw-rail-name, .nw-modal.is-opener .nw-rail-chip, .nw-modal.is-opener .nw-rail-logo { display: none; }
.nw-modal.is-opener .nw-rail-head { padding-top: 28px; }
.nw-modal.is-opener .nw-rail-brand { display: none; }
.nw-modal.is-opener .nw-stepper, .nw-modal.is-opener .nw-foot { display: none; }
.nw-modal.is-opener .nw-body { padding-top: 40px; }

.nw-step-org { max-width: 760px; }
.nw-title-org span { color: var(--nw-blue); }
.nw-org-label { margin: 22px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nw-blue); }
.nw-org-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.nw-org-opt {
	position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px;
	border: 1px solid #d6dce8; border-radius: 12px; background: #fff; cursor: pointer; font-size: 17px; font-weight: 600;
}
.nw-org-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.nw-org-opt:hover { border-color: #b9cdf0; }
.nw-org-opt:has(input:checked) { border-color: var(--nw-blue); box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.14); background: #f7faff; color: var(--nw-blue); }
.nw-org-ico { width: 28px; height: 28px; flex: 0 0 28px; color: var(--nw-ink); }
.nw-org-ico svg { width: 100%; height: 100%; }
.nw-org-opt:has(input:checked) .nw-org-ico { color: var(--nw-blue); }
.nw-org-name { flex: 1 1 auto; }
.nw-org-check { display: none; width: 22px; height: 22px; border-radius: 50%; background: var(--nw-blue); color: #fff; align-items: center; justify-content: center; }
.nw-org-check svg { width: 14px; height: 14px; stroke-width: 3; }
.nw-org-opt:has(input:checked) .nw-org-check { display: inline-flex; }
.nw-org-fields { margin-top: 22px; }
.nw-org-fields .nw-field > span small { font-weight: 400; color: var(--nw-muted); }
.nw-input-ico { position: relative; display: block; }
.nw-input-ico > svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--nw-muted); pointer-events: none; }
.nw-input-ico .nw-input { padding-left: 44px; }
.nw-org-optin { display: flex; align-items: center; gap: 12px; margin: 22px 0 18px; font-size: 16px; cursor: pointer; }
.nw-org-optin input { position: absolute; opacity: 0; width: 0; height: 0; }
.nw-org-box { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 6px; border: 2px solid #c5cedd; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.nw-org-box svg { width: 16px; height: 16px; stroke-width: 3; display: none; }
.nw-org-optin:has(input:checked) .nw-org-box { background: var(--nw-blue); border-color: var(--nw-blue); }
.nw-org-optin:has(input:checked) .nw-org-box svg { display: block; }
.nw-org-continue { padding: 18px 24px; font-size: 20px; border-radius: 14px; }
.nw-org-or { display: flex; align-items: center; gap: 14px; margin: 16px 0 10px; color: var(--nw-muted); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; }
.nw-org-or::before, .nw-org-or::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--nw-line); }
.nw-org-skip { text-align: center; margin: 0 0 14px; }
.nw-org-skip .nw-link { color: var(--nw-blue); font-weight: 600; }
.nw-org-join { text-align: center; margin: 0; font-size: 15px; color: var(--nw-muted); }
.nw-org-join a { color: var(--nw-blue); font-weight: 700; }
@media (max-width: 900px) {
	.nw-org-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	.nw-modal.is-opener .nw-rail { display: none; }
	.nw-org-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
	.nw-org-opt { padding: 12px; font-size: 15px; }
	.nw-grid-2.nw-org-fields { grid-template-columns: 1fr; gap: 12px; }
	.nw-grid-3.nw-org-fields { grid-template-columns: 1fr 1fr; }
}

/* ---------- Landing top (client artwork 2026-10-29) ---------- */
.nh-wrap { width: min(1400px, calc(100% - 48px)); margin: 0 auto; }
.nh-hero {
	position: relative; color: #fff; overflow: hidden; min-height: 620px; display: flex; align-items: center;
	background: #0a1430;
}
.nh-hero::before { content: ""; position: absolute; inset: 0 0 0 42%; background: var(--nh-hero, none) right center / auto 100% no-repeat; } /* left 42% clipped: hides the mockup text baked into the art's left edge */
.nh-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 12, 32, 0.94) 0, rgba(5, 12, 32, 0.86) 32%, rgba(5, 12, 32, 0.35) 55%, rgba(5, 12, 32, 0.05) 75%); }
.nh-hero .nh-wrap { position: relative; z-index: 1; padding: 40px 0 44px; }
.nh-hero-copy { max-width: 520px; }
.nh-brand { height: 44px; width: auto; display: block; margin-bottom: 22px; filter: brightness(0) invert(1); }
.nh-pill { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.08); font-size: 14px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 18px; }
.nh-h1 { margin: 0 0 16px; font-size: clamp(38px, 5vw, 72px); line-height: 0.98; font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; color: #fff; }
.nh-h1 span { color: var(--nw-blue); display: block; }
.nh-lead { margin: 0 0 24px; font-size: 19px; line-height: 1.45; color: #e6ebf5; }
.nh-cta {
	display: inline-flex; align-items: center; gap: 14px; padding: 18px 36px; border: 0; border-radius: 18px; cursor: pointer;
	background: var(--nw-blue); color: #fff; font: inherit; font-size: 24px; font-weight: 800;
	box-shadow: 0 10px 30px rgba(10, 124, 255, 0.45), inset 0 1px 0 rgba(255,255,255,0.3);
}
.nh-cta:hover { background: var(--nw-blue-dark); }
.nh-cta svg { width: 24px; height: 24px; stroke-width: 2.4; }
.nh-checks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 26px; font-size: 15px; font-weight: 600; }
.nh-checks li { position: relative; padding-left: 32px; }
.nh-checks li::before { content: ""; position: absolute; left: 0; top: -2px; width: 24px; height: 24px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1430' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.nh-join { margin: 18px 0 0; font-size: 15px; color: #c9d3e6; }
.nh-join a { color: #fff; font-weight: 700; }

.nh-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: -36px 0 36px; background: #eef5ff; border-radius: 22px; padding: 30px 10px; position: relative; z-index: 2; }
.nh-tile { text-align: center; padding: 10px 22px; border-left: 1px solid #d5e2f5; }
.nh-tile:first-child { border-left: 0; }
.nh-tile-ico { width: 68px; height: 68px; border-radius: 50%; background: #d9e8ff; color: var(--nw-blue); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.nh-tile-ico svg { width: 34px; height: 34px; }
.nh-tile h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.2; font-weight: 900; text-transform: uppercase; color: #0a1430; }
.nh-tile p { margin: 0; font-size: 16px; line-height: 1.45; color: #46516a; }

.nh-how { margin: 0 0 44px; }
.nh-eyebrow { display: block; font-size: 15px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--nw-blue); margin-bottom: 4px; }
.nh-h2 { margin: 0 0 22px; font-size: clamp(30px, 3.4vw, 46px); font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase; color: #0a1430; }
.nh-h2 span { color: var(--nw-blue); }
.nh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nh-step { position: relative; display: flex; align-items: center; gap: 14px; padding-right: 30px; }
.nh-step-num { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; border: 2px solid var(--nw-blue); color: var(--nw-blue); font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; }
.nh-step-ico { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 50%; background: #e8f1ff; color: var(--nw-blue); display: inline-flex; align-items: center; justify-content: center; }
.nh-step-ico svg { width: 30px; height: 30px; }
.nh-step > div { min-width: 0; }
.nh-step strong { display: block; font-size: 15px; font-weight: 900; text-transform: uppercase; color: #0a1430; }
.nh-step > div > span { display: block; font-size: 14px; line-height: 1.4; color: #46516a; }
.nh-step-arrow { position: absolute; right: 2px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: #9fb5d8; }
.nh-step-arrow svg { width: 100%; height: 100%; }
@media (max-width: 1100px) {
	.nh-tiles { grid-template-columns: 1fr 1fr; gap: 18px 0; }
	.nh-tile:nth-child(3) { border-left: 0; }
	.nh-steps { grid-template-columns: 1fr 1fr; }
	.nh-step-arrow { display: none; }
}
@media (max-width: 720px) {
	.nh-hero { min-height: 0; }
	.nh-hero::before { inset: 0; }
	.nh-hero::after { background: linear-gradient(180deg, rgba(5, 12, 32, 0.92) 0, rgba(5, 12, 32, 0.9) 100%); }
	.nh-hero .nh-wrap { padding: 30px 0; }
	.nh-cta { width: 100%; justify-content: center; font-size: 20px; }
	.nh-tiles { grid-template-columns: 1fr; margin-top: 0; padding: 18px 8px; }
	.nh-tile { border-left: 0; }
	.nh-steps { grid-template-columns: 1fr; }
}

/* ---------- Step 5 design preview lightbox (2026-10-29) ---------- */
.nw-lb { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; background: rgba(8, 14, 32, 0.72); backdrop-filter: blur(3px); }
.nw-lb[hidden] { display: none; }
.nw-lb-panel { position: relative; width: min(560px, calc(100% - 40px)); max-height: calc(100% - 40px); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 24px 20px; background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.nw-lb-close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.nw-lb-close span { width: 32px; height: 32px; border-radius: 50%; background: #e5262b; color: #fff; font-size: 26px; line-height: 32px; font-weight: 700; text-align: center; }
.nw-lb-close:hover span { background: #c81e22; }
.nw-lb-img { display: block; width: auto; max-width: 100%; height: min(58vh, 560px); aspect-ratio: 5 / 7; object-fit: contain; border-radius: 14px; background: #eef1f6; }
.nw-lb-name { margin: 0; font-size: 20px; font-weight: 800; text-align: center; }
.nw-lb-foot { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; }
.nw-lb-nav { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; border: 1px solid #cfd8e6; background: #fff; color: var(--nw-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.nw-lb-nav svg { width: 24px; height: 24px; stroke-width: 2.4; }
.nw-lb-nav:hover { border-color: var(--nw-blue); color: var(--nw-blue); }
.nw-lb-select { flex: 1 1 auto; max-width: 320px; padding: 14px 22px; font-size: 17px; }
.nw-lb-count { margin: 0; font-size: 13px; color: var(--nw-muted); }
/* The chosen card replaces the stadium art on the left rail. */
.nw-rail-art.has-design { background-size: contain; background-position: center 58%; background-repeat: no-repeat; background-color: #0b1026; -webkit-mask-image: none; mask-image: none; }
.nw-rail-art.has-design::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0b1026 0, rgba(11, 16, 38, 0) 26%); }

/* ======================================================================
 * 2026-11-15 wizard step 1+ changes
 *  1) the team logo replaces the NCASE CARDS logo once one is added
 *  2) team name + city/state sit centered at the bottom of the left rail
 *  3) the team colours become a vertical gradient behind the whole wizard
 *     and the page behind it, on every step after the organization opener
 * ====================================================================== */

/* 1) Team logo replaces the NCASE logo (the logo <img> un-hides when a file is chosen). */
.nw-rail-head:has(.nw-rail-logo:not([hidden])) .nw-rail-brand,
.nw-rail-head:has(.nw-rail-logo:not([hidden])) .nw-rail-brand-text { display: none; }
.nw-rail-logo:not([hidden]) {
	width: auto; height: 88px; max-width: 100%; margin: 0;
	padding: 10px 14px; box-sizing: border-box; border-radius: 14px; background: #fff;
}

/* Step 6: the team's player code, underneath the team link. */
.nw-codebox { display: flex; flex-direction: column; gap: 4px; margin: 0 0 14px; padding: 14px 18px; background: #fff; border: 1px solid var(--nw-line); border-radius: 12px; }
.nw-codebox[hidden] { display: none; }
.nw-codebox-label { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nw-blue); }
.nw-codebox-code { font-size: 32px; font-weight: 900; letter-spacing: 0.28em; color: var(--nw-ink); line-height: 1.2; word-break: break-all; }
.nw-codebox-hint { font-size: 14px; color: var(--nw-muted); }

/* 2) Name + city/state at the bottom, centered. */
.nw-rail-foot {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
	padding: 72px 24px 34px; text-align: center;
	background: linear-gradient(to top, rgba(11, 16, 38, 0.92) 0, rgba(11, 16, 38, 0.72) 55%, rgba(11, 16, 38, 0) 100%);
}
.nw-rail-foot .nw-rail-name { margin: 0 0 12px; }
.nw-rail-chip[hidden] { display: none; }
.nw-modal.is-opener .nw-rail-foot { display: none; }

/* 3) Team-colour gradient (vars set by js/teams-wizard.js: --nw-t1 / --nw-t2, plus --nw-head-ink / --nw-foot-ink). */
body.nw-open.nw-themed .nw-backdrop {
	background: linear-gradient(180deg, var(--nw-t1, #0b1026), var(--nw-t2, #0b1026));
	backdrop-filter: none;
}
body.nw-themed .nw-modal:not(.is-opener) {
	background: linear-gradient(180deg, var(--nw-t1, #f5f7fb), var(--nw-t2, #f5f7fb));
}
/* Text that sits directly on the gradient (cards, inputs and option tiles stay white). */
body.nw-themed .nw-modal:not(.is-opener) .nw-kicker,
body.nw-themed .nw-modal:not(.is-opener) .nw-title,
body.nw-themed .nw-modal:not(.is-opener) .nw-sub,
body.nw-themed .nw-modal:not(.is-opener) .nw-gallery-label { color: var(--nw-head-ink, #0f172a); }
/* The "Cards arrive ..." note keeps its light box, so its text stays dark whatever the team colours are. */
body.nw-themed .nw-modal:not(.is-opener) .nw-info-plain,
body.nw-themed .nw-modal:not(.is-opener) .nw-info-plain strong { color: #0f172a; }
body.nw-themed .nw-modal:not(.is-opener) .nw-stepper-item { color: var(--nw-head-ink, #0f172a); }
body.nw-themed .nw-modal:not(.is-opener) .nw-stepper-item.is-current,
body.nw-themed .nw-modal:not(.is-opener) .nw-stepper-item.is-done { color: var(--nw-head-ink, #0f172a); }
body.nw-themed .nw-modal:not(.is-opener) .nw-stepper-dot { background: #fff; color: #6b7280; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55); }
body.nw-themed .nw-modal:not(.is-opener) .nw-stepper-item.is-current .nw-stepper-dot,
body.nw-themed .nw-modal:not(.is-opener) .nw-stepper-item.is-done .nw-stepper-dot { background: var(--nw-blue); color: #fff; box-shadow: 0 0 0 3px #fff; }
body.nw-themed .nw-modal:not(.is-opener) .nw-stepper-item + .nw-stepper-item::before { background: rgba(255, 255, 255, 0.55); }
body.nw-themed .nw-modal:not(.is-opener) .nw-stepper-item.is-done + .nw-stepper-item::before { background: #fff; }
/* Footer: let the gradient run to the bottom edge. */
body.nw-themed .nw-modal:not(.is-opener) .nw-foot { background: transparent; border-top-color: rgba(255, 255, 255, 0.35); }
body.nw-themed .nw-modal:not(.is-opener) .nw-foot .nw-link,
body.nw-themed .nw-modal:not(.is-opener) .nw-foot .nw-save-status { color: var(--nw-foot-ink, #0f172a); }
@media (max-width: 820px) {
	.nw-rail-foot { position: static; padding: 0 20px 12px; background: none; text-align: left; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
	.nw-rail-foot .nw-rail-name { margin: 0; }
	.nw-rail-logo:not([hidden]) { height: 44px; padding: 5px 8px; }
}
@media (max-width: 720px) {
	.nw-lb-panel { padding: 22px 14px 16px; }
	.nw-lb-img { height: min(50vh, 420px); }
	.nw-lb-close { top: -10px; right: -6px; }
}
