@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/archivo-latin.woff2) format("woff2");
}

:root {
  --red: #E51721;
  --ink: #000;
  --paper: #fff;
  --line: #000;
  --muted: #5c5c5c;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 "Archivo", system-ui, sans-serif;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
}
main {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(48px, 10vh, 120px) 20px 80px;
}
.logo { display: block; max-width: 100%; width: 100%; height: auto; margin-bottom: clamp(56px, 9vh, 96px); }
h1.brand { margin: 0; }
h1, h2 {
  font-stretch: 125%;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 28px;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field label em { font-style: normal; color: var(--muted); font-weight: 400; }
input, textarea {
  width: 100%;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  padding: 8px 0;
}
textarea { min-height: 120px; resize: vertical; border: 2px solid var(--line); padding: 10px 12px; }
input:focus, textarea:focus { outline: none; border-color: var(--red); }
button {
  font: inherit;
  font-stretch: 125%;
  font-weight: 700;
  background: var(--red);
  color: #fff;
  border: 0;
  padding: 16px 28px;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
}
button:hover { background: #c4121b; }
button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
footer {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  padding: 28px 20px;
}
footer .inner { max-width: 560px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: #fff; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 16px 0 0; min-height: 1.5em; }
.status.ok { color: var(--ink); font-weight: 600; }
.status.err, .field-error { color: #B3121A; }
.field-error { display: block; font-size: 14px; margin-top: 6px; }
[aria-invalid="true"] { border-color: #B3121A; }
button[disabled] { opacity: .7; cursor: progress; }

main a { color: inherit; }
