:root {
  color-scheme: light;
  --bg1: #dbe4ff;
  --bg2: #eef2ff;
  --bg3: #dcf6ea;
  --ink: #1f2430;
  --ink-soft: #5b6472;
  --line: #e6e9f0;
  --blue: #3b5bfd;
  --blue-soft: #eef1ff;
  --card-bg: #ffffff;
  --radius: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(120deg, var(--bg1) 0%, var(--bg2) 55%, var(--bg3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.wrap {
  width: 100%;
  max-width: 560px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 16px;
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--blue);
  display: inline-block;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(30, 40, 90, 0.10);
  padding: 24px 28px 28px;
}

.topbar { margin-bottom: 20px; }

.progress-track {
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), #2fd6a7);
  transition: width 0.25s ease;
}

.step-label {
  text-align: right;
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 6px;
}

h1, .question-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.3;
}

.subtitle {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 18px;
}

.badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 13px;
  color: #2b8a5e;
}

.badges span { white-space: nowrap; }

.btn-primary {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

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

.option {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 15px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.option:hover { border-color: #c7cffb; background: #fafbff; }
.option.selected { border-color: var(--blue); background: var(--blue-soft); }

.back-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}

.back-link:hover { color: var(--ink); }

.email-input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 15px;
  margin-bottom: 14px;
}

.skip-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
}

.consent {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 14px;
}

.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.footnote {
  text-align: center;
  color: var(--ink-soft);
  font-size: 12px;
  margin-top: 16px;
}

.thankyou-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.stars {
  display: flex;
  gap: 10px;
  font-size: 40px;
  line-height: 1;
  margin: 8px 0 6px;
}

.star {
  color: #e2e5ee;
  cursor: pointer;
  transition: color 0.1s ease, transform 0.1s ease;
}

.star:hover { transform: scale(1.08); }
.star.filled { color: #f5b301; }

.rating-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 220px;
  margin-bottom: 10px;
}
