:root {
  --brand: #006876;
  --brand-deep: #004f5a;
  --brand-soft: #e8f6f8;
  --ink: #1d212f;
  --muted: #4f4f71;
  --bg: #f5f7fb;
  --surface: #fff;
  --border: rgba(0, 104, 118, 0.14);
  --ok: #19b159;
  --font: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  min-height: 100dvh;
}

.app {
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 16px 28px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.header { margin-bottom: 20px; }

.kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

h1 {
  font-size: 1.85rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

h1 span { color: var(--brand); }

.sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.loading {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

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

.option {
  display: block;
  cursor: pointer;
}

.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.option input:checked + .option-card {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 104, 118, 0.12);
}

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

.option-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.option-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

.option-meta {
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.04em;
}

.submit-wrap {
  position: sticky;
  bottom: 0;
  padding: 16px 0 4px;
  background: linear-gradient(180deg, transparent, var(--bg) 30%);
}

.btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 15px 20px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
}

.btn.primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn.secondary {
  background: var(--brand-soft);
  color: var(--brand-deep);
  margin-top: 12px;
}

.done {
  text-align: center;
  padding: 48px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.done-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font-size: 2rem;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.done-icon.warn { background: #e6a700; }

.done h2 { margin-bottom: 8px; }

.done p { color: var(--muted); max-width: 280px; }

.footer {
  margin-top: auto;
  padding-top: 20px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}

.hidden { display: none !important; }
