.nw-level-page {
	position: relative;
	min-height: 100vh;
	padding: 150px 24px 100px;
	overflow: hidden;
	background:
		radial-gradient(circle at 12% 18%, rgba(223,85,157,.13), transparent 28%),
		radial-gradient(circle at 88% 76%, rgba(65,183,170,.14), transparent 30%),
		linear-gradient(180deg, var(--nw-paper), var(--nw-violet-pale));
}

.nw-level-page__orb { position: absolute; border-radius: 50%; pointer-events: none; }
.nw-level-page__orb--one { top: 125px; right: -105px; width: 280px; height: 280px; border: 55px solid rgba(150,42,158,.09); }
.nw-level-page__orb--two { bottom: 60px; left: -120px; width: 250px; height: 250px; border: 52px solid rgba(223,85,157,.08); }

.nw-level-app {
	position: relative;
	z-index: 1;
	width: min(100%, 1040px);
	min-height: 610px;
	margin-inline: auto;
	padding: 58px;
	border: 1px solid rgba(19,42,63,.08);
	border-radius: 42px;
	background: rgba(255,253,249,.96);
	box-shadow: 0 35px 90px rgba(49,31,67,.14);
}

.nw-level-app__brand {
	position: absolute;
	top: -34px;
	right: 48px;
	display: grid;
	place-items: center;
	width: 74px;
	height: 74px;
	overflow: hidden;
	border: 5px solid var(--nw-paper);
	border-radius: 50%;
	background: var(--nw-white);
	box-shadow: 0 12px 30px rgba(19,42,63,.15);
}
.nw-level-app__brand img { width: 100%; height: 100%; object-fit: cover; }

.nw-level-screen[hidden] { display: none !important; }
.nw-level-screen--intro { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 66px; min-height: 494px; }
.nw-level-intro__copy h1 { margin-bottom: 24px; font-size: clamp(46px, 5.2vw, 70px); }
.nw-level-intro__copy h1 em { color: var(--nw-fuchsia-dark); font-style: normal; }
.nw-level-intro__lead { max-width: 590px; margin-bottom: 28px; color: var(--nw-ink-soft); font-size: 17px; }
.nw-level-intro__facts { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 34px; }
.nw-level-intro__facts span { color: var(--nw-ink-soft); font-size: 11px; font-weight: 700; }
.nw-level-intro__facts strong { display: block; color: var(--nw-violet); font-family: "Manrope", sans-serif; font-size: 23px; line-height: 1.1; }

.nw-level-intro__panel {
	position: relative;
	padding: 36px;
	border-radius: 30px;
	background: linear-gradient(155deg, var(--nw-ink), #43254f);
	box-shadow: 0 24px 50px rgba(19,42,63,.2);
	color: var(--nw-white);
	transform: rotate(1deg);
}
.nw-level-intro__panel::after { content: ""; position: absolute; top: -18px; right: -16px; width: 64px; height: 64px; border-radius: 50%; background: var(--nw-fuchsia); z-index: -1; }
.nw-level-intro__panel-title { margin-bottom: 20px; font-family: "Manrope", sans-serif; font-size: 18px; font-weight: 800; }
.nw-level-intro__panel ul { display: grid; gap: 14px; margin: 0 0 30px; padding: 0; list-style: none; }
.nw-level-intro__panel li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: rgba(255,255,255,.78); font-size: 13px; }
.nw-level-intro__panel li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(65,183,170,.2); color: #8de2d7; font-weight: 800; }
.nw-level-scale { display: flex; align-items: center; margin-bottom: 24px; }
.nw-level-scale span { display: grid; place-items: center; flex: 0 0 35px; width: 35px; height: 35px; border-radius: 50%; background: rgba(255,255,255,.1); font-family: "Manrope", sans-serif; font-size: 10px; font-weight: 800; }
.nw-level-scale span:nth-of-type(3) { background: var(--nw-fuchsia); }
.nw-level-scale i { flex: 1; height: 1px; background: rgba(255,255,255,.22); }
.nw-level-note { margin: 0; color: rgba(255,255,255,.5); font-size: 10px; line-height: 1.55; }

.nw-level-screen--profile,
.nw-level-screen--quiz,
.nw-level-screen--result,
.nw-level-screen--error { width: min(100%, 820px); margin-inline: auto; }
.nw-level-step-heading { max-width: 690px; margin-bottom: 40px; }
.nw-level-step-heading h2,
.nw-level-screen--error h2 { margin-bottom: 16px; font-size: clamp(36px, 4vw, 52px); }
.nw-level-step-heading > p:last-child,
.nw-level-screen--error > p { color: var(--nw-ink-soft); }

