:root {
  --ink: #243139;
  --copy: #4e5a62;
  --muted: #858985;
  --accent: #b95545;
  --line: #e3dfd7;
  --paper: #ffffff;
  --canvas: #f3f1ec;
  --panel: #faf9f6;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--canvas); }

body {
  min-height: 100vh;
  margin: 0;
  padding: 38px 18px;
  background: var(--canvas);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }

.page {
  width: min(600px, 100%);
  margin: 0 auto;
  background: var(--paper);
}

.header {
  height: 84px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.logo {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.04em;
  text-decoration: none;
}

.logo span { color: var(--accent); }

.document-type,
.status-label {
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .16em;
}

.document-type { color: var(--muted); }

main { padding: 48px; }

.status-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
}

.status-label span {
  width: 6px;
  height: 18px;
  background: var(--accent);
}

h1 {
  max-width: 470px;
  margin: 29px 0 21px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(37px, 7vw, 45px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 400;
}

.intro {
  margin: 0;
  color: var(--copy);
  font-size: 15px;
  line-height: 1.65;
}

.signup {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.signup h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 400;
}

.signup > p {
  margin: 0;
  color: var(--copy);
  font-size: 13px;
  line-height: 1.65;
}

.notify-form {
  margin-top: 23px;
}

.notify-form label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.input-row { display: flex; }

.input-row input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #d8d5ce;
  border-right: 0;
  border-radius: 0;
  outline: none;
  background: #fff;
  color: var(--ink);
}

.input-row input:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.input-row input::placeholder { color: #a4a5a1; }

.input-row button {
  flex: none;
  height: 50px;
  padding: 0 19px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.input-row button span { margin-left: 8px; }
.input-row button:hover { background: #34444d; }
.input-row button:disabled { opacity: .6; cursor: wait; }

.captcha-field {
  margin-top: 16px;
}

.captcha-field[hidden] { display: none; }

.captcha-field input {
  width: 120px;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #d8d5ce;
  border-radius: 0;
  outline: none;
  background: #fff;
  color: var(--ink);
}

.captcha-field input:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.form-note,
.form-status {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.form-status { min-height: 15px; color: #47715e; font-weight: 700; }
.form-status.error { color: var(--accent); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }

footer {
  padding: 28px 48px 31px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.logo-small { font-size: 12px; }

footer p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 560px) {
  body { padding: 0; }
  .page { min-height: 100vh; }
  .header { height: 72px; padding: 0 24px; }
  main { padding: 38px 24px; }
  .input-row { display: block; }
  .input-row input { border-right: 1px solid #d8d5ce; }
  .input-row button { width: 100%; margin-top: 9px; }
  footer { padding: 25px 24px 28px; }
}
