:root { --brand: #ed1c24; --brand-dark: #bd1016; --ink: #171717; --muted: #60646c; --line: #d9dadd; --surface: #fff; --background: #f5f5f3; --error: #b42318; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--background); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
.site-header { height: 82px; display: flex; align-items: center; justify-content: center; padding: 12px 24px; background: #fff; border-bottom: 1px solid #e8e8e6; }
.brand { display: inline-flex; border-radius: 50%; }
.brand img { display: block; width: 58px; height: 58px; }
.brand:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.page-shell { width: min(760px, calc(100% - 32px)); margin: 48px auto 72px; }
.intro { margin-bottom: 28px; }
h1 { max-width: 680px; margin: 0 0 14px; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.intro p { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.registration-card { padding: 32px; background: var(--surface); border: 1px solid #e6e6e3; border-radius: 18px; box-shadow: 0 14px 38px rgba(20,20,20,.07); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
.field { min-width: 0; margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 7px; font-weight: 700; }
label span, .required-note span { color: var(--brand-dark); }
input, select { width: 100%; min-height: 48px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
input:hover, select:hover { border-color: #999da4; }
input:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid rgba(237,28,36,.28); outline-offset: 2px; border-color: var(--brand); }
[aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 20px; margin: 5px 0 0; color: var(--error); font-size: .86rem; }
.checkbox-row { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; }
.checkbox-row input { width: 20px; min-height: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--brand); }
.checkbox-row label { margin: 0; font-weight: 400; }
.required-note { margin: 0 0 18px; color: var(--muted); font-size: .88rem; }
button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px 20px; border: 0; border-radius: 9px; color: #fff; background: var(--brand); font: inherit; font-weight: 700; cursor: pointer; }
button:hover { background: var(--brand-dark); }
button:disabled { cursor: wait; opacity: .72; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
button.loading .spinner { display: block; }
.status { margin-bottom: 22px; padding: 13px 15px; border-radius: 8px; font-weight: 700; }
.status.success { color: #12633a; background: #e9f8ef; border: 1px solid #b9e4c9; }
.status.duplicate { color: #765607; background: #fff8df; border: 1px solid #ead694; }
.status.error { color: var(--error); background: #fff0ee; border: 1px solid #f2c2bc; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .site-header { height: 70px; padding: 9px 18px; } .brand img { width: 50px; height: 50px; } .page-shell { margin-top: 32px; } .registration-card { padding: 22px 18px; border-radius: 14px; } .fields { grid-template-columns: 1fr; } .field, .field.full { grid-column: 1; } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
