@font-face {
  font-family: "Rational Display";
  src: url("/fonts/rational-display-book.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Rational Display";
  src: url("/fonts/rational-display-semibold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "PP Mori";
  src: url("/fonts/pp-mori-regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "PP Mori";
  src: url("/fonts/pp-mori-semibold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}

:root {
  color: #1b3d22;
  background: #fffbf2;
  font-family: "PP Mori", Arial, sans-serif;
  font-synthesis: none;
  --pine: #1b3d22;
  --floral: #fffbf2;
  --sage: #b5c7a5;
  --honeydew: #ecffe2;
  --green: #96ff5e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--floral); }
button, textarea, input { font: inherit; }

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(24px, 5vw, 76px);
  border-bottom: 1px solid rgba(27, 61, 34, .2);
}

.brand img { display: block; width: 142px; height: auto; }
.eyebrow, .kicker, footer { font-size: 11px; font-weight: 600; letter-spacing: .13em; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  border-bottom: 1px solid rgba(27, 61, 34, .2);
}

.hero-copy, .hero-intro { padding: clamp(64px, 10vw, 150px) clamp(24px, 5vw, 76px); }
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid rgba(27, 61, 34, .2); }
.hero h1, h2 { font-family: "Rational Display", Arial, sans-serif; letter-spacing: -.045em; line-height: .93; margin: 0; }
.hero h1 { max-width: 800px; font-size: clamp(62px, 9vw, 150px); font-weight: 600; }
.hero-intro { display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; background: var(--honeydew); }
.hero-intro p { max-width: 590px; margin: 0; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.42; }
.jump-link { align-self: flex-start; margin-top: 22px; color: var(--pine); font-weight: 600; text-underline-offset: 5px; }

.survey-section { padding: clamp(70px, 8vw, 120px) clamp(20px, 5vw, 76px); }
.section-heading { max-width: 850px; margin-bottom: 70px; }
.section-heading h2, .receipt h2 { font-size: clamp(48px, 6vw, 92px); }
.section-heading > p:last-child, .receipt > p:last-child { max-width: 650px; font-size: 18px; line-height: 1.55; }

form { border: 1px solid var(--pine); }
.preview-notice { display: flex; gap: 12px 24px; flex-wrap: wrap; padding: 18px 24px; color: var(--floral); background: var(--pine); }
.preview-notice strong { color: var(--green); }
.question { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(300px, 1.2fr); gap: clamp(24px, 5vw, 80px); padding: clamp(32px, 5vw, 70px); border-bottom: 1px solid rgba(27, 61, 34, .35); }
.question:nth-child(even) { background: var(--honeydew); }
.question label { display: flex; gap: 18px; font-family: "Rational Display", Arial, sans-serif; font-size: clamp(25px, 2.3vw, 38px); line-height: 1.08; letter-spacing: -.025em; }
.question-number { flex: 0 0 34px; padding-top: 5px; font-family: "PP Mori", Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .1em; }
.question em { display: block; margin-top: 9px; font-family: "PP Mori", Arial, sans-serif; font-size: 12px; font-style: normal; letter-spacing: .04em; }
textarea { width: 100%; min-height: 120px; resize: vertical; padding: 18px; color: var(--pine); background: var(--floral); border: 1px solid rgba(27, 61, 34, .55); border-radius: 0; line-height: 1.5; }
textarea:focus { outline: 3px solid var(--green); outline-offset: 2px; border-color: var(--pine); }
textarea[aria-invalid="true"] { border-color: #a62222; }
.field-error, .form-error { margin: 8px 0 0; color: #8c1d1d; font-size: 14px; }
.question .field-error { grid-column: 2; }

.form-footer { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: end; padding: clamp(30px, 5vw, 64px); background: var(--sage); }
.privacy-copy { max-width: 660px; font-size: 14px; line-height: 1.55; }
.privacy-copy p { margin: 0 0 8px; }
.submit-area { min-width: min(100%, 290px); }
button { width: 100%; min-height: 58px; padding: 16px 22px; display: flex; justify-content: space-between; gap: 24px; color: var(--pine); background: var(--green); border: 1px solid var(--pine); cursor: pointer; font-weight: 600; }
button:hover { background: var(--floral); }
button:focus-visible { outline: 3px solid var(--floral); outline-offset: 3px; }
button:disabled { opacity: .65; cursor: wait; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.receipt { padding: clamp(50px, 8vw, 120px); color: var(--floral); background: var(--pine); }
.receipt .kicker { color: var(--green); }
.receipt h2 { max-width: 900px; }
.receipt:focus { outline: none; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(24px, 5vw, 76px); color: var(--floral); background: var(--pine); }

[hidden] { display: none !important; }

@media (max-width: 780px) {
  .site-header { min-height: 70px; padding: 20px; align-items: flex-start; }
  .brand img { width: 118px; }
  .eyebrow { max-width: 150px; text-align: right; font-size: 9px; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy, .hero-intro { padding: 60px 22px; }
  .hero-copy { min-height: 450px; border-right: 0; border-bottom: 1px solid rgba(27, 61, 34, .2); }
  .hero h1 { font-size: clamp(58px, 18vw, 86px); }
  .survey-section { padding: 70px 14px; }
  .section-heading { padding: 0 8px; margin-bottom: 44px; }
  .question { grid-template-columns: 1fr; gap: 24px; padding: 38px 20px; }
  .question label { font-size: 28px; }
  .question .field-error { grid-column: 1; }
  .form-footer { grid-template-columns: 1fr; padding: 30px 20px; }
  .submit-area { min-width: 0; }
  footer { padding: 24px 20px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
