* { box-sizing: border-box; }
body {
  margin: 0; position: relative; isolation: isolate; min-height: 100vh; color: #17251e;
  background: radial-gradient(ellipse at 48% 46%, #fbfdfb 0, #f1f7f1 62%, #e8f4e9 100%);
  font: 15px/1.45 Inter, system-ui, sans-serif;
}
body::before, body::after { content: ""; pointer-events: none; position: fixed; z-index: -1; opacity: .82; }
body::before { inset: 0 0 auto auto; width: min(32vw,480px); height: 230px; border-radius: 0 0 0 100%; background: linear-gradient(143deg,#e6f8e9,#d0efd4); transform: skewY(9deg); transform-origin: right top; }
body::after { inset: auto auto 0 0; width: min(50vw,780px); height: 395px; background: linear-gradient(38deg,#f7fcf7,#d8f0dc 58%,#eaf8eb 75%,transparent); border-radius: 0 100% 0 0; }
a { color: #137640; }
.registration-shell { width: min(100% - 32px, 728px); margin: auto; padding: clamp(24px,4vh,43px) 0 38px; }
.brand { display: flex; justify-content: center; align-items: center; width: fit-content; margin: 0 auto 34px; text-decoration: none; }
.brand img { display: block; width: min(190px, 52vw); height: auto; }
.registration-card { min-width: 0; padding: clamp(24px,4vw,53px); padding-top: clamp(20px,3vw,30px); border: 1px solid #fff; border-radius: 37px; background: #ffffffad; box-shadow: 0 18px 55px #153f2421; text-align: center; }
.steps { display: flex; justify-content: center; align-items: center; gap: clamp(8px,2.2vw,24px); margin: 0 auto 24px; font-size: clamp(12px,1.2vw,16px); color: #586e5f; white-space: nowrap; }
.steps span { display: flex; align-items: center; gap: 9px; }
.steps b { display: grid; place-items: center; flex: 0 0 auto; width: 29px; height: 29px; border-radius: 50%; background: #e7f3e9; color: #203a2a; }
.steps .active { font-weight: 700; color: #17251e; }
.steps .active b { background: #149348; color: #fff; }
.steps #securityStep::after { content: ""; display: block; width: clamp(18px,4vw,72px); height: 2px; margin-left: 10px; background: #a9d8b3; }
.verification-art { width: 220px; height: clamp(105px,16vh,153px); margin: 0 auto 10px; position: relative; }
.verification-shield { width: auto; height: 100%; margin: auto; display: flex; justify-content: center; }
.verification-shield svg { height: 100%; filter: drop-shadow(0 8px 6px #22763c5d); }
.verification-art i { position: absolute; inset: 40% 1% 29%; z-index: 1; border: 2px solid #b6e7c4ab; border-top-color: #e5f8e965; border-radius: 50%; transform: rotate(-13deg); }
.verification-art b { position: absolute; right: 9%; top: 1%; color: #22a34e; font-size: 28px; font-weight: 400; }
.registration-card:has(#registrationForm:not([hidden])) .verification-art { display: none; }
h1 { margin: 0; font-size: clamp(26px,4vw,47px); font-weight: 790; line-height: 1.16; letter-spacing: -.046em; }
p { color: #5d6988; }
#stepDescription { margin: 8px 0 19px; font-size: clamp(15px,1.6vw,22px); font-weight: 500; }
.account-email { display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; max-width: 100%; margin: 0 auto 18px; padding: 11px 24px; border-radius: 30px; background: #eaf5ec; color: #17251e; font-weight: 650; font-size: clamp(13px,1.45vw,20px); overflow-wrap: anywhere; }
.account-email:empty, #registrationMessage:empty, #registrationChallenge:empty { display: none; }
.account-email::before { content: "✉"; font-size: 1.25em; color: #168747; }
#registrationChallenge { min-height: 65px; max-width: 100%; overflow: hidden; margin-bottom: 12px; }
#registrationMessage { margin: 18px 0; font-size: clamp(13px,1.25vw,17px); overflow-wrap: anywhere; }
#registrationMessage[data-error] { padding: 15px 17px; border: 1px solid #ffc3cd; border-radius: 15px; background: #ffe8ed; color: #9d1826; font-weight: 650; }
#registrationMessage[data-error]::before { content: "!"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border: 2px solid currentColor; border-radius: 50%; font-weight: 800; line-height: 1; vertical-align: middle; }
form { text-align: left; }
form > label { display: block; margin: 15px 0; color: #25314c; font-weight: 650; }
input:not([type=checkbox]), select { display: block; width: 100%; min-width: 0; border: 1px solid #cbd5e6; border-radius: 10px; padding: 11px; font: inherit; margin-top: 6px; background: #fff; color: #14203a; }
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid #acd9b8; outline-offset: 3px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 450; }
.check input { margin-top: 4px; flex: 0 0 auto; width: 17px; height: 17px; }
.check small { display: block; color: #66738d; }
button { display: inline-flex; justify-content: center; align-items: center; gap: 13px; border: 1px solid #167b41; background: linear-gradient(155deg,#24b250,#12843c 48%,#07652f); color: #fff; border-radius: 14px; padding: 12px 15px; min-height: 53px; font: 720 clamp(14px,1.5vw,19px) Inter,system-ui,sans-serif; cursor: pointer; width: 100%; }
button svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
button:disabled { opacity: .6; cursor: wait; }
.secondary { background: transparent; color: #203b2a; border-color: #b8cbbd; margin-top: 15px; }
.footnote { margin: 21px 0 0; font-size: clamp(12px,1.2vw,15px); text-align: center; }
[hidden] { display: none !important; }
@media(max-width: 540px) {
  .registration-shell { width: calc(100% - 24px); padding-top: 21px; }
  .brand { margin-bottom: 20px; }
  .registration-card { border-radius: 25px; padding: 19px; }
  .steps { margin-bottom: 14px; }
}
