:root {
  --ink: #15271e;
  --paper: #f5f1e7;
  --white: #fffefa;
  --lime: #baff42;
  --lilac: #a98cff;
  --coral: #ff7459;
  --muted: #667069;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.45 Inter,
    system-ui,
    sans-serif;
}
.research-head {
  height: 76px;
  padding: 0 max(24px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: white;
  border-bottom: 4px solid var(--lilac);
}
.brand {
  font-size: 24px;
  font-weight: 950;
}
.brand i {
  font: 900 10px/1 ui-monospace;
  padding: 5px 8px;
  background: var(--coral);
  color: var(--ink);
  font-style: normal;
}
.research-head a {
  color: inherit;
}
.research-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  color: inherit;
  text-decoration: none;
}
.research-brand .brand-type {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.8px;
}
.research-brand .brand-type small {
  padding: 5px 7px 6px;
  border: 1px solid white;
  background: var(--coral);
  color: var(--ink);
  box-shadow: 2px 2px 0 rgb(255 255 255 / 20%);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.08em;
  transform: rotate(-3deg);
}
.research-product {
  padding-left: 15px;
  border-left: 1px solid rgb(255 255 255 / 30%);
  color: rgb(255 255 255 / 72%);
  font: 800 10px/1 ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 46px auto;
}
.eyebrow {
  font: 900 10px/1 ui-monospace;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}
h1,
h2,
h3 {
  letter-spacing: -0.04em;
  line-height: 1;
}
h1 {
  font-size: clamp(42px, 7vw, 76px);
  margin: 12px 0 14px;
  max-width: 900px;
}
h2 {
  font-size: 30px;
}
.lede {
  max-width: 720px;
  font-size: 18px;
  color: var(--muted);
}
button,
.button {
  padding: 12px 17px;
  border: 2px solid var(--ink);
  background: var(--lime);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 850;
  cursor: pointer;
  text-decoration: none;
}
button.secondary {
  background: var(--white);
  box-shadow: none;
}
.grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  margin-top: 36px;
}
.panel {
  border: 1px solid #c9c9c0;
  background: var(--white);
  padding: 24px;
}
.survey-list button {
  width: 100%;
  margin: 0 0 10px;
  text-align: left;
  background: var(--paper);
  box-shadow: none;
}
.survey-list button.active {
  background: var(--lilac);
}
label {
  display: block;
  margin: 15px 0;
  font-weight: 800;
}
input,
textarea,
select {
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1.5px solid var(--ink);
  background: white;
  font: inherit;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.stats {
  display: flex;
  gap: 9px;
  margin: 16px 0;
}
.stats span {
  padding: 7px 10px;
  background: var(--paper);
  font: 800 11px ui-monospace;
}
.question {
  padding: 14px;
  border: 1px solid #d4d4cc;
  margin: 9px 0;
}
.question-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.recipient-result {
  margin-top: 16px;
  padding: 14px;
  background: #e8ffd0;
  border-left: 5px solid var(--lime);
  word-break: break-all;
}
.response {
  padding: 18px;
  border-top: 1px solid #ddd;
}
.response dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 7px;
  margin: 12px 0;
}
.response dt {
  font-weight: 850;
}
.response dd {
  margin: 0;
}
.survey-shell {
  width: min(820px, calc(100% - 28px));
  margin: 42px auto;
}
.welcome {
  padding: clamp(24px, 5vw, 48px);
  background: var(--lilac);
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.welcome h1 {
  font-size: clamp(38px, 7vw, 66px);
}
.survey-intro {
  min-height: min(610px, calc(100vh - 190px));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.invitation-note {
  margin: 18px 0 28px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}
.invitation-note .eyebrow {
  margin: 0 0 12px;
}
.invitation-note #survey-welcome {
  margin: 0;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  white-space: pre-wrap;
}
.survey-intro > button {
  align-self: flex-start;
  font-size: 18px;
}
.progress {
  height: 8px;
  background: #d8d8d0;
  margin: 28px 0;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--lime);
}
.survey-card {
  padding: clamp(22px, 5vw, 46px);
  border: 1px solid #ccc;
  background: var(--white);
}
.choices {
  display: grid;
  gap: 10px;
}
.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--ink);
  font-weight: 750;
}
.choice input {
  width: auto;
  margin: 3px 0;
}
#segments .choice:has(input:checked) {
  background: color-mix(in srgb, var(--lime) 24%, white);
  box-shadow: 5px 5px 0 var(--lilac);
}
.question-help {
  margin: -10px 0 16px;
  color: var(--muted);
}
.survey-question {
  margin: 0 0 34px;
}
.survey-question h2 {
  font-size: 25px;
  line-height: 1.15;
}
.privacy-note {
  padding: 14px;
  background: var(--paper);
  font-size: 12px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.error {
  color: #a52d20;
  font-weight: 800;
}
@media (max-width: 760px) {
  .grid,
  .row {
    grid-template-columns: 1fr;
  }
  .wrap {
    margin-top: 28px;
  }
  .research-head {
    height: 64px;
  }
  .response dl {
    grid-template-columns: 1fr;
  }
  .stats {
    flex-wrap: wrap;
  }
}