.nw-level-profile { display: grid; gap: 34px; }
.nw-level-profile fieldset,
.nw-question-card fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.nw-level-profile legend { margin-bottom: 15px; font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 800; }
.nw-level-choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.nw-level-choice-grid--goals { grid-template-columns: repeat(2, 1fr); }
.nw-level-choice-grid label,
.nw-question-options label { position: relative; cursor: pointer; }
.nw-level-choice-grid input,
.nw-question-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.nw-level-choice-grid label > span {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 104px;
	padding: 18px;
	border: 1px solid var(--nw-line);
	border-radius: 18px;
	background: var(--nw-white);
	transition: border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nw-level-choice-grid label:hover > span { border-color: rgba(150,42,158,.38); transform: translateY(-2px); }
.nw-level-choice-grid input:checked + span { border-color: var(--nw-violet); background: var(--nw-violet-pale); box-shadow: 0 8px 22px rgba(150,42,158,.11); }
.nw-level-choice-grid input:focus-visible + span,
.nw-question-options input:focus-visible + span { outline: 3px solid var(--nw-fuchsia); outline-offset: 3px; }
.nw-level-choice-grid strong,
.nw-level-choice-grid small { display: block; }
.nw-level-choice-grid strong { font-family: "Manrope", sans-serif; font-size: 13px; }
.nw-level-choice-grid small { margin-top: 4px; color: var(--nw-ink-soft); font-size: 10px; line-height: 1.45; }

.nw-level-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
.nw-level-back-link { padding: 10px 0; border: 0; background: transparent; color: var(--nw-ink-soft); cursor: pointer; font-size: 13px; font-weight: 800; }
.nw-level-back-link:hover { color: var(--nw-violet); }
.nw-level-form-error { margin: -12px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--nw-fuchsia-pale); color: #7c1c55; font-size: 12px; font-weight: 700; }
.nw-question-card .nw-level-form-error { margin: 18px 0 4px; }

.nw-level-progress { margin-bottom: 28px; }
.nw-level-progress__meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 9px; color: var(--nw-ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.nw-level-progress__track { height: 7px; overflow: hidden; border-radius: 99px; background: #e8e3e8; }
.nw-level-progress__track span { display: block; width: 3.33%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--nw-violet), var(--nw-fuchsia), var(--nw-teal)); transition: width .35s ease; }

.nw-question-card { padding: 42px; scroll-margin-top: 104px; border: 1px solid var(--nw-line); border-radius: 30px; background: var(--nw-white); box-shadow: 0 20px 50px rgba(19,42,63,.08); }
.nw-question-card__type { margin-bottom: 17px; color: var(--nw-violet); font-family: "Manrope", sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.nw-question-card__stimulus { margin-bottom: 24px; }
.nw-question-visual { margin: 0; overflow: hidden; border: 1px solid rgba(150,42,158,.16); border-radius: 20px; background: var(--nw-violet-pale); box-shadow: 0 14px 32px rgba(49,31,67,.08); }
.nw-question-visual img { display: block; width: 100%; max-height: 350px; object-fit: contain; }
.nw-question-visual figcaption { padding: 11px 16px; border-top: 1px solid rgba(150,42,158,.12); color: var(--nw-ink-soft); font-size: 11px; line-height: 1.45; }
.nw-question-audio { position: relative; padding: 23px; overflow: hidden; border: 1px solid rgba(65,183,170,.28); border-radius: 20px; background: linear-gradient(135deg, rgba(65,183,170,.13), rgba(150,42,158,.08)); }
.nw-question-audio::after { position: absolute; top: -38px; right: -28px; width: 110px; height: 110px; border: 22px solid rgba(223,85,157,.09); border-radius: 50%; content: ""; pointer-events: none; }
.nw-question-audio__title { position: relative; z-index: 1; margin: 0 0 3px; color: var(--nw-ink); font-family: "Manrope", sans-serif; font-size: 16px; font-weight: 800; }
.nw-question-audio__hint { position: relative; z-index: 1; margin: 0 0 15px; color: var(--nw-ink-soft); font-size: 11px; }
.nw-question-audio audio { position: relative; z-index: 1; display: block; width: 100%; min-height: 42px; accent-color: var(--nw-violet); }
.nw-question-audio__fallback { margin: 10px 0 0; font-size: 11px; }
.nw-question-transcript { position: relative; z-index: 1; margin-top: 13px; color: var(--nw-ink-soft); font-size: 11px; }
.nw-question-transcript summary { width: fit-content; color: var(--nw-violet); cursor: pointer; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(150,42,158,.3); text-underline-offset: 3px; }
.nw-question-transcript summary:focus-visible { outline: 3px solid var(--nw-fuchsia); outline-offset: 4px; border-radius: 3px; }
.nw-question-transcript p { margin: 12px 0 0; padding: 13px 15px; border-radius: 12px; background: rgba(255,255,255,.75); line-height: 1.6; }
.nw-question-card__context { margin-bottom: 22px; padding: 20px; border-left: 4px solid var(--nw-fuchsia); border-radius: 0 14px 14px 0; background: var(--nw-fuchsia-pale); color: var(--nw-ink-soft); font-size: 14px; line-height: 1.65; white-space: pre-line; }
.nw-question-card legend { width: 100%; margin-bottom: 26px; font-family: "Manrope", sans-serif; font-size: clamp(22px, 3vw, 31px); font-weight: 800; line-height: 1.25; letter-spacing: -.035em; }
.nw-question-options { display: grid; gap: 10px; }
.nw-question-options label > span { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 13px; min-height: 58px; padding: 11px 17px; border: 1px solid var(--nw-line); border-radius: 15px; background: var(--nw-paper); font-size: 14px; font-weight: 600; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.nw-question-options label > span::before { content: attr(data-letter); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--nw-violet-pale); color: var(--nw-violet); font-family: "Manrope", sans-serif; font-size: 11px; font-weight: 800; }
.nw-question-options label:hover > span { border-color: rgba(150,42,158,.4); transform: translateX(3px); }
.nw-question-options input:checked + span { border-color: var(--nw-violet); background: var(--nw-violet-pale); }
.nw-question-options input:checked + span::before { background: var(--nw-violet); color: var(--nw-white); }

.nw-result-card { text-align: center; }
.nw-result-card__eyebrow { margin-bottom: 12px; color: var(--nw-violet); font-family: "Manrope", sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.nw-result-card__level { display: grid; place-items: center; width: 112px; height: 112px; margin: 0 auto 22px; overflow: hidden; border: 8px solid var(--nw-fuchsia-pale); border-radius: 50%; background: linear-gradient(145deg, var(--nw-violet), var(--nw-fuchsia-dark)); box-shadow: 0 18px 40px rgba(150,42,158,.22); color: var(--nw-white); font-family: "Manrope", sans-serif; font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.nw-result-card__level--wide { font-size: 25px; }
.nw-result-card h2 { margin-bottom: 15px; font-size: clamp(38px, 5vw, 58px); }
.nw-result-card__summary { max-width: 650px; margin: 0 auto 28px; color: var(--nw-ink-soft); font-size: 16px; }
.nw-result-card__insights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; text-align: left; }
.nw-result-card__insights article { padding: 20px; border-radius: 18px; background: var(--nw-cream); }
.nw-result-card__insights span { display: block; margin-bottom: 5px; color: var(--nw-fuchsia-dark); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nw-result-card__insights strong { font-family: "Manrope", sans-serif; font-size: 14px; }
.nw-result-card__course { margin-bottom: 27px; padding: 24px; border-radius: 22px; background: var(--nw-ink); color: var(--nw-white); text-align: left; }
.nw-result-card__course span { color: #8de2d7; font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.nw-result-card__course strong { display: block; margin: 5px 0; font-family: "Manrope", sans-serif; font-size: 20px; }
.nw-result-card__course p { margin: 0; color: rgba(255,255,255,.67); font-size: 12px; }
.nw-result-card__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.nw-result-card__disclaimer { max-width: 610px; margin: 24px auto 0; color: #71808a; font-size: 10px; }
.nw-result-card__restart { display: block; margin: 21px auto 0; padding: 8px; border: 0; background: transparent; color: var(--nw-ink-soft); cursor: pointer; font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.nw-level-noscript { position: relative; z-index: 5; padding: 30px; border-radius: 20px; background: var(--nw-white); }

@media (max-width: 900px) {
	.nw-level-page { padding-top: 120px; }
	.nw-level-app { padding: 48px; }
	.nw-level-screen--intro { grid-template-columns: 1fr; gap: 42px; }
	.nw-level-choice-grid { grid-template-columns: 1fr; }
	.nw-level-choice-grid--goals { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.nw-level-page { padding: 100px 10px 30px; }
	.nw-level-app { min-height: 0; padding: 42px 20px 30px; border-radius: 28px; }
	.nw-level-app__brand { top: -23px; right: 22px; width: 56px; height: 56px; border-width: 4px; }
	.nw-level-intro__copy h1 { font-size: 42px; }
	.nw-level-intro__facts { gap: 16px; }
	.nw-level-intro__panel { padding: 27px 22px; transform: none; }
	.nw-level-choice-grid--goals { grid-template-columns: 1fr; }
	.nw-level-choice-grid label > span { min-height: 86px; }
	.nw-question-card { padding: 28px 18px; border-radius: 22px; }
	.nw-question-visual img { max-height: 235px; }
	.nw-question-audio { padding: 18px 15px; }
	.nw-question-card legend { font-size: 23px; }
	.nw-question-options label > span { padding: 10px 12px; }
	.nw-level-actions { align-items: stretch; flex-direction: column-reverse; }
	.nw-level-actions .nw-button { width: 100%; }
	.nw-result-card__insights { grid-template-columns: 1fr; }
	.nw-result-card__actions { flex-direction: column; }
	.nw-result-card__actions .nw-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.nw-level-progress__track span,
	.nw-level-choice-grid label > span,
	.nw-question-options label > span { transition: none; }
}
