:root {
  --navy-dark: #152943;
  --border: #dde3ea;
  --green: #2e9e5b;
  --green-bg: #f0f9f3;
  --bg: #ffffff;
  --orange: #c73e1d;
  --orange-dark: #a83317;
  --muted: #5b6b7d;
  --link: #2e6bff;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #f4f6f9;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding:
    24px
    env(safe-area-inset-right)
    24px
    env(safe-area-inset-left);
}

.card {
  width: 100%;
  max-width: 520px;
  background: var(--bg);
  border-radius: 16px;
  padding: 36px 28px 28px;
  box-shadow: 0 10px 30px rgba(21, 41, 67, 0.08);
}

.headline {
  font-size: 14px;
  font-weight: 700;
  color: var(--link);
  background: #eaf1ff;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  line-height: 1.4;
}

h1 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-dark);
  margin: 0 0 24px;
  line-height: 1.35;
  text-align: center;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  min-height: 56px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.1s ease;
  user-select: none;
}

.radio {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #c7d2df;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease;
}

.radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  transform: scale(0);
  transition: transform 0.15s ease;
}

.option-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-dark);
}

.option:hover {
  border-color: #b7c2d1;
}

.option.selected {
  border-color: var(--green);
  background: var(--green-bg);
}

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

.option.selected .radio::after {
  transform: scale(1);
}

.option.selected .option-label {
  color: var(--green);
}

.option:active {
  transform: scale(0.99);
}

.spacer {
  flex: 1;
}

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

.continue-btn {
  width: 100%;
  max-width: 420px;
  padding: 17px;
  border: none;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(234, 90, 53, 0.35);
  transition:
    background 0.15s ease,
    transform 0.1s ease,
    box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.continue-btn:hover {
  background: var(--orange-dark);
}

.continue-btn:active {
  transform: scale(0.98);
}

.continue-btn:disabled {
  opacity: 0.65;
  box-shadow: none;
  cursor: not-allowed;
}

.footnote {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

.footnote a {
  color: var(--link);
  text-decoration: none;
}

@media (max-width: 600px) {
  body {
    padding: 0;
    align-items: flex-start;
    background: var(--bg);
  }

  .card {
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    padding:
      28px
      20px
      calc(24px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
  }

  h1 {
    font-size: 19px;
  }

  .option {
    padding: 16px;
  }

  .option-label {
    font-size: 15.5px;
  }

  .cta-wrap {
    margin-top: auto;
    padding-top: 24px;
  }

  .continue-btn {
    font-size: 16px;
    padding: 16px;
  }
}
