:root {
  /* OurAssistants brand */
  --navy: #111729;
  --navy-2: #1b1e34;
  --green: #8fc44b;
  --green-dark: #76a83a;
  --white: #ffffff;
  --text: #e8ecf3;
  --muted: #9aa4b8;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.10);
  --option: rgba(255, 255, 255, 0.035);
  --option-border: rgba(255, 255, 255, 0.10);
  --error: #ff7a7a;
  --radius: 18px;
  --font-head: "Urbanist", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
h1:focus, h2:focus { outline: none; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 50% 18%, rgba(143, 196, 75, 0.13), transparent 70%),
    radial-gradient(1200px 700px at 50% 0%, #1d2540 0%, var(--navy) 60%);
  background-color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

.topbar {
  background: var(--white);
  display: flex;
  justify-content: center;
  padding: 14px 16px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.logo img { display: block; height: 44px; width: auto; }

.stage {
  flex: 1;
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  padding: 40px 16px 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}
.card.wide { max-width: none; }

.progress { margin-bottom: 22px; }
.progress-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; font-weight: 600; letter-spacing: .02em; }
.progress-track { height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 99px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--green); border-radius: 99px; transition: width .35s ease; }

.screen-enter { animation: fadeUp .3s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

h1, h2 { font-family: var(--font-head); color: var(--white); margin: 0 0 10px; line-height: 1.2; }
h1 { font-size: clamp(26px, 5vw, 34px); }
h2 { font-size: clamp(21px, 4vw, 26px); }
.accent { color: var(--green); }
.lead { color: var(--text); font-size: 16px; line-height: 1.6; margin: 0 0 18px; }
.hint { color: var(--muted); font-size: 14px; margin: -2px 0 16px; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green);
  background: rgba(143, 196, 75, 0.12);
  border: 1px solid rgba(143, 196, 75, 0.3);
  padding: 5px 10px; border-radius: 99px; margin-bottom: 14px;
}
.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.checks li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111729' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
}
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.options { display: grid; gap: 10px; }
.option {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-align: left;
  font: 600 15.5px/1.35 var(--font-body);
  color: var(--text);
  background: var(--option);
  border: 1px solid var(--option-border);
  border-radius: 14px;
  padding: 15px 16px;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .08s;
}
.option:hover { border-color: rgba(143, 196, 75, 0.55); background: rgba(143, 196, 75, 0.06); }
.option:active { transform: scale(.995); }
.option:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.option .mark {
  width: 20px; height: 20px; flex: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transition: all .15s;
}
.option.multi .mark { border-radius: 6px; }
.option.selected { border-color: var(--green); background: rgba(143, 196, 75, 0.12); color: var(--white); }
.option.selected .mark {
  border-color: var(--green);
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111729' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.option small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px var(--font-body);
  color: var(--white);
  background: var(--green);
  border: 0; border-radius: 80px;
  padding: 15px 28px;
  cursor: pointer; text-decoration: none;
  transition: background .15s, transform .08s;
}
.btn:hover { background: var(--green-dark); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; border: 1px solid var(--card-border); color: var(--text); }
.btn.ghost:hover { border-color: var(--green); }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field input {
  font: 500 16px var(--font-body);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--option-border);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
  transition: border-color .15s;
}
.field input::placeholder { color: #6f7a90; }
.field input:focus { border-color: var(--green); }
.field.invalid input { border-color: var(--error); }
.field .err { font-size: 13px; color: var(--error); display: none; }
.field.invalid .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.other-input { margin-top: 10px; }

.terms-box {
  border: 1px solid var(--option-border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 16px;
  margin: 6px 0 18px;
}
.terms-title { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--white); margin: 0 0 8px; }
.terms-review { font-size: 14px; color: var(--text); margin: 0 0 14px; }
.terms-review a { color: var(--green); font-weight: 600; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: var(--text); margin: 0; cursor: pointer; }
.consent input { margin-top: 2px; width: 22px; height: 22px; accent-color: var(--green); flex: none; cursor: pointer; }
.fine a { color: var(--green); font-weight: 600; text-decoration: none; }
.fine br + a { display: inline-block; margin-top: 6px; }
.consent a, .fine a { color: var(--text); }
.fine { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.form-error { color: var(--error); font-size: 14px; margin: 0 0 12px; display: none; }

.calendar {
  margin-top: 18px;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  min-height: 700px;
}
.calendar iframe { width: 100%; height: 700px; border: 0; display: block; }
.small-link { color: var(--green); font-weight: 700; text-decoration: none; }
.small-link:hover { text-decoration: underline; }
.end-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(143, 196, 75, 0.14); color: var(--green);
}
.end-icon.neutral { background: rgba(255, 255, 255, 0.07); color: var(--muted); }

/* Big, high-contrast Continue button for the multi-select question */
.btn.continue {
  margin-top: 18px;
  min-height: 56px;
  font-size: 17px;
  box-shadow: 0 10px 28px rgba(143, 196, 75, 0.28);
}
.btn.continue[disabled] {
  opacity: 1;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}
.continue-hint { text-align: center; font-size: 13px; color: var(--muted); margin: 10px 0 0; }

.nav { display: flex; justify-content: flex-start; margin-top: 12px; }
.nav-btn {
  font: 600 15px var(--font-body); color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 80px;
  min-height: 44px; padding: 10px 20px; cursor: pointer;
}
.nav-btn:hover { color: var(--white); border-color: var(--green); }

.footer {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px;
  font-size: 12.5px; color: var(--muted);
  padding: 18px 16px 28px;
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--white); }

@media (max-width: 560px) {
  .stage { padding-top: 22px; }
  .card { padding: 22px 16px; border-radius: 18px; }
  .row2 { grid-template-columns: 1fr; }
  .logo img { height: 38px; }
  .calendar, .calendar iframe { min-height: 760px; height: 760px; }
}
