:root {
  --brand: #2e5c99;
  --panel: rgba(46, 92, 153, 0.25);
  --text: #10233f;
  --white: #fff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f7fbff 0%, #e9f1fb 100%);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.app-shell { width: 100%; max-width: 860px; }
.panel {
  background: var(--panel);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(16, 35, 63, 0.15);
}
.hidden { display: none !important; }

h1, h2, h3 { margin-top: 0; }
.subtitle, .summary { font-size: 1.1rem; line-height: 1.5; }
.brand-logo {
  display: block;
  max-width: 220px;
  height: auto;
  margin: 0 0 18px;
}
.eyebrow { text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; font-weight: 700; }
.progress { font-weight: 700; margin: 0 0 10px; }
.question { margin: 0 0 18px; line-height: 1.3; }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.trust-strip span {
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.18);
}

.choices { display: grid; gap: 12px; margin-bottom: 20px; }
.choice-btn {
  width: 100%;
  border: 2px solid transparent;
  border-radius: 20px;
  background: #fff;
  color: #000;
  text-align: left;
  padding: 16px;
  font-size: 1rem;
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.choice-btn:hover { transform: translateY(-1px); }
.choice-btn.selected {
  background: var(--brand);
  color: #fff;
  border: 2px solid #fff;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 20px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
}
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { filter: brightness(0.95); }
.btn-secondary { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.btn-secondary:hover { background: #f4f8fd; }

.btn:focus-visible,
.choice-btn:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

.score {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  margin: 6px 0;
}

form { display: grid; gap: 12px; margin-top: 14px; max-width: 620px; }
label { display: grid; gap: 6px; font-weight: 700; }
input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid #9db6d8;
  font-size: 1rem;
}

input::placeholder {
  color: #2e5c99;
  opacity: 0.9;
}
.status { min-height: 1.2em; font-weight: 700; }
.status.error { color: #9f1d1d; }
.status.success { color: #1c6e2a; }
.privacy-note {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  color: rgba(16, 35, 63, 0.8);
}

.guidance-item {
  background: #fff;
  border-left: 5px solid var(--brand);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}
.actions { margin: 18px 0; }
.cta-panel {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
}

@media (max-width: 640px) {
  .brand-logo {
    max-width: 180px;
  }
  .trust-strip {
    display: grid;
    gap: 8px;
  }
  .panel { padding: 18px; }
  .btn { width: 100%; text-align: center; }
}
