:root {
  color-scheme: light;
  --qh-ink: #1f2a25;
  --qh-muted: #5f6b64;
  --qh-paper: #f7f4ee;
  --qh-panel: #ffffff;
  --qh-accent: #a87844;
  --qh-line: #d9d2c6;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--qh-paper);
  color: var(--qh-ink);
}

a {
  color: inherit;
}

.qh-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.qh-header {
  padding: 24px 0;
  border-bottom: 1px solid var(--qh-line);
}

.qh-header .qh-shell,
.qh-footer .qh-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.qh-brand {
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.qh-main {
  padding: 72px 0 96px;
}

.qh-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.qh-kicker {
  color: var(--qh-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
}

h1 {
  margin: 14px 0 24px;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.qh-lead {
  color: var(--qh-muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.qh-panel {
  padding: 36px;
  background: var(--qh-panel);
  border: 1px solid var(--qh-line);
  box-shadow: 0 20px 60px rgba(31, 42, 37, 0.08);
}

.qh-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--qh-muted);
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--qh-ink);
  background: #fff;
  border: 1px solid var(--qh-line);
  border-radius: 0;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.qh-full {
  grid-column: 1 / -1;
}

.qh-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  margin: 18px 0;
  line-height: 1.5;
}

.qh-check input {
  width: 18px;
  margin-top: 2px;
}

.qh-honeypot {
  position: absolute;
  left: -10000px;
}

.qh-button {
  width: 100%;
  padding: 15px 18px;
  color: #fff;
  background: var(--qh-ink);
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.qh-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.qh-status {
  min-height: 24px;
  margin-top: 16px;
  font-weight: 650;
}

.qh-status[data-outcome="verified"] {
  color: #23643e;
}

.qh-status[data-outcome="failed"] {
  color: #9c2f2f;
}

.qh-footer {
  padding: 28px 0;
  color: var(--qh-muted);
  border-top: 1px solid var(--qh-line);
}

@media (max-width: 760px) {
  .qh-grid,
  .qh-fields {
    grid-template-columns: 1fr;
  }

  .qh-grid {
    gap: 36px;
  }

  .qh-full {
    grid-column: auto;
  }

  .qh-panel {
    padding: 24px;
  }
}
