body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 50% 18%, #fff 0%, var(--sabbia) 55%, #dff4f4 100%); }
.registration { width: min(100%, 480px); margin: auto; padding: 18px 20px 28px; padding-top: max(18px, env(safe-area-inset-top)); }
.back { display: inline-block; color: var(--turchese); text-decoration: none; font-size: 14px; padding: 8px 0; }
.brand { text-align: center; }
.brand img { display: block; width: 110px; height: auto; margin: 5px auto 8px; }
.brand h1 { font-size: clamp(25px, 7vw, 34px); margin: 0; letter-spacing: -.045em; }
.brand h1 span { color: var(--turchese); }
.brand p { max-width: 320px; margin: 11px auto 22px; font: italic 19px/1.35 var(--font-slogan); }
.panel { background: #fff; border: 1px solid #d9e9e7; border-radius: 22px; padding: 24px; box-shadow: 0 12px 40px #06475b0c; }
h2 { margin: 0; font-size: 22px; text-align: center; letter-spacing: -.03em; }
.intro { text-align: center; font-size: 14px; color: #56727b; margin: 8px 0 23px; }
.field { margin: 0 0 17px; }
label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 6px; }
input { display: block; width: 100%; background: #f3f7f7; border: 1px solid #b7d1d2; border-radius: 11px; padding: 13px; min-height: 48px; color: var(--mare-profondo); font: inherit; font-size: 16px; }
input:focus { border-color: var(--turchese); background: white; outline: 2px solid #36c2ca70; }
input[aria-invalid="true"] { border-color: #b63b3b; }
small { display: block; font-size: 12px; color: #49636c; margin-top: 6px; line-height: 1.4; }
.field-error { display: none; font-size: 13px; color: #a52626; margin-top: 5px; }
.field-error:not(:empty) { display: block; }
.privacy-note { font-size: 12px; color: #49636c; line-height: 1.5; }
button { display: block; width: 100%; min-height: 50px; background: var(--turchese); color: white; border: 0; border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible, .back:focus-visible { outline: 3px solid var(--mare-profondo); outline-offset: 3px; }
.result { font-size: 14px; line-height: 1.5; border: 1px solid #b7d1d2; border-radius: 10px; padding: 12px; background: #edf9f8; }
.result.error { background: #fff2ef; border-color: #e7b6ad; color: #902c26; }
.preview { text-align: center; color: #56727b; font-size: 12px; margin: 20px 0 0; }
@media (max-width: 350px) { .registration { padding-inline: 12px; } .panel { padding: 18px; } }
