* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #eef2ff, #fffaf5);
  color: #0f172a;
  min-height: 100vh;
}

.layout {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.5rem 0 0.5rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #6366f1;
  margin: 0;
}

.guide {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.questionCard,
.resultCard {
  background: white;
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 20px 70px rgba(15, 23, 42, 0.12);
}

fieldset {
  border: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

legend {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.option {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  margin-bottom: 0.6rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.option input {
  margin-top: 0.2rem;
}

.option:hover {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.06);
}

button[type="submit"] {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  background: linear-gradient(120deg, #4f46e5, #7c3aed);
  color: white;
  cursor: pointer;
  transition: transform 0.15s ease;
}

button[type="submit"]:hover {
  transform: translateY(-1px);
}

.resultCard h2 {
  margin-top: 0;
}

.resultCard ul {
  padding-left: 1.2rem;
}

.meter {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.meterRow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
}

.meterBar {
  height: 10px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.meterBar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(120deg, #22d3ee, #6366f1);
}

.empty {
  text-align: center;
  color: #475569;
}
