:root {
  --navy: #0a2e55;
  --teal: #149f83;
  --dark-green: #0a7a63;
  --blue-grey: #7a95b0;
  --light-blue-grey: #95aac0;
  --surface: #ffffff;
  --page: #f4f8fa;
  --line: #dce5eb;
  --ink: #17324d;
  --quiet: #5a7188;
  --shadow: 0 12px 32px rgba(10, 46, 85, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

.site-header {
  padding: 40px 0 30px;
  color: var(--surface);
  background: var(--navy);
  border-bottom: 6px solid var(--teal);
}

/* Official white logo sits directly on the navy header. */
.brand-logo {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  margin: 0 0 20px;
}

.thank-you-card .brand-logo {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: #8bb5a8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 5vw, 2.9rem);
  line-height: 1.12;
}

.intro {
  max-width: 680px;
  margin-bottom: 0;
  color: #dce5eb;
  font-size: 1.02rem;
}

.role-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--surface);
  font-size: 0.85rem;
  font-weight: 600;
}

.main-content {
  padding: 24px 0 20px;
}

.notice,
.overview-panel,
.survey-section,
.submit-panel,
.landing-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.notice {
  padding: 24px;
  border-left: 5px solid var(--teal);
}

.notice.error {
  border-left-color: #b3452f;
}

.overview-panel {
  margin-bottom: 24px;
  padding: 0;
  overflow: hidden;
}

.overview-panel summary {
  padding: 18px clamp(20px, 5vw, 32px);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.overview-panel summary::-webkit-details-marker {
  display: none;
}

.overview-panel summary::before {
  content: "+ ";
  color: var(--teal);
}

.overview-panel[open] summary::before {
  content: "\2212 ";
}

.overview-body {
  padding: 0 clamp(20px, 5vw, 32px) 22px;
  color: var(--quiet);
}

.overview-body p {
  margin-bottom: 12px;
}

.overview-body p:last-child {
  margin-bottom: 0;
}

.how-to-answer {
  margin-bottom: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue-grey);
  border-radius: 10px;
  background: var(--surface);
  color: var(--quiet);
  font-size: 0.95rem;
}

.progress-track {
  height: 8px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--teal);
  transition: width 0.2s ease;
}

.progress-label {
  margin: -18px 0 20px;
  color: var(--quiet);
  font-size: 0.82rem;
}

.respondent-panel {
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue-grey);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.respondent-panel summary {
  padding: 16px clamp(18px, 4vw, 26px);
  cursor: pointer;
  list-style: none;
}

.respondent-panel summary::-webkit-details-marker {
  display: none;
}

.respondent-summary-title {
  display: block;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 700;
}

.respondent-summary-title::before {
  content: "+ ";
  color: var(--teal);
}

.respondent-panel[open] .respondent-summary-title::before {
  content: "\2212 ";
}

.respondent-summary-hint {
  display: block;
  margin-top: 2px;
  color: var(--quiet);
  font-size: 0.86rem;
}

.respondent-body {
  padding: 0 clamp(18px, 4vw, 26px) 22px;
}

.respondent-body .question {
  padding: 14px 0;
}

.respondent-body .question:first-child {
  padding-top: 0;
  border-top: 0;
}

.survey-section {
  margin-bottom: 24px;
  padding: clamp(22px, 5vw, 36px);
}

.section-number {
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.survey-section h2 {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 1.35rem;
}

.question {
  margin: 0;
  padding: 22px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.question:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.question:last-child {
  padding-bottom: 0;
}

.group-label,
.question legend {
  display: block;
  width: 100%;
  margin-bottom: 4px;
  padding: 0;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 650;
}

.select-note {
  margin: 0 0 12px;
  color: var(--quiet);
  font-size: 0.85rem;
  font-style: italic;
}

.required-marker {
  color: var(--teal);
}

.visually-hidden,
.question legend.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.help-text {
  margin: -2px 0 10px;
  color: var(--quiet);
  font-size: 0.88rem;
}

.field-group + .field-group {
  margin-top: 18px;
}

input[type="text"],
textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--blue-grey);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

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

input:focus,
textarea:focus,
button:focus-visible {
  outline: 3px solid rgba(20, 159, 131, 0.25);
  outline-offset: 2px;
  border-color: var(--teal);
}

.choice-cards {
  display: grid;
  gap: 10px;
}

.choice-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.choice-card:hover {
  border-color: var(--teal);
  background: #f3faf8;
}

.choice-card:has(input:checked) {
  border-color: var(--teal);
  background: #edf9f6;
}

.choice-card:has(input:focus-visible) {
  outline: 3px solid rgba(20, 159, 131, 0.25);
  outline-offset: 2px;
}

.choice-card input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--teal);
}

.choice-card-text {
  font-size: 0.98rem;
}

.exclusive-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--page);
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.choice-card.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.submit-panel {
  padding: 26px clamp(22px, 5vw, 36px);
  border-top: 4px solid var(--teal);
}

button {
  min-width: 180px;
  padding: 13px 22px;
  border: 0;
  border-radius: 7px;
  background: var(--navy);
  color: var(--surface);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: var(--dark-green);
}

button:disabled {
  background: var(--light-blue-grey);
  cursor: wait;
}

.privacy-note,
.submit-status {
  margin: 10px 0 0;
  color: var(--quiet);
  font-size: 0.86rem;
}

.submit-status:not(:empty) {
  padding-left: 10px;
  border-left: 3px solid var(--teal);
  color: var(--navy);
  font-weight: 600;
}

.submit-status.is-error {
  border-left-color: #b3452f;
  color: #8a2f1c;
}

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

footer {
  padding: 32px 20px 40px;
  color: var(--quiet);
  font-size: 0.78rem;
  text-align: center;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.thank-you-card {
  width: min(100%, 620px);
  padding: clamp(32px, 7vw, 54px);
  border: 1px solid var(--line);
  border-top: 6px solid var(--teal);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.thank-you-mark {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--surface);
  font-size: 2rem;
}

.thank-you-card h1 {
  color: var(--navy);
  font-size: 2rem;
}

.thank-you-card p:last-child {
  margin-bottom: 0;
  color: var(--quiet);
}

.landing-links {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.landing-card {
  display: block;
  padding: 22px 26px;
  color: inherit;
  text-decoration: none;
  border-left: 5px solid var(--teal);
}

.landing-card:hover {
  background: #f3faf8;
}

.landing-card h2 {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 1.15rem;
}

.landing-card p {
  margin: 0;
  color: var(--quiet);
  font-size: 0.92rem;
}

@media (max-width: 680px) {
  .site-header {
    padding: 30px 0 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
