* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: #f5f3ef;
  color: #101e2e;
  font: 16px/1.5 Inter, system-ui, sans-serif;
}
main {
  width: min(100%, 500px);
  padding: clamp(22px, 6vw, 36px);
  border: 1px solid #e5dfd7;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 55px #18263514;
}
nav { display: flex; justify-content: flex-end; }
a { color: #234566; text-underline-offset: 3px; }
img { display: block; width: min(100%, 340px); height: auto; margin: 6px auto 16px; }
h1 { margin: 0 0 6px; font-size: 32px; line-height: 1.2; }
.note { margin: 0 0 20px; color: #536173; }
form { display: grid; gap: 8px; }
label { font-weight: 650; }
input, button { min-height: 48px; font: inherit; border-radius: 9px; width: 100%; }
input { padding: 10px 12px; border: 1px solid #cdd7e3; color: inherit; background: #f3f7fc; margin-bottom: 8px; }
button { margin-top: 2px; border: 0; color: white; background: #a81420; font-weight: 700; cursor: pointer; }
button:hover { background: #8a101b; }
:focus-visible { outline: 3px solid #2d6092; outline-offset: 3px; }
.error { color: #92141d; background: #fff0f1; padding: 8px 12px; border-radius: 8px; }
