@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #002442;
  --navy-soft: #0b3859;
  --orange: #ff953e;
  --teal: #1ca6a8;
  --ink: #182b3a;
  --muted: #5d6872;
  --line: #dce3e8;
  --surface: #ffffff;
  --canvas: #f3f6f8;
  --success: #16845b;
  --danger: #a32929;
  --focus: #147cae;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

button,
textarea,
input {
  font: inherit;
}

.site-header {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - 880px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-link img {
  display: block;
  width: min(270px, 64vw);
  height: 43px;
  object-fit: contain;
  object-position: left center;
}

.header-label {
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.feedback-shell {
  width: min(880px, calc(100% - 32px));
  margin: 32px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(0, 36, 66, 0.08);
}

.intro {
  position: relative;
  padding: 48px 54px 42px;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  color: #ffffff;
}

.intro::after {
  position: absolute;
  bottom: -1px;
  left: 54px;
  width: 96px;
  height: 5px;
  background: var(--orange);
  content: "";
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: clamp(36px, 7vw, 58px);
  line-height: 1.08;
}

.intro-copy {
  max-width: 680px;
  margin-bottom: 0;
  color: #dce8f0;
  font-size: 16px;
}

.message {
  margin: 28px 54px 0;
  padding: 14px 16px;
  border-left: 4px solid currentColor;
  background: #f7f9fa;
  font-weight: 600;
}

.message.is-error {
  color: var(--danger);
}

.form-section {
  padding: 34px 54px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.25;
}

.section-kicker {
  color: var(--teal);
}

.scale-copy,
.character-count {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.rating-grid {
  display: grid;
  grid-template-columns: repeat(5, 64px);
  gap: 10px;
}

.rating-choice {
  display: block;
  width: 64px;
  height: 54px;
  cursor: pointer;
}

.rating-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.rating-choice span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border: 1px solid #becbd4;
  border-radius: 6px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease, transform 120ms ease;
}

.rating-choice:hover span {
  border-color: var(--orange);
  transform: translateY(-1px);
}

.rating-choice input:checked + span {
  border-color: var(--navy);
  background: var(--navy);
  color: #ffffff;
}

.rating-choice input:focus-visible + span,
.choice-chip input:focus-visible + span,
button:focus-visible,
textarea:focus-visible,
.brand-link:focus-visible {
  outline: 3px solid rgba(20, 124, 174, 0.35);
  outline-offset: 3px;
}

.experience-list {
  border-top: 1px solid var(--line);
}

.experience-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.experience-row h3 {
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 15px;
}

.experience-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.rating-grid.is-compact {
  grid-template-columns: repeat(5, 42px);
  gap: 7px;
}

.is-compact .rating-choice {
  width: 42px;
  height: 38px;
}

.is-compact .rating-choice span {
  font-size: 14px;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.choice-chip {
  min-width: 0;
  cursor: pointer;
}

.choice-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.choice-chip span {
  display: block;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #becbd4;
  border-radius: 6px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.choice-chip input:checked + span {
  border-color: var(--teal);
  background: #eaf7f7;
  color: #075e60;
}

textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #becbd4;
  border-radius: 6px;
  padding: 14px;
  color: var(--ink);
  line-height: 1.5;
}

textarea:focus {
  border-color: var(--focus);
  outline: none;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 54px 34px;
}

.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 12px 22px;
  background: var(--orange);
  color: var(--navy);
  cursor: pointer;
  font-weight: 700;
}

button:hover {
  background: #ffad6a;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.thank-you {
  padding: 62px 54px 70px;
  text-align: center;
}

.thank-you .eyebrow {
  color: var(--success);
}

.thank-you h2 {
  color: var(--navy);
  font-size: 28px;
}

.thank-you p:last-child {
  max-width: 580px;
  margin: 0 auto;
  color: var(--muted);
}

.success-mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: #e4f4ed;
  color: var(--success);
  font-size: 28px;
  font-weight: 700;
}

footer {
  padding: 0 20px 32px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

footer p {
  margin: 0;
}

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

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
  }

  .header-label {
    display: none;
  }

  .feedback-shell {
    width: min(100% - 20px, 880px);
    margin: 10px auto 24px;
  }

  .intro,
  .form-section,
  .thank-you {
    padding-right: 24px;
    padding-left: 24px;
  }

  .intro::after {
    left: 24px;
  }

  .message {
    margin-right: 24px;
    margin-left: 24px;
  }

  .section-heading,
  .form-actions,
  .experience-row {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading {
    display: flex;
    gap: 8px;
  }

  .scale-copy,
  .character-count {
    white-space: normal;
  }

  .experience-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .form-actions {
    display: flex;
    padding-right: 24px;
    padding-left: 24px;
  }

  button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .rating-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .rating-choice {
    width: 100%;
  }

  .rating-grid.is-compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .is-compact .rating-choice {
    width: 100%;
  }

  .chip-grid {
    grid-template-columns: 1fr;
  }
}

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