/* ============================================================================
   NOVEMBER ROBOTICS DAY CAMP — REGISTRATION
   Assets/events/november-robotics-camp-2026/registration.css
   ----------------------------------------------------------------------------
   EVENT-ONLY styles for /camps/november-robotics-camp-2026-register
   (body.page-registration). Loaded only by that page, after the shared
   Assets/css/site.css. Every rule is scoped under .page-registration, so
   nothing here can reach another page, and Assets/css/site.css is not edited.

   BUILT FROM EXISTING SHARED PARTS: the Programs family layer on
   .page-program-v2 (surface, shadow and ink tokens), the sitewide .cta-button
   / .cta-button-secondary pair and the Contact form field classes
   (.contact-form-grid / -field / -consent). The accent is the camp's blue,
   #0265fc, with the same token values the camp's landing page uses. As there,
   the blue is a GROUND (number discs, borders, rules, glows) and never ink on
   the purple; anything that must be read on a purple surface uses the light
   tint --reg-accent-ink.

   The .reg-terms__* classes are the ones the registration engine's own
   renderer writes (stematics_pay_render_terms_html()).

   Mobile-first: the base rules are the phone layout.
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. TOKENS
   ---------------------------------------------------------------------------- */

.page-registration {
  --pgm-accent: #0265fc;
  --pgm-accent-deep: #0150cb;
  --pgm-accent-soft: rgba(2, 101, 252, 0.26);
  --pgm-accent-glow: rgba(2, 101, 252, 0.6);
  --pgm-on-accent: #ffffff;

  --reg-accent-ink: #b8d6ff;                  /* readable blue on the purple   */
  --reg-accent-line: rgba(184, 214, 255, 0.3);
  --reg-hairline: rgba(255, 255, 255, 0.16);
  --reg-error-edge: #ff9db5;
  --reg-error-ink: #ffe4eb;
  --reg-paper: #fffdf8;
}

/* ----------------------------------------------------------------------------
   2. SHARED PIECES
   ---------------------------------------------------------------------------- */

/* Keyboard focus inside <main>. Every control here sits on a purple surface,
   where the sitewide blue ring is too close to the purple to read, so it is
   drawn in the family's near-white ink instead. */
.page-registration .reg :focus-visible {
  outline: 3px solid var(--pgm-ink);
  outline-offset: 3px;
}

/* Disabled buttons (in-flight requests, a locked registration): no lift, no
   glow, no arrow. */
.page-registration .cta-button[disabled],
.page-registration .cta-button-secondary[disabled] {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.page-registration .cta-button[disabled]::before,
.page-registration .cta-button-secondary[disabled]::before {
  opacity: 0.15;
}

.page-registration .cta-button[disabled]::after,
.page-registration .cta-button-secondary[disabled]::after {
  display: none;
}

/* Buttons that are not outbound actions drop the sitewide arrow. */
.page-registration .reg-btn-plain::after {
  display: none;
}

.page-registration .reg-visually-hidden,
.page-registration .reg-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.page-registration [hidden] {
  display: none !important;
}

/* ----------------------------------------------------------------------------
   3. FRAME — minimal header, shell, footer
   ---------------------------------------------------------------------------- */

.page-registration {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-registration .reg {
  flex: 1 0 auto;
}

/* site.css caps every bare <header> at the site width; this one is a
   full-bleed chrome bar. */
.page-registration .reg-header {
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--site-chrome-bg);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.page-registration .reg-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - clamp(1.4rem, 5vw, 3.5rem), 60rem);
  margin-inline: auto;
  padding-block: 0.6rem;
}

.page-registration .reg-header__logo {
  width: auto;
  height: clamp(44px, 7vw, 64px);
}

.page-registration .reg-header__exit {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(248, 239, 255, 0.45);
  border-radius: var(--radius-pill);
  color: var(--site-chrome-text);
  font-weight: 700;
  transition: background 0.2s ease;
}

.page-registration .reg-header__exit:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-registration .reg-header__exit:focus-visible {
  outline: 3px solid var(--site-chrome-text);
  outline-offset: 3px;
}

