/* NTM Retail Readiness Assessment: front end */

.ntm-assess {
	--ntm-red: #be1e30;
	--ntm-red-dark: #a31a29;
	--ntm-bg: #090909;
	--ntm-card: #131313;
	--ntm-border: #262626;
	--ntm-text: #e5e2e1;
	--ntm-muted: #a1a1aa;
	--ntm-dim: #71717a;
	--ntm-font-h: 'Montserrat', system-ui, sans-serif;
	--ntm-font-b: 'Inter', system-ui, sans-serif;
	--ntm-font-m: 'Space Mono', ui-monospace, monospace;

	position: relative;
	overflow: hidden;
	background: var(--ntm-bg);
	color: var(--ntm-text);
	font-family: var(--ntm-font-b);
	font-size: 16px;
	line-height: 1.6;
	min-height: calc(100vh - 80px);
	padding: 0;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}
.ntm-assess *, .ntm-assess *::before, .ntm-assess *::after { box-sizing: border-box; }
.ntm-assess:focus { outline: none; }

/* Ambient glows, as in the design */
.ntm-assess::before, .ntm-assess::after {
	content: '';
	position: absolute;
	pointer-events: none;
	border-radius: 50%;
	filter: blur(60px);
	z-index: 0;
}
.ntm-assess::before { width: 520px; height: 520px; left: -140px; top: 120px; background: radial-gradient(circle, rgba(190, 30, 48, 0.2), transparent 68%); }
.ntm-assess::after { width: 640px; height: 640px; right: -160px; top: 40px; background: radial-gradient(circle, rgba(255, 95, 45, 0.12), transparent 68%); }
.ntm-assess[data-screen="capture"]::before { left: 50%; margin-left: -260px; top: 80px; }
.ntm-assess[data-screen="capture"]::after { display: none; }

.ntm-wrap { position: relative; z-index: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 120px 100px; }

.ntm-assess h1, .ntm-assess h2, .ntm-assess h3, .ntm-assess h4 { font-family: var(--ntm-font-h); color: var(--ntm-text); margin: 0; }
.ntm-assess p { margin: 0; }
.ntm-assess [tabindex="-1"]:focus { outline: none; }

