* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f3f0ec;
  color: #211c1a;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}
header,
footer {
  background: #171313;
  color: #fff;
  padding: 22px max(24px, calc((100vw - 940px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
header a,
footer a {
  color: inherit;
}
main {
  max-width: 940px;
  margin: 0 auto;
  padding: 52px 24px;
}
h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 780px;
  margin: 12px 0 20px;
}
h2 {
  font-size: 24px;
  line-height: 1.25;
}
.lead {
  font-size: 23px;
}
.opening {
  display: grid;
  grid-template-columns: 88px 1fr;
  column-gap: 22px;
  align-items: center;
}
.opening > p {
  grid-column: 1 / -1;
}
.opening h1 {
  margin-top: 8px;
  margin-bottom: 0;
}
.headshot {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #d9d2cc;
}
.eyebrow {
  color: #a72d22;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
a {
  color: #a42e24;
}
form,
#confirm {
  margin-top: 32px;
  padding: 28px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #d9d2cc;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
  min-width: 0;
}
legend {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}
label {
  display: block;
  font-size: 15px;
  margin-bottom: 14px;
}
label span,
.hint {
  color: #615951;
  font-size: 14px;
}
input:not([type="checkbox"]):not([type="radio"]),
textarea {
  display: block;
  width: 100%;
  font: inherit;
  border: 1px solid #978d85;
  border-radius: 6px;
  padding: 12px;
  margin-top: 5px;
}
textarea {
  resize: vertical;
}
button,
.note-actions a,
.share-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b93225;
  color: #fff;
  border: 1px solid #b93225;
  border-radius: 7px;
  font: inherit;
  font-weight: 600;
  padding: 13px 18px;
  cursor: pointer;
  text-align: center;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  font-size: 15px;
  line-height: 1.7;
  padding: 22px;
  background: #f5f2ee;
  border-left: 3px solid #b93225;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.consent input {
  margin-top: 5px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.when {
  margin-top: 22px;
  padding: 4px 0 0;
}
.when h2 {
  font-size: 20px;
  margin: 0 0 8px;
}
.when ul {
  margin: 0;
  padding-left: 1.2em;
}
.copy-note {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid #d9d2cc;
  border-radius: 12px;
  background: #fff;
}
.copy-note h2 {
  margin-top: 0;
}
.copy-note pre {
  margin-bottom: 16px;
}
.note-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.note-actions a,
.note-actions button {
  width: auto;
  text-decoration: none;
  min-height: 48px;
}
.note-actions #share-status,
.share-row #page-share-status {
  margin: 0;
  padding: 0;
  font-weight: 600;
}
.note-actions #share-status:empty,
.share-row #page-share-status:empty {
  display: none;
}
li {
  margin: 10px 0;
}
.share {
  border-top: 1px solid #d9d2cc;
  margin-top: 32px;
  padding-top: 20px;
}
.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.share-row button,
.share-row a {
  background: transparent;
  color: #a42e24;
  margin: 0;
  min-height: 48px;
  text-decoration: none;
}
.trap {
  position: absolute;
  left: -10000px;
}
#status {
  font-weight: 600;
  padding: 12px 0;
}
#status:not(:empty) {
  border-block: 2px solid #b93225;
}
:focus-visible {
  outline: 3px solid #ad392c;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 620px) {
  main {
    padding-top: 32px;
  }
  .fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  form,
  #confirm,
  .copy-note {
    padding: 20px;
  }
  pre {
    padding: 15px;
  }
  .opening {
    grid-template-columns: 1fr;
  }
  .headshot {
    width: 72px;
    height: 72px;
  }
  .note-actions a,
  .note-actions button,
  .share-row button,
  .share-row a {
    width: 100%;
  }
}
