@font-face {
  font-family: "Chronicle Display";
  src: url("fonts/ChronicleDisp-Semibold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("fonts/Gotham-Book.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("fonts/Gotham-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #202020;
  --muted: #5f6360;
  --line: #c9cbc8;
  --soft: #f4f6f3;
  --green: #2f8c62;
  --green-dark: #236c4b;
  --green-light: #e8f5ec;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--white);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  display: grid;
  min-height: calc(100vh - 68px);
  place-items: start center;
  padding: 62px 20px 56px;
}

.form-card {
  width: min(100%, 640px);
}

.progress-track {
  width: min(100%, 344px);
  height: 10px;
  margin: 0 auto 48px;
  overflow: hidden;
  border-radius: 999px;
  background: #dedfdd;
}

.progress-fill {
  display: block;
  width: 14%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 220ms ease;
}

.form-card.is-step-two .progress-fill {
  width: 100%;
}

h1,
h2 {
  margin: 0 0 42px;
  color: #111;
  font-family: "Chronicle Display", Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.18;
  text-align: center;
}

.answer-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
}

.answer {
  display: flex;
  width: 100%;
  min-height: 82px;
  align-items: center;
  gap: 17px;
  padding: 14px 20px;
  border: 2px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 1px 1px rgb(20 30 24 / 3%);
  cursor: pointer;
  font-family: "Gotham", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-align: left;
  transition: border-color 120ms ease, background 120ms ease, transform 120ms ease;
}

.answer:hover {
  border-color: var(--green);
  background: #fbfdfb;
}

.answer:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgb(47 140 98 / 30%);
  outline-offset: 3px;
}

.answer:active {
  transform: scale(0.995);
}

.answer.is-selected {
  border-color: var(--green);
  background: var(--green-light);
}

.radio {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border: 2px solid #6b706c;
  border-radius: 50%;
}

.answer.is-selected .radio {
  border-color: var(--green);
}

.answer.is-selected .radio::after {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.answer-copy {
  display: grid;
  gap: 4px;
}

.answer-copy strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.answer-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.33;
}

.redirect-status {
  min-height: 18px;
  margin: 18px 0 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

footer {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 18px 24px;
  border-top: 1px solid #efefed;
  color: #757a76;
  font-size: 12px;
  text-align: center;
}

.step[hidden] {
  display: none;
}

.step.is-entering {
  animation: enter 220ms ease-out both;
}

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

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .page-shell {
    min-height: calc(100vh - 68px);
    padding: 34px 16px 38px;
  }

  .progress-track {
    height: 8px;
    margin-bottom: 35px;
  }

  h1,
  h2 {
    margin-bottom: 31px;
    font-size: 34px;
  }

  .answer {
    min-height: 76px;
    padding: 13px 16px;
  }

  footer {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
