:root {
  color-scheme: light;
  font: 16px/1.5 system-ui, sans-serif;
  color: #253342;
  background: #f5f7fa;
}
* { box-sizing: border-box; }
body { margin: 0; }
.layout { min-height: 100vh; display: grid; grid-template-columns: minmax(270px, 2fr) minmax(380px, 3fr); }
.brand { display: grid; align-content: space-between; min-height: 100%; padding: clamp(26px, 6vw, 92px); background: #073455; color: white; border-bottom: 5px solid #bf1221; }
.logo { display: block; width: 84px; height: auto; border-radius: 8px; background: white; }
.logo { display: block; width: 84px; height: auto; border-radius: 8px; background: white; }
.brand-message p { color: #c8e4f8; margin: 0 0 12px; }
h1 { margin: 0; max-width: 10ch; font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.055em; line-height: 1.03; }
.content { display: grid; place-items: center; padding: 32px 20px; }
.registration { width: min(100%, 500px); background: white; border: 1px solid #d5dfe8; border-radius: 20px; padding: clamp(24px, 5vw, 44px); }
.environment { color: #004b80; font-weight: 700; font-size: .85rem; margin-top: 0; }
h2 { color: #073455; margin: 0; font-size: 2rem; line-height: 1.2; letter-spacing: -.03em; }
label { display: block; font-weight: 700; margin: 14px 0 5px; }
input, button { font: inherit; border-radius: 9px; min-height: 44px; }
input { width: 100%; min-width: 0; padding: 9px 12px; border: 1px solid #a6b7c6; }
.phone { display: flex; align-items: center; gap: 10px; }
button { width: 100%; margin-top: 18px; background: #bf1221; color: white; border: 0; cursor: pointer; font-weight: 700; }
:focus-visible { outline: 3px solid #004b80; outline-offset: 3px; }
#form-error { color: #9b1420; }
#form-error:empty { display: none; }
dt { font-weight: 700; }
dd { margin: 0 0 8px; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .layout { grid-template-columns: 1fr; }
  .brand { gap: 24px; }
  h1 { max-width: 17ch; }
}