.page-registration .reg__shell {
  width: min(100% - clamp(1.4rem, 5vw, 3.5rem), 54rem);
  margin-inline: auto;
}

.page-registration .reg__title {
  margin: clamp(0.4rem, 2vw, 1rem) 0 0.2rem;
  color: var(--page-ink);
  text-align: center;
  font-size: clamp(1.7rem, 2.2vw + 1.1rem, 2.6rem);
  font-weight: 900;
  line-height: 1.1;
  text-shadow: none;
}

.page-registration .reg__program {
  margin: 0;
  color: var(--page-ink);
  text-align: center;
  font-weight: 700;
}

.page-registration .reg__schedule {
  margin: 0.15rem 0 clamp(1.1rem, 3vw, 1.6rem);
  color: var(--page-ink-soft);
  text-align: center;
  font-size: 0.98rem;
}

.page-registration .reg-footer {
  margin-top: 2rem;
  padding: 1rem clamp(0.7rem, 2.5vw, 1.75rem) 1.2rem;
  background: var(--site-chrome-bg);
  color: var(--site-chrome-text);
  text-align: center;
  font-size: 0.92rem;
}

.page-registration .reg-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.page-registration .reg-footer__legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-registration .reg-footer__copy {
  margin: 0.4rem 0 0;
  opacity: 0.85;
}

/* ----------------------------------------------------------------------------
   4. PANELS, NOTICES, PROGRESS
   ---------------------------------------------------------------------------- */

.page-registration .reg-panel {
  border-radius: var(--pgm-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 3px solid var(--pgm-accent);
  background-image: var(--pgm-panel);
  box-shadow: var(--pgm-shadow-panel);
  padding: clamp(1.2rem, 4vw, 2.2rem);
  color: var(--pgm-ink);
}

.page-registration .reg-notice {
  margin: 0 0 1.25rem;
}

.page-registration .reg-notice--warning {
  border-top-color: var(--reg-error-edge);
  color: var(--pgm-ink-soft);
  line-height: 1.6;
}

.page-registration .reg-notice__title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem);
  font-weight: 900;
}

.page-registration .reg-notice p {
  margin: 0 0 0.6rem;
  color: var(--pgm-ink-soft);
  line-height: 1.65;
}

.page-registration .reg-notice p:last-child {
  margin-bottom: 0;
}

.page-registration .reg-notice a:not(.cta-button) {
  color: var(--reg-accent-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-registration .reg-notice__actions {
  display: flex;
  justify-content: center;
  padding-top: 0.6rem;
}

.page-registration .reg-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.page-registration .reg-progress__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--page-ink-soft);
  text-align: center;
  font-size: clamp(0.72rem, 0.5vw + 0.62rem, 0.95rem);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

/* Connector from the previous step to this one. */
.page-registration .reg-progress__item::before {
  content: "";
  position: absolute;
  top: calc(1.1rem - 1.5px);
  right: calc(50% + 1.4rem);
  left: calc(-50% + 1.4rem);
  height: 3px;
  border-radius: var(--radius-pill);
  background: rgba(43, 34, 51, 0.2);
}

.page-registration .reg-progress__item:first-child::before {
  display: none;
}

.page-registration .reg-progress__item.is-current::before,
.page-registration .reg-progress__item.is-complete::before {
  background: var(--pgm-accent);
}

.page-registration .reg-progress__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 2px solid rgba(43, 34, 51, 0.35);
  border-radius: 50%;
  background: var(--reg-paper);
  color: var(--page-ink);
  font-weight: 800;
}

.page-registration .reg-progress__item.is-current {
  color: var(--page-ink);
}

.page-registration .reg-progress__item.is-current .reg-progress__num {
  border-color: var(--pgm-accent);
  background: var(--pgm-accent);
  color: var(--pgm-on-accent);
  box-shadow: 0 0 0 4px rgba(2, 101, 252, 0.26);
}

.page-registration .reg-progress__item.is-complete .reg-progress__num {
  border-color: #5d2f8c;
  background: #5d2f8c;
  color: #fffefb;
}

