.registration-document { scroll-behavior: auto; }
.reg-mobile-current { display: none; }
.registration-page { --reg-ink: #20231f; --reg-muted: #696d65; color: var(--reg-ink); background: #fff; }
.reg-header { height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 4vw, 72px); border-bottom: 1px solid #e7e9e3; }
.reg-header img { width: 148px; height: auto; }
.reg-exit { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 20px; font-size: .875rem; color: #65675f; }
.reg-exit:hover { color: #20231f; text-decoration: underline; text-underline-offset: 3px; }
.reg-exit[hidden] { display: none; }
.reg-header-links { display: flex; align-items: center; gap: 32px; font-size: .875rem; }
.reg-header .language-switch { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid #e7e9e3; border-radius: 50%; }
.reg-layout { display: grid; grid-template-columns: 330px minmax(0, 620px); gap: clamp(64px, 8vw, 130px); max-width: 1230px; margin: 0 auto; padding: 56px 40px 32px; align-items: start; }
.reg-sidebar { position: sticky; top: 56px; padding-top: 21px; }
.reg-eyebrow { font-size: .75rem; font-weight: 600; line-height: 1.5; letter-spacing: .07em; }
.reg-eyebrow::before { content: ''; display: inline-block; width: 6px; height: 6px; background: #ff5b1f; margin-right: 9px; vertical-align: 2px; }
.reg-sidebar h2 { font-size: 2.25rem; line-height: 1.18; letter-spacing: -.035em; font-weight: 500; margin-top: 24px; }
.reg-progress { padding: 0; margin: 45px 0 0; list-style: none; }
.reg-progress li { position: relative; display: flex; gap: 16px; padding: 0 0 32px; color: #7b7f76; }
.reg-progress li:not(:last-child)::after { content: ''; position: absolute; top: 36px; bottom: 4px; left: 17px; width: 1px; background: #e1e4db; }
.reg-step-number { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #d9ddd3; font-size: .875rem; font-weight: 600; }
.reg-progress strong { display: block; font-size: 1rem; font-weight: 600; padding: 1px 0 5px; }
.reg-progress div > span { display: block; font-size: .875rem; line-height: 1.5; }
.reg-progress [aria-current="step"] { color: var(--reg-ink); }
.reg-progress [aria-current="step"] .reg-step-number { color: #fff; background: var(--reg-ink); border-color: var(--reg-ink); }
.reg-progress [data-complete="true"] .reg-step-number { background: #f0f2ec; color: var(--reg-ink); border-color: #f0f2ec; }
.reg-help { margin-top: 25px; padding-top: 24px; border-top: 1px solid #e7e9e3; font-size: .875rem; }
.reg-help p { color: var(--reg-muted); margin-bottom: 9px; }
.reg-help a { font-weight: 600; }
.reg-main { min-width: 0; }
.reg-panel { min-width: 0; padding: 0; border: 0; margin: 0; }
.reg-step-label { color: var(--reg-muted); font-size: .75rem; font-weight: 600; letter-spacing: .055em; line-height: 1.5; margin-bottom: 12px; }
.registration-page h1 { font-size: clamp(2rem, 2.8vw, 2.5rem); line-height: 1.16; letter-spacing: -.035em; font-weight: 500; }
.registration-page h1:focus { outline: none; }
.reg-intro { color: var(--reg-muted); font-size: 1rem; line-height: 1.65; margin: 15px 0 30px; max-width: 530px; }
.reg-field { margin-bottom: 21px; min-width: 0; }
.reg-field > label, .reg-services > legend { display: block; font-size: .875rem; line-height: 1.5; font-weight: 600; margin-bottom: 8px; }
.reg-field label > span { font-weight: 400; color: var(--reg-muted); }
.reg-field input, .reg-field select, .reg-field textarea { display: block; width: 100%; border: 1px solid #ced3c9; border-radius: 8px; min-height: 50px; padding: 12px 14px; background: #fff; color: var(--reg-ink); font: inherit; font-size: 1rem; line-height: 1.5; box-shadow: 0 1px 2px #20231f04; }
.reg-field select { padding-right: 30px; }
.reg-field textarea { resize: vertical; min-height: 104px; }
.reg-field input:focus, .reg-field select:focus, .reg-field textarea:focus { outline: 2px solid var(--reg-ink); outline-offset: 1px; border-color: var(--reg-ink); }
.reg-field [aria-invalid="true"] { border-color: #c8281e; }
.reg-error { color: #c8281e; font-size: .875rem; line-height: 1.5; margin-top: 7px; }
.reg-hint { color: var(--reg-muted); font-size: .875rem; line-height: 1.5; margin-top: 7px; }
.reg-two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.reg-buttons { display: flex; align-items: center; gap: 16px; margin-top: 29px; }
.reg-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 24px; border: 1px solid var(--reg-ink); border-radius: 999px; color: #fff; background: var(--reg-ink); font: inherit; font-size: 1rem; font-weight: 600; text-align: center; }
.reg-primary:hover { background: #363a33; }
.reg-buttons .reg-primary { flex: 1; }
.reg-back { min-height: 52px; padding: 13px 20px; background: transparent; color: var(--reg-ink); font: inherit; font-size: .875rem; border: 1px solid #d5d9cf; border-radius: 999px; }
.reg-back:hover { background: #f6f7f4; }
.reg-login { text-align: center; margin-top: 22px; font-size: .875rem; color: var(--reg-muted); }
.reg-login a { color: var(--reg-ink); font-weight: 600; margin-left: 5px; }
.reg-services { border: 0; padding: 0; margin: 25px 0 0; }
.reg-services label { display: flex; align-items: center; gap: 12px; font-size: 1rem; line-height: 1.5; border: 1px solid #dce0d6; border-radius: 8px; padding: 14px; margin-top: 10px; cursor: pointer; }
.reg-services label:has(input:checked) { border-color: var(--reg-ink); background: #f6f7f4; }
.reg-services input { width: 18px; height: 18px; margin: 0; accent-color: var(--reg-ink); flex: none; }
.reg-review-section { border-top: 1px solid #e1e4db; padding: 22px 0 8px; }
.reg-review-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.reg-review-heading h2 { font-size: 1.125rem; font-weight: 600; }
.reg-review-heading button { border: 0; padding: 8px 0 8px 16px; background: transparent; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; }
.reg-review-section dl { margin: 0; font-size: .875rem; line-height: 1.55; }
.reg-review-section dl > div { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 20px; padding-bottom: 14px; }
.reg-review-section dt { color: var(--reg-muted); }
.reg-review-section dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.reg-review-note { font-size: .875rem; line-height: 1.65; color: var(--reg-muted); background: #f6f7f4; padding: 18px; border-radius: 8px; margin-top: 14px; }
.reg-complete { padding-top: 30px; }
.reg-complete-mark { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #edf2e8; font-size: 1.6rem; margin-bottom: 30px; }
.reg-complete > p:not(.reg-step-label) { margin-top: 20px; color: var(--reg-muted); font-size: 1rem; line-height: 1.7; }
.reg-bottom { display: flex; gap: 24px; justify-content: space-between; border-top: 1px solid #e7e9e3; margin-top: 40px; padding-top: 22px; color: var(--reg-muted); font-size: .75rem; }
.reg-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: flex-end; }
.reg-bottom nav a, .reg-bottom nav button { display: inline-flex; align-items: center; min-height: 32px; font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.reg-bottom nav a:hover, .reg-bottom nav button:hover { text-decoration: underline; }
.reg-no-script { padding: 18px; background: #f6f7f4; margin-bottom: 24px; }
.reg-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1000px) { .reg-layout { grid-template-columns: 250px minmax(0, 620px); gap: 40px; padding-inline: 28px; } .reg-sidebar h2 { font-size: 1.875rem; } }
@media (max-width: 760px) { .reg-header { height: 76px; } .reg-header img { width: 122px; } .reg-header-links { gap: 16px; } .reg-layout { display: block; max-width: 640px; padding: 24px; } .reg-sidebar { position: static; padding: 0; } .reg-sidebar h2, .reg-eyebrow, .reg-help, .reg-progress div { display: none; } .reg-progress { display: flex; justify-content: space-between; margin: 0 0 28px; } .reg-progress li { padding: 0; flex: 1; } .reg-progress li:last-child { flex: none; } .reg-progress li:not(:last-child)::after { left: 44px; right: 8px; top: 18px; bottom: auto; width: auto; height: 1px; }  }
@media (max-width: 450px) { .reg-layout { padding: 24px 20px; } .reg-two-fields { grid-template-columns: 1fr; gap: 0; } .reg-review-section dl > div { grid-template-columns: 1fr; gap: 4px; } }
@media (max-width: 760px) {
  .reg-header { height: calc(72px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); padding-inline: 20px; }
  .reg-header > a { min-height: 48px; display: flex; align-items: center; }
  .reg-header .language-switch { min-height: 48px; min-width: 48px; }
  .reg-layout { padding-top: 24px; padding-bottom: max(28px, env(safe-area-inset-bottom, 0px)); }
  .reg-progress { gap: 8px; margin-bottom: 12px; }
  .reg-progress li, .reg-progress li:last-child { flex: 1; display: block; padding: 0; min-width: 0; }
  .reg-progress li:not(:last-child)::after { right: 0; }
  .reg-progress div { display: none; }
  .reg-mobile-current:not([hidden]) { display: block; margin-bottom: 24px; font-size: 14px; line-height: 1.5; font-weight: 600; }
  .reg-progress div > span { display: none; }
  .reg-progress strong { font-size: 12px; line-height: 1.4; font-weight: 500; overflow-wrap: break-word; }
  .reg-progress [aria-current="step"] strong { font-weight: 700; }
  .reg-field input, .reg-field select, .reg-field textarea { min-height: 54px; scroll-margin-block: 24px; }
  .reg-field > label, .reg-services > legend { font-size: 15px; }
  .reg-primary, .reg-back { min-height: 54px; }
  .reg-review-heading button { min-height: 48px; }
  .reg-login a, .reg-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .reg-bottom { align-items: center; margin-top: 28px; }
}

/* PRO-299: the form posts for real — status blocks, the honeypot trap, the live line, the opt-in. */
.reg-status { margin-bottom: 24px; padding: 16px 18px; border: 1px solid #d5d9cf; border-left: 4px solid var(--reg-ink); border-radius: 8px; background: #fff; }
.reg-status:focus { outline: 3px solid #ff5b1f; outline-offset: 4px; }
/* PRO-308: the success box is focused only so it is announced — it is not a control, no ring. */
.reg-status-done:focus { outline: none; }
.reg-status p { margin: 0; line-height: 1.6; }
.reg-status p + p { margin-top: 8px; }
.reg-status ul { display: grid; gap: 4px; margin: 8px 0 0; padding-left: 20px; }
.reg-status ul a { display: inline-flex; align-items: center; min-height: 44px; color: var(--reg-ink); text-decoration: underline; text-underline-offset: 3px; }
.reg-status a:not(.reg-primary) { color: var(--reg-ink); text-decoration: underline; text-underline-offset: 3px; }
.reg-status-done { border: 0; padding: 30px 0 0; }
.reg-status-done > p:not(.reg-step-label) { margin-top: 20px; color: var(--reg-muted); font-size: 1rem; line-height: 1.7; }
.registration-page .reg-status[hidden]:target { display: block !important; }
.reg-form [hidden] { display: none; }
.reg-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.reg-opt-in { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 22px; font-size: .9375rem; line-height: 1.5; cursor: pointer; }
.reg-opt-in input { width: 18px; height: 18px; margin: 0; accent-color: var(--reg-ink); flex: none; }
.reg-terms { align-items: flex-start; }
.reg-terms input { margin-top: 3px; }
.reg-terms a { color: var(--reg-ink); text-decoration: underline; text-underline-offset: 3px; }
.reg-check { margin-top: 22px; }
.reg-progress-line { min-height: 1.65em; margin: 14px 0 0; color: var(--reg-muted); font-size: .875rem; line-height: 1.65; overflow-wrap: anywhere; }
.reg-progress-line a { color: var(--reg-ink); text-decoration: underline; text-underline-offset: 3px; }
[data-state="unavailable"] .reg-progress-line, [data-state="submitting"] .reg-progress-line { color: var(--reg-ink); }
.reg-primary:disabled { background: #a9ada4; border-color: #a9ada4; cursor: not-allowed; }
.reg-review-note a { color: var(--reg-ink); text-decoration: underline; text-underline-offset: 3px; }

/* PRO-253: on a phone every step with fields ends with its button in view (390×844, keyboard closed, no
   errors showing). The business step shows in two parts (registration.js); here the step name and the
   intro line go — the heading says both —, the tax number's hint gives way to the lookup's answer, and
   the activity step sits a little tighter. Spacing only: no type size changes. */
@media (max-width: 450px) {
  .reg-mobile-current:not([hidden]), .reg-intro { display: none; }
  .reg-progress { margin-bottom: 24px; }
  .reg-panel h1 { margin-bottom: 24px; }
  .reg-hint:has(~ [data-lookup-status]:not(:empty)) { display: none; }
  .reg-field { margin-bottom: 16px; }
  .reg-services { margin-top: 14px; }
  .reg-services label { padding-block: 11px; margin-top: 8px; }
  .reg-opt-in { margin-top: 10px; }
  .reg-buttons { margin-top: 20px; }
}
