:root {
  color-scheme: dark;
  --orange: #e8751c;
  --sand: #bda786;
  --ink: #f3e8d6;
  --surface: #151310;
  --line: #574836;
  font-family: Bahnschrift, "Arial Narrow", Arial, sans-serif;
  background: #000;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #f69748;
  text-underline-offset: 0.2em;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #151310;
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 650;
  text-decoration: none;
}
button:hover,
.button:hover {
  border-color: var(--orange);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #080604;
}
:focus-visible {
  outline: 2px solid #ffbd84;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}
header {
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
}
.logo {
  width: 110px;
  height: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.landing {
  display: grid;
  gap: 32px;
  padding-block: 48px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(34px, 5.5vw, 65px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 17ch;
}
h2 {
  font-size: clamp(27px, 4vw, 39px);
  line-height: 1.16;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 22px;
}
.lede {
  font-size: 19px;
  color: var(--sand);
  max-width: 60ch;
  margin-top: 24px;
}
.hero-photo {
  width: 100%;
  max-height: 490px;
  object-fit: cover;
  border-radius: 12px;
}
.benefits {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--sand);
  margin: 26px 0;
}
.benefits li::before {
  content: "✓";
  color: var(--orange);
  margin-right: 12px;
}
.workspace {
  width: min(780px, calc(100% - 32px));
  margin: 40px auto 72px;
}
.guide-intro {
  margin-bottom: 24px;
}
.guide-intro h1 {
  max-width: none;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
  margin-bottom: 16px;
}
.guide-intro > p {
  color: var(--sand);
}
.guide-intro + #wizard {
  margin-top: 24px;
}
.panel {
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  margin-top: 24px;
}
.progress {
  height: 5px;
  background: #382c21;
  border-radius: 8px;
  overflow: hidden;
  margin: 14px 0 30px;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--orange);
  transition: width 160ms ease-out;
}
.muted {
  color: var(--sand);
}
.question {
  animation: arrive 160ms ease-out;
}
@keyframes arrive {
  from {
    opacity: 0.65;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.choices {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.choice {
  text-align: left;
  justify-content: flex-start;
  min-height: 62px;
  padding: 16px 20px;
  font-size: 18px;
}
.choice[aria-pressed="true"] {
  background: #382213;
  border-color: var(--orange);
  box-shadow: inset 0 0 0 1px var(--orange);
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.actions > .primary {
  flex: 1;
}
label {
  display: block;
  margin-block: 16px;
  font-weight: 600;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  min-height: 48px;
  padding: 11px;
  border: 1px solid #827158;
  border-radius: 6px;
  background: #080706;
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 110px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}
.check input {
  width: 20px;
  min-height: 20px;
  flex: none;
  margin-top: 3px;
}
.feedback {
  color: #ffbc8a;
  margin-top: 16px;
  white-space: pre-wrap;
}
.notice {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--sand);
  margin-block: 20px;
}
.result-text {
  font-size: 19px;
  margin-top: 20px;
  line-height: 1.65;
}
.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.contact-methods .choice {
  font-size: 16px;
}
.contact-actions {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}
.contact-actions button {
  min-width: 0;
}
.contact-actions .primary {
  margin-left: auto;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
details {
  margin-top: 20px;
}
summary {
  cursor: pointer;
  color: var(--sand);
}
.consent {
  border-top: 1px solid var(--line);
  padding: 20px;
  margin-top: 32px;
  font-size: 14px;
}
.consent .actions {
  margin-top: 12px;
}
.consent button {
  font-size: 14px;
  padding: 8px 14px;
  min-height: 40px;
}
.test-notice {
  border-bottom: 1px solid var(--orange);
  color: #ffbc8a;
  text-align: center;
  padding: 8px;
  font-size: 14px;
}
footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--sand);
  font-size: 14px;
}
footer #consent-reopen {
  display: inline;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  color: #f69748;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  vertical-align: baseline;
}
.admin {
  width: min(1380px, calc(100% - 32px));
  margin: 32px auto;
}
.filters,
.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.stats strong {
  font-size: 28px;
  display: block;
  color: #ffac68;
}
.table-scroll {
  overflow: auto;
  margin-top: 24px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  color: var(--sand);
  font-weight: 600;
}
td a {
  white-space: nowrap;
}
dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0;
}
dt,
dd {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
dt {
  color: var(--sand);
  padding-right: 16px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.note {
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
}
.danger {
  color: #ffc3ac;
  border-color: #9b533a;
}
.admin-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}
@media (min-width: 850px) {
  .landing {
    grid-template-columns: 1.25fr 0.8fr;
    align-items: center;
    padding-block: 64px;
  }
  .hero-photo {
    max-height: 560px;
  }
  .contact-methods {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 530px) {
  .nav-links {
    font-size: 14px;
  }
  .logo {
    width: 90px;
  }
  dl {
    grid-template-columns: 1fr;
  }
  dt {
    border: 0;
    padding-bottom: 0;
  }
  dd {
    padding-top: 2px;
  }
  .actions > button {
    flex: 1;
  }
  .panel {
    padding: 20px;
  }
  .choice {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