/* ----------------------------------------------------------------------------
   5. STEPS AND FIELDS
   ---------------------------------------------------------------------------- */

.page-registration .reg-step__title {
  margin: 0 0 0.6rem;
  color: var(--pgm-ink);
  font-size: clamp(1.3rem, 1.2vw + 1rem, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
}

/* Headings receive focus programmatically on a step change; they are not
   controls, so no ring. */
.page-registration .reg-step__title:focus,
.page-registration .reg-step__title:focus-visible {
  outline: none;
}

.page-registration .reg-step__intro {
  margin: 0 0 1.2rem;
  color: var(--pgm-ink-soft);
  line-height: 1.6;
}

.page-registration .reg-fieldset {
  min-width: 0;
  margin: 0 0 1.4rem;
  padding: 0;
  border: 0;
}

.page-registration .reg-fieldset--nested {
  margin: 1.3rem 0 0;
}

.page-registration .reg-fieldset__legend {
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0 0 0.45rem;
  border-bottom: 1px solid var(--reg-accent-line);
  color: var(--pgm-ink);
  font-size: clamp(1.02rem, 0.5vw + 0.92rem, 1.18rem);
  font-weight: 800;
}

.page-registration .contact-form-field input:not([type="checkbox"]):not([type="radio"]):focus,
.page-registration .contact-form-field select:focus,
.page-registration .contact-form-field textarea:focus {
  border-color: var(--pgm-ink);
  box-shadow: 0 0 0 3px var(--pgm-accent-glow);
}

.page-registration .contact-form-field [aria-invalid="true"] {
  border-color: var(--reg-error-edge);
}

.page-registration .contact-form-field textarea {
  min-height: 96px;
}

.page-registration .reg-field-error {
  margin: 0;
  padding-left: 0.55rem;
  border-left: 3px solid var(--reg-error-edge);
  color: var(--reg-error-ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

.page-registration .reg-count {
  margin: 0;
  color: var(--pgm-ink-soft);
  font-size: 0.82rem;
  text-align: right;
}

.page-registration .reg-count.is-over {
  color: var(--reg-error-ink);
  font-weight: 700;
}

/* After the checkout has started the registration is read-only. */
.page-registration .reg-form.is-locked input:not([type="hidden"]),
.page-registration .reg-form.is-locked select,
.page-registration .reg-form.is-locked textarea {
  cursor: not-allowed;
  opacity: 0.78;
}

.page-registration .reg-step__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: clamp(1.3rem, 3vw, 1.7rem);
}

.page-registration .reg-step__nav .cta-button,
.page-registration .reg-step__nav .cta-button-secondary {
  min-height: 48px;
  padding: 0.85em 1.9em;
}

.page-registration .reg-step__nav .cta-button {
  margin-left: auto;
}

@media (max-width: 480px) {
  .page-registration .contact-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-registration .reg-step__nav > * {
    flex: 1 1 100%;
  }

  .page-registration .reg-step__nav .cta-button {
    order: -1;
    margin-left: 0;
  }
}

/* ----------------------------------------------------------------------------
   6. STEP 2 — children
   ---------------------------------------------------------------------------- */

.page-registration .reg-children {
  display: grid;
  gap: 1.2rem;
}

.page-registration .reg-child {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(1rem, 3vw, 1.4rem);
  border: 1px solid var(--reg-accent-line);
  border-radius: var(--pgm-radius-md);
  background: rgba(255, 255, 255, 0.05);
}

.page-registration .reg-child__legend {
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--pgm-accent), var(--pgm-accent-deep));
  color: var(--pgm-on-accent);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.page-registration .reg-child__head {
  display: flex;
  justify-content: flex-end;
  min-height: 0;
  margin-bottom: 0.4rem;
}

/* Fieldsets used as grid items for a group of controls (date of birth, the
   medical question, extended care). */
.page-registration .reg-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.page-registration .reg-group__legend {
  margin: 0 0 0.45rem;
  padding: 0;
  color: #f4ecff;
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  font-weight: 600;
}

.page-registration .reg-group[aria-invalid="true"] .reg-date select,
.page-registration .reg-group[aria-invalid="true"] .reg-option {
  border-color: var(--reg-error-edge);
}

.page-registration .reg-group__detail {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.page-registration .reg-date {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 0.5rem;
}

.page-registration .reg-date select {
  width: 100%;
  min-width: 0;
  padding-inline: 0.6rem;
}

.page-registration .reg-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.page-registration .reg-options--stacked {
  flex-direction: column;
}

.page-registration .reg-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.6rem 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--pgm-radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--pgm-ink);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-registration .reg-option:hover {
  border-color: var(--reg-accent-line);
}

.page-registration .reg-option:has(input:checked) {
  border-color: var(--reg-accent-ink);
  background: var(--pgm-accent-soft);
}

.page-registration .reg-option:has(input:focus-visible) {
  outline: 3px solid var(--pgm-ink);
  outline-offset: 2px;
}

.page-registration .reg-option input {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  padding: 0;
  accent-color: var(--pgm-accent);
}

.page-registration .reg-option input:focus-visible {
  outline: none;
}

.page-registration .reg-option__body {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
}

.page-registration .reg-option__detail {
  color: var(--pgm-ink-soft);
  font-size: 0.9rem;
  font-weight: 400;
}

.page-registration .reg-option__price {
  flex: none;
  color: var(--reg-accent-ink);
  font-size: 1.1rem;
  font-weight: 900;
}

.page-registration .reg-children__add {
  display: grid;
  justify-items: start;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.page-registration .reg-children__limit {
  margin: 0;
  color: var(--pgm-ink-soft);
  font-size: 0.92rem;
}

/* ----------------------------------------------------------------------------
   7. ORDER SUMMARY
   ---------------------------------------------------------------------------- */

.page-registration .reg-summary {
  margin: 1.4rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--reg-accent-line);
  border-radius: var(--pgm-radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.page-registration .reg-summary__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.page-registration .reg-summary__program {
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.page-registration .reg-summary__lines {
  margin: 0;
}

.page-registration .reg-summary__student {
  margin: 0;
  padding: 0.55rem 0 0.15rem;
  border-top: 1px solid var(--reg-hairline);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.page-registration .reg-summary__line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0;
  color: var(--pgm-ink-soft);
}

.page-registration .reg-summary__line dt,
.page-registration .reg-summary__line dd {
  margin: 0;
}

.page-registration .reg-summary__line dd {
  flex: none;
  font-variant-numeric: tabular-nums;
}

.page-registration .reg-summary__line--total {
  margin-top: 0.45rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--reg-accent-line);
  color: var(--pgm-ink);
  font-size: 1.12rem;
  font-weight: 900;
}

.page-registration .reg-summary__empty,
.page-registration .reg-summary__note {
  margin: 0.5rem 0 0;
  color: var(--pgm-ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ----------------------------------------------------------------------------
   8. STEP 3 — terms, acceptance, drawn signature
   ---------------------------------------------------------------------------- */

/* Long legal copy reads on a light paper surface with dark ink. */
.page-registration .reg-terms {
  max-height: min(28rem, 62vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(43, 34, 51, 0.2);
  border-radius: var(--pgm-radius-md);
  background: var(--reg-paper);
  color: var(--page-ink);
  font-size: 0.95rem;
  line-height: 1.6;
  text-shadow: none;
  overflow-wrap: anywhere;
}

.page-registration .reg .reg-terms:focus-visible {
  outline: 3px solid var(--pgm-ink);
  outline-offset: 2px;
}

.page-registration .reg-terms .reg-terms__heading {
  margin: 1.2rem 0 0.4rem;
  color: var(--page-ink);
  font-size: 1.02rem;
  font-weight: 800;
}

.page-registration .reg-terms p {
  margin: 0 0 0.7rem;
  color: var(--page-ink);
}

.page-registration .reg-terms .reg-terms__list {
  margin: 0 0 0.7rem 1.25rem;
  padding: 0;
}

.page-registration .reg-terms .reg-terms__list li {
  margin: 0.25rem 0;
}

.page-registration .reg-accept {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.3rem;
}

.page-registration .reg-covered {
  padding: 0.85rem 1.05rem;
  border: 1px solid var(--reg-accent-line);
  border-radius: var(--pgm-radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.page-registration .reg-covered__lead {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.page-registration .reg-covered__list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--pgm-ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.page-registration .reg-consent {
  color: var(--pgm-ink);
  font-size: 1rem;
  font-weight: 700;
}

.page-registration .reg-consent input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--pgm-accent);
}

.page-registration .reg-signature {
  display: grid;
  gap: 0.45rem;
  max-width: 40rem;
}

.page-registration .reg-signature__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-registration .reg-signature__label {
  color: #f4ecff;
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  font-weight: 600;
}

/* touch-action:none keeps a finger drawing instead of scrolling the page. */
.page-registration .reg-signature__canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  background: #ffffff;
  cursor: crosshair;
  touch-action: none;
}

.page-registration .reg-signature__canvas[aria-invalid="true"] {
  border: 2px solid var(--reg-error-edge);
}

.page-registration .reg-signature__help {
  margin: 0;
  color: var(--pgm-ink-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.page-registration .reg-link-button {
  min-height: 44px;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--pgm-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.page-registration .reg-link-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-registration .reg-link-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* ----------------------------------------------------------------------------
   9. STEP 4 — price change, card information, messages
   ---------------------------------------------------------------------------- */

.page-registration .reg-price-change {
  margin: 0 0 1.4rem;
  padding: 1rem 1.15rem;
  border: 2px solid var(--reg-error-edge);
  border-radius: var(--pgm-radius-md);
  background: rgba(255, 157, 181, 0.14);
  color: var(--pgm-ink);
  line-height: 1.6;
}

.page-registration .reg-price-change__title {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  font-weight: 900;
}

.page-registration .reg-price-change p {
  margin: 0;
}

.page-registration .reg-price-change__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.page-registration .reg-card__held {
  margin: 0 0 0.75rem;
  color: var(--pgm-ink-soft);
  font-size: 0.95rem;
}

/* Stripe's Payment Element renders in its own iframe on a light surface. */
.page-registration .reg-card__element {
  min-height: 3rem;
  padding: clamp(0.85rem, 2.5vw, 1.1rem);
  border-radius: var(--pgm-radius-md);
  background: var(--reg-paper);
}

.page-registration .reg-card__restart {
  margin-top: 0.9rem;
}

.page-registration .reg-message {
  margin: 0.9rem 0 0;
  padding: 0.7rem 0.9rem;
  border-left: 4px solid var(--reg-error-edge);
  border-radius: 10px;
  background: rgba(255, 157, 181, 0.14);
  color: var(--reg-error-ink);
  font-weight: 600;
  line-height: 1.5;
}

/* ----------------------------------------------------------------------------
   10. RESULT — finalizing / success / delayed
   ---------------------------------------------------------------------------- */

.page-registration .reg-result {
  text-align: center;
}

.page-registration .reg-result:focus,
.page-registration .reg .reg-result:focus-visible {
  outline: none;
}

.page-registration .reg-result__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 1.5vw + 1.05rem, 2.1rem);
  font-weight: 900;
  line-height: 1.2;
}

.page-registration .reg-result__body {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--pgm-ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.page-registration .reg-result__reference {
  margin: 0.9rem auto 0;
  color: var(--pgm-ink-soft);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.page-registration .reg-result__spinner {
  width: 2.6rem;
  height: 2.6rem;
  margin: 0 auto 1rem;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--reg-accent-ink);
  border-radius: 50%;
  animation: reg-spin 0.9s linear infinite;
}

.page-registration .reg-result__actions,
.page-registration .reg-result__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

@keyframes reg-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ----------------------------------------------------------------------------
   11. REDUCED MOTION
   ---------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .page-registration .reg-result__spinner {
    animation: none;
  }

  .page-registration .reg-option,
  .page-registration .reg-header__exit {
    transition: none;
  }
}
