:root {
  color-scheme: light;
  font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #25233b;
  background: #f7f6f2;
  line-height: 1.55;
  font-synthesis: none;
  --brand: #5b55e7;
  --brand-dark: #4540bc;
  --muted: #605d70;
  --line: #d6d3df;
  --error: #9c233d;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input { font: inherit; }
a { color: var(--brand-dark); text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 4px; }
.page { width: min(1180px, 100%); margin: 0 auto; padding: 0 48px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 0 34px; }
.brand { display: inline-flex; gap: 10px; align-items: center; color: #25233b; text-decoration: none; font-size: 22px; font-weight: 750; letter-spacing: -0.8px; }
.brand img { width: 49px; height: 49px; }
.brand-hub { margin-left: 4px; font-weight: 500; }
.coming-soon { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.coming-soon > span { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
main { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); gap: 70px; align-items: center; padding: 18px 0 48px; }
.welcome { padding: 0 0 8px; }
.eyebrow { margin: 0 0 17px; color: var(--brand-dark); font-size: 11px; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(46px, 5.05vw, 68px); line-height: 1.04; letter-spacing: -0.065em; font-weight: 750; }
h1 span { color: var(--brand); }
.intro { margin: 25px 0 0; max-width: 360px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.invitation { font-size: 15px; font-weight: 650; margin: 15px 0 0; }
.registration-card { background: #fff; border: 1px solid #e4e1e9; border-radius: 22px; padding: 32px; box-shadow: 0 8px 32px #25233b06; min-width: 0; }
.card-heading .eyebrow { margin-bottom: 10px; font-size: 10px; }
h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.04em; margin: 0 0 12px; }
.card-heading > p:last-child { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.field { margin-bottom: 18px; min-width: 0; }
label, .handles-group > legend { display: block; font-weight: 650; font-size: 13px; margin-bottom: 7px; }
.field-note { color: var(--muted); font-weight: 400; font-size: 11px; margin-left: 6px; }
input { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; color: #25233b; background: #fff; border: 1px solid #8b869b; border-radius: 8px; font-size: 16px; line-height: 1.5; transition: border-color 120ms ease; }
input::placeholder { color: #777184; opacity: 1; }
input:hover { border-color: #777184; }
input:focus { border-color: var(--brand-dark); }
input[aria-invalid="true"] { border: 2px solid var(--error); padding: 9px 11px; }
.field-hint { font-size: 11px; line-height: 1.65; color: var(--muted); margin: 6px 0 0; }
.handles-group { margin-top: 5px; }
.handles-group > .field-hint:first-of-type { margin: 0 0 13px; }
.handles-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.handle-field { margin: 0; }
.handle-field label { font-size: 11px; margin-bottom: 4px; color: var(--muted); }
.handle-field input { min-height: 44px; padding: 8px 12px; }
.handle-field input[aria-invalid="true"] { padding: 7px 11px; }
.submit-button { width: 100%; min-height: 50px; border: 0; border-radius: 9px; margin-top: 22px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: white; background: var(--brand-dark); font-weight: 650; font-size: 14px; cursor: pointer; }
.submit-button > span:last-child { font-size: 20px; line-height: 1; }
.submit-button:hover { background: #34309b; }
.submit-button:disabled { cursor: wait; background: #6b66b7; }
.form-note { color: var(--muted); margin: 16px 0 0; font-size: 11px; line-height: 1.75; }
.form-status:empty { display: none; }
.form-status { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.error-summary { border-left: 3px solid var(--error); background: #fff4f6; color: #74172b; border-radius: 0 6px 6px 0; padding: 13px 15px; margin-bottom: 20px; font-size: 13px; overflow-wrap: anywhere; }
.error-summary p { font-weight: 650; margin: 0; }
.error-summary ul { margin: 8px 0 0; padding-left: 18px; }
.error-summary ul:empty { display: none; }
.error-summary a { color: #74172b; display: inline-block; padding: 5px 0; }
.field-error { margin: 6px 0 0; color: var(--error); font-size: 12px; line-height: 1.5; }
.success-panel { padding: 20px 0 24px; }
.success-panel p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.success-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--brand-dark); background: #efedff; font-size: 23px; margin-bottom: 20px; }
.registration-card:has(.success-panel:not([hidden])) .card-heading { display: none; }
.noscript-message { color: var(--error); font-size: 13px; }
.site-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 19px 0 26px; color: var(--muted); font-size: 11px; }
.site-footer > span:first-child { font-weight: 650; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 10px 16px; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
@media (min-width: 1100px) { .handles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .handle-field input { font-size: 13px; } }
@media (max-width: 900px) { .page { padding: 0 28px; } main { gap: 36px; } h1 { font-size: 49px; } .registration-card { padding: 25px; } }
@media (max-width: 700px) {
  .page { width: min(540px, 100%); padding: 0 22px; }
  .site-header { padding: 22px 0 30px; }
  .brand { font-size: 19px; gap: 5px; }
  .brand img { width: 42px; height: 42px; }
  .coming-soon { font-size: 9px; gap: 6px; letter-spacing: 0.06em; }
  main { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 8px 0 32px; }
  h1 { font-size: clamp(44px, 10.7vw, 57px); }
  .welcome { padding: 0; }
  .welcome .eyebrow { font-size: 10px; margin-bottom: 14px; }
  .intro { font-size: 14px; margin-top: 19px; }
  .invitation { font-size: 14px; margin-top: 11px; }
  .registration-card { padding: 25px 22px; border-radius: 18px; }
  h2 { font-size: 27px; }
  .site-footer { font-size: 10px; flex-wrap: wrap; }
}
@media (max-width: 360px) { .page { padding: 0 16px; } .registration-card { padding: 22px 17px; } .brand { font-size: 17px; } .coming-soon { font-size: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { .registration-card, input, .submit-button { border: 1px solid CanvasText; } .error-summary { border: 2px solid CanvasText; } }
