:root {
  --bg: #f3f6fb;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --text: #13233f;
  --muted: #5d6e88;
  --line: rgba(27, 56, 103, 0.12);
  --brand: #17b35f;
  --brand-dark: #0d8b48;
  --accent: #1f4f96;
  --shadow: 0 18px 48px rgba(19, 35, 63, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Heebo", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(40, 93, 173, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(23, 179, 95, 0.14), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  min-height: 100vh;
  padding: 24px 14px 36px;
}

.hero-panel {
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 26px 16px 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92));
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-top {
  text-align: center;
}

.hero-logo {
  width: min(100%, 340px);
  margin: 0 auto 14px;
}

.hero-kicker {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-divider {
  width: 92px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(31, 79, 150, 0.1), rgba(31, 79, 150, 0.95), rgba(23, 179, 95, 0.55));
}

.info-card,
.partner-card,
.form-card {
  margin-top: 18px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.info-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(23, 179, 95, 0.12);
  color: var(--brand-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.info-card h1 {
  margin: 14px 0 10px;
  font-size: 1.78rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.info-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.info-card p + p {
  margin-top: 12px;
}

.partner-card h2 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--accent);
}

.form-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--accent);
}

.form-card {
  width: min(100%, 410px);
  margin-inline: auto;
  padding: 16px 14px;
  background:
    radial-gradient(circle at top right, rgba(37, 211, 102, 0.32), transparent 42%),
    radial-gradient(circle at bottom left, rgba(23, 179, 95, 0.22), transparent 38%),
    linear-gradient(135deg, rgba(231, 255, 240, 0.98), rgba(205, 245, 221, 0.96));
  border-color: rgba(23, 179, 95, 0.2);
  box-shadow:
    0 18px 40px rgba(17, 151, 81, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.form-subtitle,
.form-description {
  margin: 8px 0 0;
  line-height: 1.55;
  color: var(--muted);
  font-size: 0.96rem;
}

.form-description {
  font-weight: 700;
  color: var(--text);
}

.eligibility-form {
  margin-top: 14px;
}

.question-card {
  margin: 0;
  padding: 14px 12px;
  border: 1px solid rgba(31, 79, 150, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.question-card + .question-card {
  margin-top: 12px;
}

.question-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.question-card.is-invalid {
  border-color: rgba(216, 58, 75, 0.7);
  box-shadow: 0 0 0 3px rgba(216, 58, 75, 0.12);
  background: rgba(255, 244, 245, 0.92);
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.option-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(31, 79, 150, 0.16);
  border-radius: 999px;
  background: #ffffff;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease;
}

.option-pill:hover {
  transform: translateY(-1px);
}

.option-pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.option-pill:has(input:checked) {
  border-color: rgba(23, 179, 95, 0.78);
  background: rgba(23, 179, 95, 0.12);
  color: var(--brand-dark);
}

.question-error {
  margin: 8px 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #d83a4b;
}

.partner-image-wrap {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  box-shadow: inset 0 0 0 1px rgba(31, 79, 150, 0.08);
}

.partner-image {
  width: 100%;
  object-fit: cover;
}

.cta-wrap {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #25d366);
  box-shadow: 0 16px 30px rgba(17, 151, 81, 0.28);
  color: #ffffff;
  font-family: inherit;
  font-size: 1.16rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(17, 151, 81, 0.34);
  filter: saturate(1.05);
}

.cta-button:active {
  transform: translateY(1px) scale(0.995);
}

.cta-button:focus-visible {
  outline: 3px solid rgba(31, 79, 150, 0.24);
  outline-offset: 3px;
}

.cta-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #ffffff;
  object-fit: cover;
}

@media (min-width: 768px) {
  .page-shell {
    padding: 40px 20px 48px;
  }

  .hero-panel {
    width: min(100%, 560px);
    padding: 34px 24px 36px;
  }

  .info-card,
  .partner-card,
  .form-card {
    padding: 22px 20px;
  }

  .info-card h1 {
    font-size: 2.08rem;
  }

  .form-title {
    font-size: 1.68rem;
  }

  .form-card {
    width: min(100%, 440px);
    padding: 18px 16px;
  }
}
