:root {
  font-family: Arial, Helvetica, sans-serif;
  color-scheme: light;
  background: #292c31;
  color: #30353b;
  --surface: #f6f6f7;
  --line: #c7cacf;
  --muted: #59636e;
  --accent: #c90e19;
}
* { box-sizing: border-box; }
body { margin: 0; padding: 28px 16px; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; }
[hidden] { display: none !important; }
.wrap { width: min(100%, 420px); }
.brand { display: flex; align-items: center; gap: 12px; color: #f5f5f6; margin: 0 0 20px 4px; font-size: 19px; }
.brand img { flex: none; }
.brand small { display: block; color: #c0c4ca; font-size: 11px; margin-top: 3px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 5vw, 30px); box-shadow: 0 14px 42px #0004; }
h1 { margin: 0 0 10px; font-size: clamp(23px, 5vw, 30px); letter-spacing: -.025em; }
p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 20px; }
form { display: grid; gap: 15px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
input:not([type=checkbox]) {
  width: 100%; min-width: 0; min-height: 43px; padding: 9px 11px;
  border: 1px solid #aeb4bc; background: white; border-radius: 5px; color: #30353b; font: inherit; font-size: 16px; font-weight: 400;
}
.check { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
button {
  cursor: pointer; width: 100%; min-height: 43px; padding: 9px 14px; margin-top: 2px;
  background: var(--accent); color: white; border: 1px solid #a80b15; border-radius: 5px; font: inherit; font-size: 14px; font-weight: 700;
}
button:hover { background: #ad0b16; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.alert { padding: 10px 12px; background: #f7e7ea; color: #8a1019; border-radius: 4px; border: 1px solid #e5b8bd; }
.notice { margin-bottom: 0; }