/* ---------- Buttons ---------- */
.ntm-btn { appearance: none; border: 1.5px solid var(--ntm-red); background: var(--ntm-red); color: #fff; font: 700 14px/1 var(--ntm-font-h); letter-spacing: 1px; text-transform: uppercase; padding: 16px 32px; border-radius: 4px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background 0.15s, border-color 0.15s, opacity 0.15s; }
.ntm-btn:hover { background: var(--ntm-red-dark); border-color: var(--ntm-red-dark); color: #fff; }
.ntm-btn:focus-visible, .ntm-link:focus-visible, .ntm-opt:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
.ntm-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.ntm-btn[disabled]:hover { background: var(--ntm-red); border-color: var(--ntm-red); }
.ntm-btn-pill { border-radius: 10px; font: 600 14px/1 var(--ntm-font-b); letter-spacing: 0.7px; padding: 15px 25px; }
.ntm-btn-ghost { background: transparent; color: var(--ntm-text); }
.ntm-btn-ghost:hover { background: rgba(190, 30, 48, 0.12); border-color: var(--ntm-red); }
.ntm-btn-block { width: 100%; }
.ntm-link { background: none; border: 0; padding: 0; color: var(--ntm-muted); font: 500 14px var(--ntm-font-b); text-decoration: underline; cursor: pointer; }
.ntm-link:hover { color: #fff; }

/* ---------- Cards ---------- */
.ntm-narrow { display: flex; justify-content: center; }
.ntm-card { width: 560px; max-width: 100%; background: var(--ntm-card); border: 1px solid var(--ntm-border); border-radius: 8px; padding: 48px; display: flex; flex-direction: column; gap: 32px; }
.ntm-wide-768 .ntm-card { width: 768px; }
.ntm-center { align-items: center; text-align: center; }
.ntm-meta-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ntm-step { font: 600 13px/1 var(--ntm-font-h); letter-spacing: 1px; text-transform: uppercase; color: var(--ntm-red); }
.ntm-mono { font: 400 12px/1 var(--ntm-font-m); color: var(--ntm-dim); text-transform: uppercase; }
.ntm-stack { display: flex; flex-direction: column; gap: 12px; }
.ntm-h2 { font-weight: 800; font-size: 36px; line-height: 44px; letter-spacing: -0.5px; }
.ntm-h2-big { font-size: 36px; }
.ntm-sub { font-size: 16px; line-height: 26px; color: var(--ntm-muted); }
.ntm-sub-tight { margin-top: -16px; }

/* ---------- Form ---------- */
.ntm-fields { display: flex; flex-direction: column; gap: 20px; }
.ntm-row { display: flex; gap: 16px; }
.ntm-row > .ntm-field { flex: 1 1 0; min-width: 0; }
.ntm-field { display: flex; flex-direction: column; gap: 8px; }
.ntm-field label { font: 700 12px/1 var(--ntm-font-h); text-transform: uppercase; color: var(--ntm-text); }
.ntm-field input { width: 100%; background: var(--ntm-bg); border: 1px solid var(--ntm-border); color: var(--ntm-text); font: 400 15px var(--ntm-font-b); padding: 14px 16px; border-radius: 4px; outline: none; }
.ntm-field input::placeholder { color: var(--ntm-muted); opacity: 0.7; }
.ntm-field input:focus { border-color: var(--ntm-red); box-shadow: 0 0 0 3px rgba(190, 30, 48, 0.2); }
.ntm-field.has-error input, .ntm-consent.has-error { border-color: #ef4444; }
.ntm-err { color: #f87171; font-size: 13px; }
.ntm-alert { background: rgba(239, 68, 68, 0.1); border: 1px solid #ef4444; color: #fecaca; padding: 12px 16px; border-radius: 6px; font-size: 14px; }
.ntm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ntm-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 20px; color: var(--ntm-muted); cursor: pointer; }
.ntm-consent input { margin-top: 3px; accent-color: var(--ntm-red); width: 16px; height: 16px; flex: none; }
.ntm-consent a { color: var(--ntm-text); }
.ntm-actions-col { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.ntm-note { font-size: 12px; color: var(--ntm-dim); text-align: center; }

/* ---------- Quiz ---------- */
.ntm-quiz { gap: 32px; }
.ntm-progress { display: flex; flex-direction: column; gap: 12px; }
.ntm-step-q { color: var(--ntm-red); }
.ntm-track { height: 4px; background: var(--ntm-border); border-radius: 2px; overflow: hidden; }
.ntm-bar { height: 100%; background: var(--ntm-red); border-radius: 2px; transition: width 0.35s ease; }
.ntm-q { font-weight: 700; font-size: 22px; line-height: 28px; }
.ntm-opts { display: flex; flex-direction: column; gap: 12px; }
.ntm-opt { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border: 1px solid var(--ntm-border); background: rgba(255, 255, 255, 0.02); border-radius: 6px; cursor: pointer; transition: border-color 0.12s, background 0.12s; user-select: none; }
.ntm-opt:hover { border-color: #3a3a3a; }
.ntm-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ntm-opt-label { font-size: 16px; color: var(--ntm-text); }
.ntm-radio { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #71717a; position: relative; }
.ntm-box { flex: none; width: 18px; height: 18px; border-radius: 3px; border: 1.5px solid #71717a; position: relative; }
.ntm-opt.is-selected { border-color: var(--ntm-red); background: rgba(190, 30, 48, 0.12); }
.ntm-opt.is-selected .ntm-opt-label { color: #fff; font-weight: 600; }
.ntm-opt.is-selected .ntm-radio { border-color: var(--ntm-red); background: var(--ntm-red); box-shadow: inset 0 0 0 4px var(--ntm-card); }
.ntm-opt.is-selected .ntm-box { border-color: var(--ntm-red); background: var(--ntm-red); }
.ntm-opt.is-selected .ntm-box::after { content: ''; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ntm-nav { display: flex; justify-content: space-between; gap: 16px; }

.ntm-spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--ntm-border); border-top-color: var(--ntm-red); animation: ntm-spin 0.9s linear infinite; }
@keyframes ntm-spin { to { transform: rotate(360deg); } }

/* ---------- Results ---------- */
.ntm-wrap:has(.ntm-results) { padding-top: 110px; }
.ntm-results { max-width: 1024px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.ntm-results-bar { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--ntm-muted); }
.ntm-panel { background: var(--ntm-card); border: 1px solid var(--ntm-border); border-radius: 8px; padding: 32px; }
.ntm-ph { font-weight: 800; font-size: 20px; color: #fff; text-transform: none; margin-bottom: 24px !important; }
.ntm-overview { display: flex; align-items: center; gap: 48px; padding: 48px; }
.ntm-gauge { position: relative; flex: none; width: 160px; height: 160px; display: flex; align-items: center; justify-content: center; }
.ntm-ring-fill { transition: stroke-dasharray 1s ease; }
.ntm-gauge-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ntm-gauge-text strong { font: 900 36px/1 var(--ntm-font-h); color: #fff; }
.ntm-gauge-text span { font-size: 12px; color: var(--ntm-dim); margin-top: 4px; letter-spacing: 0.5px; }
.ntm-overview-text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ntm-eyebrow { font: 600 13px/1 var(--ntm-font-h); letter-spacing: 1px; text-transform: uppercase; }
.ntm-split { display: flex; gap: 32px; align-items: flex-start; }
.ntm-split > .ntm-panel { flex: 1 1 0; min-width: 0; }
.ntm-brow { display: flex; flex-direction: column; gap: 8px; }
.ntm-brow-top { display: flex; justify-content: space-between; gap: 12px; font: 600 14px/1.3 var(--ntm-font-b); color: var(--ntm-text); }
.ntm-mono-b { font: 700 14px/1.3 var(--ntm-font-m); flex: none; }
.ntm-btrack { height: 6px; background: var(--ntm-border); border-radius: 3px; overflow: hidden; }
.ntm-bfill { height: 100%; border-radius: 3px; transition: width 0.9s cubic-bezier(.2, .7, .2, 1); }
.ntm-bars { display: flex; flex-direction: column; gap: 18px; }
.ntm-strong { display: flex; flex-direction: column; gap: 16px; }
.ntm-mini { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--ntm-border); border-radius: 6px; padding: 20px 24px; }

.ntm-gaps { display: flex; flex-direction: column; gap: 16px; }
.ntm-gap { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--ntm-border); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.ntm-gap-head { display: flex; gap: 16px; align-items: flex-start; }
.ntm-gap-head h4 { font-weight: 700; font-size: 16px; line-height: 1.3; margin-bottom: 4px; }
.ntm-gap-head p { font-size: 14px; line-height: 22px; color: var(--ntm-muted); }
.ntm-num { flex: none; width: 40px; height: 40px; border-radius: 20px; background: var(--ntm-red); color: #fff; font: 800 18px/40px var(--ntm-font-h); text-align: center; }
.ntm-help { padding-top: 16px; border-top: 1px solid var(--ntm-border); }
.ntm-help-h { font: 800 18px/1.3 var(--ntm-font-h); color: #fff; margin: 0 0 12px; }
.ntm-help-list { margin: 0; padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 8px; }
.ntm-help-list li { font-size: 16px; line-height: 24px; color: #fff; padding-left: 4px; }
.ntm-help-list li::marker { color: var(--ntm-red); }
.ntm-notice { background: rgba(190, 30, 48, 0.1); border: 1px solid rgba(190, 30, 48, 0.4); border-radius: 6px; padding: 14px 20px; font-size: 14px; line-height: 22px; color: var(--ntm-text); }
.ntm-notice strong { color: #fff; }
.ntm-gap-none { color: var(--ntm-muted); font-size: 15px; }

.ntm-goals { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ntm-goals li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--ntm-text); line-height: 24px; }
.ntm-check { flex: none; width: 32px; height: 32px; border-radius: 16px; background: var(--ntm-red); display: flex; align-items: center; justify-content: center; }

.ntm-callout { background: linear-gradient(#201f1f, #131313); text-align: center; padding: 48px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.ntm-callout .ntm-sub { max-width: 760px; }
.ntm-h3c { font-weight: 800; font-size: 24px; color: #fff; }
.ntm-retake { text-align: center; }

/* ---------- Theme reset overrides ----------
   Hello Elementor (and many themes) style bare buttons, inputs and links. These rules are more
   specific on purpose so the assessment keeps its own look inside any theme. */
.ntm-assess .ntm-btn { display: inline-flex; background-color: var(--ntm-red); border: 1.5px solid var(--ntm-red); color: #fff; padding: 16px 32px; font: 700 14px/1 var(--ntm-font-h); letter-spacing: 1px; text-transform: uppercase; border-radius: 4px; white-space: normal; text-decoration: none; }
.ntm-assess .ntm-btn:hover, .ntm-assess .ntm-btn:focus { background-color: var(--ntm-red-dark); border-color: var(--ntm-red-dark); color: #fff; text-decoration: none; }
.ntm-assess .ntm-btn-pill { border-radius: 10px; font: 600 14px/1 var(--ntm-font-b); letter-spacing: 0.7px; padding: 15px 25px; }
.ntm-assess .ntm-btn-ghost { background-color: transparent; color: var(--ntm-text); }
.ntm-assess .ntm-btn-ghost:hover, .ntm-assess .ntm-btn-ghost:focus { background-color: rgba(190, 30, 48, 0.12); border-color: var(--ntm-red); color: #fff; }
.ntm-assess .ntm-btn[disabled], .ntm-assess .ntm-btn[disabled]:hover { opacity: 0.4; cursor: not-allowed; background-color: var(--ntm-red); border-color: var(--ntm-red); color: #fff; }
.ntm-assess .ntm-link, .ntm-assess .ntm-link:focus { background: none; border: 0; padding: 0; color: var(--ntm-muted); font: 500 14px/1.5 var(--ntm-font-b); letter-spacing: normal; text-transform: none; text-decoration: underline; white-space: normal; border-radius: 0; }
.ntm-assess .ntm-link:hover { background: none; color: #fff; }
.ntm-assess .ntm-field input[type="text"], .ntm-assess .ntm-field input[type="email"] { width: 100%; background: var(--ntm-bg); border: 1px solid var(--ntm-border); color: var(--ntm-text); padding: 14px 16px; border-radius: 4px; font: 400 15px var(--ntm-font-b); box-shadow: none; }
.ntm-assess .ntm-field input[type="text"]:focus, .ntm-assess .ntm-field input[type="email"]:focus { background: var(--ntm-bg); border-color: var(--ntm-red); color: var(--ntm-text); box-shadow: 0 0 0 3px rgba(190, 30, 48, 0.2); }
.ntm-assess .ntm-field.has-error input { border-color: #ef4444; }
.ntm-assess .ntm-consent a, .ntm-assess .ntm-consent a:hover { color: var(--ntm-text); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.ntm-wrap { padding: 96px 32px; }
	.ntm-split { flex-direction: column; }
	.ntm-split > .ntm-panel { width: 100%; }
}
@media (max-width: 640px) {
	.ntm-wrap { padding: 72px 16px 56px; }
	.ntm-h2, .ntm-h2-big { font-size: 28px; line-height: 36px; }
	.ntm-card { padding: 28px 20px; gap: 24px; }
	.ntm-row { flex-direction: column; gap: 20px; }
	.ntm-q { font-size: 19px; line-height: 26px; }
	.ntm-opt { padding: 14px 16px; gap: 12px; }
	.ntm-nav { flex-direction: column-reverse; }
	.ntm-nav .ntm-btn { width: 100%; }
	.ntm-overview { flex-direction: column; text-align: center; padding: 32px 20px; gap: 24px; align-items: center; }
	.ntm-panel { padding: 24px 20px; }
	.ntm-callout { padding: 32px 20px; }
	.ntm-results-bar { flex-direction: column; gap: 8px; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.ntm-bar, .ntm-bfill, .ntm-ring-fill, .ntm-spinner { transition: none; animation: none; }
}

/* ---------- Print: a clean, branded report ---------- */
@media print {
	body.ntm-assess-page header, body.ntm-assess-page footer, body.ntm-assess-page [data-elementor-type="header"], body.ntm-assess-page [data-elementor-type="footer"], .ntm-no-print { display: none !important; }
	body.ntm-assess-page, .ntm-assess { background: #fff !important; color: #111 !important; }
	.ntm-assess::before, .ntm-assess::after { display: none; }
	.ntm-wrap { padding: 0 !important; max-width: none; }
	.ntm-panel, .ntm-gap, .ntm-mini { background: #fff !important; border-color: #ccc !important; break-inside: avoid; }
	.ntm-assess h1, .ntm-assess h2, .ntm-assess h3, .ntm-assess h4, .ntm-ph, .ntm-gauge-text strong, .ntm-brow-top, .ntm-goals li, .ntm-help-h, .ntm-help-list li { color: #111 !important; }
	.ntm-sub, .ntm-gap-head p, .ntm-gauge-text span { color: #444 !important; }
	.ntm-btrack { background: #e5e5e5 !important; }
	.ntm-bfill, .ntm-num, .ntm-check, .ntm-ring-fill { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.ntm-results::before { content: 'NEW TORCH MARKETING  ·  Retail Readiness Report'; display: block; font: 800 13px/1 'Montserrat', sans-serif; letter-spacing: 2px; color: #be1e30; margin-bottom: 8px; }
}
