* {
  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;
}
.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;
}
.channel {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.channel legend {
  font-size: 16px;
}
.channel label {
  margin-bottom: 0;
}
.channel [aria-disabled] {
  color: #716a64;
}
button {
  background: #b93225;
  color: #fff;
  border: 1px solid #b93225;
  border-radius: 7px;
  font: inherit;
  font-weight: 600;
  padding: 13px 18px;
  cursor: pointer;
}
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: 26px;
  border-block: 1px solid #d9d2cc;
  padding: 18px 0;
}
.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;
}
.copy-note button {
  width: auto;
}
.copy-note #share-status {
  margin: 8px 0 0;
  padding: 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
li {
  margin: 10px 0;
}
.share {
  border-top: 1px solid #d9d2cc;
  margin-top: 32px;
  padding-top: 20px;
}
.share button {
  background: transparent;
  color: #a42e24;
  margin: 0 8px 12px 0;
}
.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;
  }
  .share button {
    width: 100%;
  }
}
