:root {
  color-scheme: light;
  --bg: #ffffff;
  --text: #000000;
  --link: #0000ee;
  --link-visited: #551a8b;
  --rule: #000000;
  --muted: #444444;
  --error: #c00000;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  padding-block: 24px 32px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  background: var(--bg);
  color: var(--text);
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.3;
}
a, a.classic { color: var(--link); text-decoration: underline; }
a:visited { color: var(--link-visited); }
.page { max-width: 820px; margin: 0 auto; }

/* Letterspaced heading between two solid rules */
.bar-heading {
  font-family: "Antonio", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  font-size: clamp(20px, 5vw, 30px);
  letter-spacing: 0.5em;
  padding: 16px 0 16px 0.5em;
  margin: 0 auto 30px;
  max-width: 640px;
  color: var(--text);
}
.bar-heading::before, .bar-heading::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--rule);
}
.bar-heading::before { top: 0; }
.bar-heading::after { bottom: 0; }

.top { margin: 80px 0 260px; text-align: center; }
.notice { margin: 0 0 26px; }

/* The form – deliberately plain, period-correct controls */
form { margin: 0 0 30px; }
.row {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 6px 14px;
  align-items: center;
  margin-bottom: 12px;
}
.row label { text-align: right; }
input[type="text"], input[type="email"] {
  width: 100%;
  max-width: 380px;
  font: 16px "Courier New", Courier, monospace;
  padding: 4px 5px;
  color: #000;
  background: #fff;
  border: 2px inset #9a9a9a;
  border-radius: 0;
}
input:focus-visible, button:focus-visible { outline: 2px dotted var(--link); outline-offset: 2px; }
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0 18px 264px;
}
.consent input { margin-top: 3px; flex: none; }
.actions { margin-left: 264px; }
button {
  font: 16px Arial, Helvetica, sans-serif;
  color: #000;
  background: #c0c0c0;
  border: 2px outset #f2f2f2;
  border-radius: 0;
  padding: 4px 14px;
  cursor: pointer;
}
button:active { border-style: inset; }
button[disabled] { color: #6b6b6b; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.3em; margin: 14px 0 0 264px; }
.status.error { color: var(--error); }
.received { text-align: center; margin: 10px 0 34px; }
.received p { margin: 0 0 8px; }
.received .home { margin-top: 22px; }
.ref { font-family: "Courier New", Courier, monospace; font-size: 15px; color: var(--muted); }

hr { border: 0; border-top: 2px solid var(--rule); margin: 26px 0 14px; }
footer { font-size: 12px; }
footer p { margin: 0 0 10px; }

@media (max-width: 640px) {
  .row { grid-template-columns: 1fr; }
  .row label { text-align: left; }
  input[type="text"], input[type="email"] { max-width: none; }
  .consent, .actions, .status { margin-left: 0; }
}
