:root {
  --paper: #ffffff;
  --ink: #111111;
  --muted: #6b6b6b;
  --rule: #d9d9d9;
  --accent: #b8391f;   /* same terracotta as the main site */
  --type: "Courier Prime", "Courier New", Courier, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--type);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ink); color: var(--paper); }

a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.sheet {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 96px;
}
.top a { text-decoration: none; color: var(--ink); }
.top a:hover { text-decoration: underline; }

h1 {
  font-weight: 700;
  font-size: clamp(44px, 9vw, 72px);
  letter-spacing: 0.08em;
  line-height: 1;
}
.sub { margin-top: 16px; color: var(--muted); }

.question {
  margin: 72px 0 48px;
  font-size: clamp(22px, 3.4vw, 28px);
  line-height: 1.35;
  min-height: 2.7em;
}
.caret {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.story p + p { margin-top: 1.2em; }

.timeline {
  list-style: none;
  margin: 56px 0;
  border-top: 1px dashed var(--ink);
}
.timeline li {
  display: grid;
  grid-template-columns: 19ch 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 15px;
}
.timeline span { color: var(--muted); }
.timeline b { color: var(--accent); font-weight: 700; }

.cta { font-size: 20px; }
.cta a { text-decoration: underline; text-underline-offset: 4px; }
.cta a:hover { color: var(--accent); }

hr { border: 0; border-top: 1px dashed var(--ink); margin: 72px 0 48px; }

h2 { font-size: 24px; font-weight: 700; }
.note { color: var(--muted); margin: 4px 0 32px; }

form { display: flex; flex-direction: column; gap: 32px; }

fieldset { border: 0; display: flex; flex-direction: column; gap: 16px; }
legend { font-weight: 700; margin-bottom: 12px; }
legend i { font-weight: 400; color: var(--muted); }

label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }

input[type="text"], input[type="email"], input[type="url"], textarea {
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 6px 0;
  outline: none;
}
textarea {
  border: 1px solid var(--ink);
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.5;
}
input::placeholder, textarea::placeholder { color: #b5b5b5; }
input:focus, textarea:focus { border-color: var(--accent); }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
}
.check input {
  appearance: none;
  flex: none;
  width: 18px; height: 18px;
  margin-top: 3px;
  border: 1px solid var(--ink);
  display: grid;
  place-content: center;
  cursor: pointer;
}
.check input:checked::after { content: "x"; font-family: var(--type); font-weight: 700; font-size: 15px; line-height: 1; margin-top: -2px; }
.check input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { font-size: 14px; color: var(--muted); }
.other-field[hidden] { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

button {
  align-self: flex-start;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  background: none;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
}
button:hover { color: var(--accent); }
button:disabled { opacity: 0.5; cursor: wait; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.status { font-size: 15px; min-height: 1.5em; }
.status.error { color: var(--accent); }

.foot { margin-top: 96px; font-size: 13px; color: var(--muted); }

@media (max-width: 520px) {
  .top { margin-bottom: 64px; }
  .choices { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .caret { animation: none; }
  html { scroll-behavior: auto; }
}
