/* Stage 1 of the assessment (/assessment). Phone first: one column, big tap
   targets, nothing side by side until there is room. Uses the quiet .h
   palette from home.css; no red band. */
body.a-body { background: #121212; }
.a-main { color-scheme: dark; background: var(--ink); color: var(--bone); min-height: 100vh; padding: calc(64px + 40px) 0 72px; }
.a-wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .a-wrap { padding: 0 24px; } .a-main { padding-top: calc(64px + 72px); } }

.a-kicker { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.a-title { font-family: var(--rl-font-display); font-weight: 400; color: #fff; font-size: clamp(38px, 8vw, 64px); line-height: 1.02; margin: 0 0 22px; }
.a-title:focus { outline: none; }
.a-lede { font-size: 17px; font-weight: 300; line-height: 1.65; color: var(--bone); margin: 0 0 28px; max-width: 60ch; }
.a-small { font-size: 14px; color: var(--muted); margin: 18px 0 0; }

.a-parts { list-style: none; margin: 0 0 32px; padding: 0; counter-reset: part; }
.a-parts li { counter-increment: part; padding: 12px 0 12px 40px; border-top: 1px solid var(--rule); font-size: 16px; position: relative; }
.a-parts li:last-child { border-bottom: 1px solid var(--rule); }
.a-parts li::before { content: counter(part); position: absolute; left: 0; top: 11px; font-family: var(--rl-font-display); font-size: 18px; color: var(--red); }

.a-actions { display: flex; gap: 12px; }
.a-actions .btn { padding: 14px 28px; }
.a-go { width: 100%; }
@media (min-width: 560px) { .a-go { width: auto; padding-left: 56px; padding-right: 56px; } }
.a-actions--step { margin-top: 36px; }
.a-actions--step .btn-primary { flex: 1; }
@media (min-width: 560px) { .a-actions--step .btn-primary { flex: 0 0 auto; min-width: 200px; margin-left: auto; } }

/* progress */
.a-progress { display: grid; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.a-bar { height: 4px; background: var(--steel); }
.a-bar i { display: block; height: 100%; background: var(--red); transition: width 300ms ease; }
.a-resumed { font-size: 14px; color: var(--muted); background: var(--graphite); border-left: 3px solid var(--rl-royal-aqua); padding: 10px 14px; margin: 0 0 22px; }

.a-step-title { font-family: var(--rl-font-display); font-weight: 400; color: #fff; font-size: clamp(30px, 6vw, 44px); line-height: 1.05; margin: 0 0 12px; }
.a-step-title:focus { outline: none; }
.a-why { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 30px; padding-left: 14px; border-left: 2px solid var(--red); }
.a-why strong { color: var(--bone); font-weight: 600; }

/* questions */
.a-q { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.a-label { display: block; font-size: 17px; font-weight: 600; color: #fff; line-height: 1.4; margin: 0 0 6px; padding: 0; }
.a-opt-tag { font-weight: 400; color: var(--muted); font-size: 14px; }
.a-help { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.a-q input[type=text], .a-q input[type=email], .a-q input[type=tel], .a-q textarea {
  width: 100%; margin-top: 6px; background: var(--graphite); color: #fff; border: 1px solid rgba(239,236,235,0.28);
  border-radius: 4px; padding: 13px 14px; font: inherit; font-size: 16px; }
.a-q textarea { resize: vertical; min-height: 96px; }
.a-q input:focus, .a-q textarea:focus { outline: 2px solid var(--rl-royal-aqua); outline-offset: 1px; border-color: transparent; }
.a-opts { display: grid; gap: 8px; margin-top: 10px; }
@media (min-width: 720px) { .a-opts--many { grid-template-columns: 1fr 1fr; } }
.a-opt { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; background: var(--graphite); border: 1px solid var(--rule);
  border-radius: 4px; cursor: pointer; font-size: 16px; line-height: 1.4; color: var(--bone); transition: border-color 150ms ease, background-color 150ms ease; }
.a-opt:hover { border-color: rgba(239,236,235,0.4); }
.a-opt input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--red); cursor: pointer; }
.a-opt:has(input:checked) { border-color: var(--red); background: rgba(182,60,53,0.14); color: #fff; }
.a-opt:has(input:focus-visible) { outline: 2px solid var(--rl-royal-aqua); outline-offset: 1px; }
.a-err { color: #ff8a80; font-size: 14px; margin: 8px 0 0; min-height: 0; }
.a-err:empty { display: none; }
.a-bad .a-opt, .a-bad input, .a-bad textarea { border-color: #ff8a80; }
.a-consent { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--rule); }
.a-opt--check { background: transparent; }
.a-status { font-size: 15px; color: var(--muted); margin: 14px 0 0; min-height: 1.4em; }
.a-trap { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.a-link { all: unset; cursor: pointer; color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.a-link:focus-visible { outline: 2px solid var(--rl-royal-aqua); }

/* thank-you */
.a-course { margin-top: 12px; background: var(--graphite); border-top: 3px solid var(--red); padding: 26px 20px; }
.a-course h2 { font-family: var(--rl-font-display); font-weight: 400; font-size: 28px; color: #fff; margin: 0 0 10px; }
.a-course p { font-size: 16px; line-height: 1.6; color: var(--bone); margin: 0 0 20px; }
.a-course .btn { display: block; text-align: center; }
@media (min-width: 560px) { .a-course { padding: 30px 28px; } .a-course .btn { display: inline-block; } }

/* grouped fields (business address, social pages) */
.a-subs { display: grid; gap: 10px; margin-top: 10px; grid-template-columns: 1fr 1fr; }
.a-sub { display: grid; gap: 4px; font-size: 14px; color: var(--muted); grid-column: 1 / -1; }
.a-sub input { width: 100%; background: var(--graphite); color: #fff; border: 1px solid rgba(239,236,235,0.28); border-radius: 4px; padding: 13px 14px; font: inherit; font-size: 16px; }
.a-sub input:focus { outline: 2px solid var(--rl-royal-aqua); outline-offset: 1px; border-color: transparent; }
.a-group--address .a-sub--state, .a-group--address .a-sub--zip { grid-column: auto; }
@media (min-width: 560px) {
  .a-group--address .a-sub--city { grid-column: 1 / -1; }
  .a-group--social_handles .a-sub { grid-column: auto; }
  .a-group--social_handles .a-sub--other { grid-column: 1 / -1; }
}
.a-bad .a-sub input { border-color: #ff8a80; }
.a-none { margin-top: 8px; padding: 8px 0; border: 0; font-size: 15px; }
.a-q input:disabled { opacity: 0.45; }

/* the booking line and the course credit */
.a-booking { font-size: 17px; color: #fff; font-weight: 600; margin: 0 0 18px; }
.a-incentive { font-size: 15px; line-height: 1.5; color: var(--bone); margin: 18px 0 0; padding: 10px 14px; border-left: 3px solid var(--rl-royal-aqua); background: var(--graphite); }
.a-incentive--thanks { margin: 0 0 28px; }
