* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #2b2730;
  background: radial-gradient(circle at top left, #fff5ec 0, #fbefe7 30%, #f5f1ea 100%);
  min-height: 100vh;
}
.page {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 32px 18px;
}
.card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(120, 82, 51, .12);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(77, 51, 32, .12);
}
.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vw, 76px);
  text-align: center;
}
.hero__content { max-width: 760px; }
.eyebrow {
  margin: 0 0 10px;
  color: #8a5e3c;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2 {
  margin: 0;
  line-height: 1.1;
  color: #251c18;
}
h1 { font-size: clamp(34px, 7vw, 68px); }
h2 { font-size: clamp(26px, 4vw, 44px); }
.hero__text, .quiz__header p {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  color: #5c504a;
}
.primary-button {
  border: 0;
  border-radius: 999px;
  padding: 16px 28px;
  background: #70492e;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 12px 26px rgba(112, 73, 46, .25);
}
.primary-button:hover { transform: translateY(-1px); background: #5e3b24; }
.primary-button:active { transform: translateY(0); }
.primary-button--wide { width: 100%; margin-top: 8px; }
.hidden { display: none; }
.quiz {
  padding: clamp(20px, 4vw, 46px);
}
.quiz__header { margin-bottom: 28px; }
form { display: grid; gap: 18px; }
fieldset {
  margin: 0;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid rgba(112, 73, 46, .16);
  border-radius: 20px;
  background: rgba(255, 250, 246, .72);
}
legend {
  padding: 0 8px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  color: #2b211c;
}
.options {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.options--three, .options--grid, .two-columns {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(112, 73, 46, .16);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}
.options label:has(input:checked) {
  border-color: #70492e;
  box-shadow: 0 0 0 3px rgba(112, 73, 46, .12);
}
input[type="radio"] { accent-color: #70492e; }
.field {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  font-weight: 700;
  color: #3d302a;
}
input[type="text"], textarea {
  width: 100%;
  border: 1px solid rgba(112, 73, 46, .2);
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  background: #fff;
  color: #2b2730;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, textarea:focus, button:focus-visible {
  outline: 3px solid rgba(112, 73, 46, .2);
  outline-offset: 2px;
}
.two-columns { display: grid; gap: 14px; }
.form-message {
  min-height: 24px;
  color: #70492e;
  font-weight: 700;
}
.form-message.error { color: #a53030; }
.form-message.success { color: #2e7044; }
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
@media (max-width: 720px) {
  .page { padding: 14px; }
  .hero { min-height: calc(100vh - 28px); border-radius: 22px; }
  .quiz { border-radius: 22px; }
  .primary-button { width: 100%; padding: 15px 18px; font-size: 16px; }
  fieldset { border-radius: 18px; }
  .options--three, .options--grid, .two-columns { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  h1 { font-size: 30px; }
  h2 { font-size: 25px; }
  .hero__text, .quiz__header p { font-size: 16px; }
  .options label { align-items: flex-start; }
}
