:root {
  color-scheme: light;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #2c3345;
  background: #16202c;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(14, 22, 32, .46), rgba(14, 22, 32, .72)),
    url("/images/hoover-dam.webp") center top / cover fixed no-repeat;
}

button, input, textarea { font: inherit; }

.page-shell {
  min-height: 100vh;
  padding: 46px 20px 70px;
}

.form-card {
  width: min(752px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .32);
}

.brand-art {
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: 28px;
  background: #242424;
}

.brand-art img {
  display: block;
  width: min(100%, 430px);
  height: auto;
  border-radius: 10px;
}

.form-header {
  padding: 44px 52px 28px;
  border-bottom: 1px solid #f0f1f5;
}

.eyebrow {
  margin: 0 0 10px;
  color: #d9552d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, p { margin-top: 0; }

h1 {
  margin-bottom: 10px;
  color: #202530;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.intro-copy {
  max-width: 570px;
  margin-bottom: 0;
  color: #667085;
  font-size: 16px;
  line-height: 1.65;
}

form {
  display: grid;
  gap: 26px;
  padding: 38px 52px 52px;
}

.field-grid {
  display: grid;
  gap: 24px;
}

.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 9px;
  color: #2c3345;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.field label span,
.field legend span { color: #758096; font-weight: 500; }

input[type="text"],
input[type="email"],
input[type="date"],
textarea {
  width: 100%;
  border: 1px solid #b8bdc9;
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: #2c3345;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input[type="text"],
input[type="email"],
input[type="date"] {
  height: 49px;
  padding: 0 14px;
}

textarea {
  min-height: 142px;
  padding: 13px 14px;
  resize: vertical;
  line-height: 1.55;
}

input::placeholder, textarea::placeholder { color: #8d96a8; }

input[type="text"]:hover,
input[type="email"]:hover,
input[type="date"]:hover,
textarea:hover { border-color: #2e69ff; box-shadow: 0 0 0 2px rgba(46, 105, 255, .14); }

input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
textarea:focus { border-color: #2e69ff; box-shadow: 0 0 0 3px rgba(46, 105, 255, .23); }

.choice-card {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  margin: 0 !important;
  padding: 13px 15px;
  border: 1px solid #c7ccd6;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500 !important;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.choice-card:hover { border-color: #2e69ff; background: #f8faff; }
.choice-card:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(46, 105, 255, .22); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }

.radio-mark {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1.5px solid #aab0bd;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 5px #fff;
  transition: .18s ease;
}

.choice-card input:checked + .radio-mark { border-color: #2e69ff; background: #2e69ff; }

.choice-row { display: flex; gap: 10px; }
.choice-pill { margin: 0 !important; cursor: pointer; }
.choice-pill input { position: absolute; opacity: 0; }
.choice-pill span {
  display: grid;
  min-width: 72px;
  height: 46px;
  place-items: center;
  border: 1px solid #c7ccd6;
  border-radius: 9px;
  background: #fff;
  color: #2c3345 !important;
  font-weight: 650 !important;
  transition: .18s ease;
}
.choice-pill:hover span { border-color: #2e69ff; }
.choice-pill input:checked + span { border-color: #2e69ff; background: #2e69ff; color: #fff !important; }
.choice-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(46, 105, 255, .22); }

.rating-labels {
  display: flex;
  justify-content: space-between;
  margin: 0 2px 7px;
  color: #667085;
  font-size: 12px;
  font-weight: 650;
}

.rating-row { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px; }
.rating-row label { margin: 0; cursor: pointer; }
.rating-row input { position: absolute; opacity: 0; }
.rating-row span {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #b8bdc9;
  border-radius: 8px;
  background: #fff;
  color: #4b5567 !important;
  font-size: 13px;
  font-weight: 700 !important;
  transition: .18s ease;
}
.rating-row label:hover span { border-color: #2e69ff; color: #2e69ff !important; }
.rating-row input:checked + span { border-color: #2e69ff; background: #2e69ff; color: #fff !important; }
.rating-row input:focus-visible + span { box-shadow: 0 0 0 3px rgba(46, 105, 255, .22); }
.field-note { margin: 9px 0 0; color: #758096; font-size: 12px; }

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-message {
  display: none;
  padding: 13px 15px;
  border-radius: 9px;
  font-size: 14px;
  line-height: 1.45;
}
.form-message.error { display: block; border: 1px solid #efaca7; background: #fff2f1; color: #8f241c; }

.submit-button {
  display: inline-flex;
  width: fit-content;
  min-width: 132px;
  height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #18bd5b;
  border-radius: 9px;
  background: #18bd5b;
  color: #fff;
  cursor: pointer;
  font-weight: 750;
  box-shadow: 0 9px 22px rgba(24, 189, 91, .22);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.submit-button:hover { transform: translateY(-1px); background: #16aa52; box-shadow: 0 12px 26px rgba(24, 189, 91, .28); }
.submit-button:focus-visible { outline: 3px solid rgba(46, 105, 255, .32); outline-offset: 3px; }
.submit-button:disabled { cursor: wait; opacity: .72; transform: none; }

.button-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.submit-button.loading .button-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.thank-you {
  padding: 78px 42px 88px;
  text-align: center;
}
.thank-you .checkmark {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  background: #eaf9f0;
  color: #18a951;
  font-size: 42px;
  font-weight: 800;
}
.thank-you h2 { margin-bottom: 10px; color: #202530; font-size: 36px; }
.thank-you p { margin: 0; color: #667085; font-size: 17px; }

@media (max-width: 680px) {
  .page-shell { padding: 20px 12px 40px; }
  .form-card { border-radius: 12px; }
  .brand-art { min-height: 0; padding: 18px; }
  .form-header { padding: 34px 24px 24px; }
  form { padding: 30px 24px 38px; }
  .two-up { grid-template-columns: 1fr; }
  .rating-row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
  .rating-row span { aspect-ratio: auto; height: 44px; }
  .submit-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; }
}
