:root {
  color-scheme: light;
  --bg: #f5f5f4; --surface: #fff; --text: #29292b; --muted: #66666a;
  --line: #dededc; --gsm-red: #c81517; --gsm-red-dark: #a50f12; --focus: #9b1c1f;
  --danger: #b42318; --ok: #257249; --radius: 12px;
  font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.5; }
button, input, select { font: inherit; }
a { color: var(--gsm-red-dark); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { width: min(100%, 1080px); margin-inline: auto; padding-inline: 24px; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 100; padding: 10px 14px; border-radius: 7px; background: var(--text); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.site-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.site-brand img { height: 36px; width: auto; }
.site-brand__name { font-weight: 700; border-left: 1px solid var(--line); padding-left: 12px; }
.header-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.compact-form { margin: 0; display: inline; }
.text-button { background: none; border: 0; color: var(--gsm-red-dark); cursor: pointer; text-decoration: underline; padding: 0; }
.language-switcher { display: flex; gap: 4px; }
.language-switcher button { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 4px 8px; cursor: pointer; }
.language-switcher button.active { background: var(--gsm-red); color: #fff; border-color: var(--gsm-red); }
.main-content { flex: 1; padding-block: 40px; }
.auth-card { max-width: 440px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 12px 32px rgba(34,34,36,.07); }
.auth-card--wide { max-width: 640px; }
h1 { margin: 0 0 8px; font-size: 1.6rem; }
.muted { color: var(--muted); }
.form-stack { display: grid; gap: 16px; margin-top: 20px; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 4px; }
.field input[type=text], .field input[type=email], .field input[type=password] { width: 100%; padding: 10px 12px; border: 1px solid #c9c9c6; border-radius: 8px; background: #fff; }
.field--error input { border-color: var(--danger); }
.field-error { color: var(--danger); margin: 4px 0 0; font-size: .9rem; }
.choices { display: flex; gap: 20px; flex-wrap: wrap; }
.choice { display: flex; gap: 8px; align-items: flex-start; font-weight: 400 !important; }
.checks { display: grid; gap: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 16px; }
.company-fields { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; }
.company-fields[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.button { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; text-decoration: none; color: var(--text); font-weight: 700; }
.button--primary { background: var(--gsm-red); border-color: var(--gsm-red); color: #fff; }
.button--primary:hover { background: var(--gsm-red-dark); }
.actions { display: flex; gap: 12px; }
.alert { border-radius: 8px; padding: 12px 14px; margin: 16px 0; }
.alert--error { background: #fdecea; border: 1px solid #f3b8b2; color: var(--danger); }
.alert--ok { background: #e9f6ee; border: 1px solid #b6dfc4; color: var(--ok); max-width: 440px; margin-inline: auto; }
.links { margin-top: 20px; font-size: .95rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 16px 0; }
.facts dt { font-weight: 700; } .facts dd { margin: 0; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 16px 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 560px) { .grid2, .grid3 { grid-template-columns: 1fr; } .auth-card { padding: 22px; } }
