/* SIQN colours and type, as on the paper's site. */
:root {
  --navy: #0d2444; --blue: #1c4f8f; --page: #f7f7f5; --rule: #e6e5df; --muted: #6b6f76; --ink: #14161a; --red: #b3261e;
  --head: "Playfair Display", Georgia, serif; --body: "Lora", Georgia, serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font: 1.0625rem/1.6 var(--body); }
a { color: var(--blue); }
.top { background: var(--white, #fff); border-bottom: 1px solid var(--rule); padding: 1rem; text-align: center; }
.top img { height: 56px; width: auto; }
.wrap { max-width: 40rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.card { background: #fff; border: 1px solid var(--rule); padding: clamp(1.2rem, 4vw, 2.2rem); }
h1 { margin: 0 0 0.4rem; font: 700 clamp(1.8rem, 5vw, 2.4rem)/1.1 var(--head); color: var(--navy); }
h2 { margin: 0 0 0.5rem; font: 700 1.2rem/1.2 var(--head); color: var(--navy); }
.lead { margin: 0 0 1.4rem; color: var(--muted); }
label { display: block; margin: 1rem 0 0.3rem; font-weight: 600; font-size: 0.95rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 48px; padding: 0.6rem 0.8rem; border: 1px solid #b9bcc2; border-radius: 2px; font: inherit; background: #fff;
}
textarea { resize: vertical; }
.hint { margin: -0.1rem 0 0.4rem; font-size: 0.85rem; color: var(--muted); }
.choice { margin: 1.2rem 0 0; padding: 0; border: 0; min-width: 0; }
.choice legend { padding: 0; font-weight: 600; font-size: 0.95rem; }
.opt { display: flex; gap: 0.7rem; align-items: flex-start; margin: 0.5rem 0 0; font-weight: 400; font-size: 0.95rem; cursor: pointer; }
.opt input { flex: none; width: 1.3rem; height: 1.3rem; margin-top: 0.2rem; accent-color: var(--navy); }
.agree-box { margin-top: 1.2rem; }
input:focus-visible, textarea:focus-visible, .send:focus-visible, .drop input:focus-visible + .drop-label { outline: 3px solid var(--blue); outline-offset: 2px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notes { margin: 1.6rem 0 1.2rem; padding: 1rem 1.2rem; background: var(--page); border-left: 4px solid var(--navy); }
.notes ul { margin: 0; padding-left: 1.1rem; font-size: 0.95rem; }
.notes li + li { margin-top: 0.35rem; }
.drop { position: relative; border: 2px dashed #b9bcc2; padding: 1.4rem 1rem; text-align: center; background: #fff; }
.drop.is-over { border-color: var(--blue); background: #eef3fa; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-label { margin: 0; cursor: pointer; }
.drop-button { display: inline-block; min-height: 48px; padding: 0.7rem 1.4rem; background: var(--navy); color: #fff; font-weight: 600; }
.drop-hint { display: block; margin-top: 0.5rem; font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.files { list-style: none; margin: 0.8rem 0 0; padding: 0; }
.files li { display: grid; grid-template-columns: 1fr auto auto; gap: 0.6rem; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--rule); font-size: 0.92rem; }
.files .name { overflow-wrap: anywhere; }
.files .size, .files .state { color: var(--muted); white-space: nowrap; }
.files .is-bad .state, .files .is-failed .state { color: var(--red); font-weight: 600; }
.files .is-done .state { color: #1d6b35; font-weight: 600; }
.files button { min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; }
.files li:has(.state:not(:empty)) button { display: none; }
.agree { margin: 1.2rem 0 0.4rem; font-size: 0.9rem; color: var(--muted); }
.error { margin: 0.4rem 0; color: var(--red); font-weight: 600; }
.error:empty { display: none; }
.send { min-height: 52px; padding: 0.8rem 2rem; border: 0; background: var(--blue); color: #fff; font: 600 1.05rem var(--body); cursor: pointer; }
.send:disabled { opacity: 0.6; cursor: progress; }
.fallback { margin: 1rem 0 0; font-size: 0.9rem; color: var(--muted); }
.done:focus { outline: none; }
.foot { padding: 1.5rem 1rem 2.5rem; text-align: center; font-size: 0.85rem; color: var(--muted); }
