:root {
  --mint: #41C9AF;
  --blue: #0048A8;
  --blue-deep: #003680;
  --yellow: #FFC425;
  --ink: #555555;
  --ink-strong: #2a2a2a;
  --paper: #ffffff;
  --mist: #F0F7F5;
  --line: rgba(0, 72, 168, 0.12);
  --wa: #25D366;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(0, 54, 128, 0.12);
  --font: "Montserrat", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(165deg, #e8f1ff 0%, #f4faf8 42%, #eef6f3 100%);
  line-height: 1.5;
}

.bg-glow {
  position: fixed;
  inset: auto -10% -10% auto;
  width: 55vw;
  height: 55vw;
  max-width: 520px;
  max-height: 520px;
  background: radial-gradient(circle, rgba(65, 201, 175, 0.28), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--blue-deep);
}

.brand img {
  width: auto;
  height: 64px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.brand strong {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.15;
}

.brand small {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--ink);
}

.topbar__back {
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 1.5rem));
  margin: .5rem auto 2rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 1.5rem 1.35rem 1.6rem;
}

.panel[hidden] { display: none !important; }

.eyebrow {
  display: inline-block;
  margin-bottom: .55rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mint);
}

h1, h2 {
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: .85rem;
}

h1 { font-size: clamp(1.45rem, 4.5vw, 1.85rem); }
h2 { font-size: 1.35rem; }

.lead {
  font-size: .92rem;
  margin-bottom: .75rem;
  color: var(--ink);
}

.bullets {
  list-style: none;
  display: grid;
  gap: .45rem;
  margin: 1.1rem 0 1.4rem;
}

.bullets li {
  position: relative;
  padding-left: 1.15rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue);
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45rem;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--mint);
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: #e7eef8;
  overflow: hidden;
  margin-bottom: .65rem;
}

.progress__bar {
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--mint));
  transition: width .35s ease;
}

.progress__label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1.1rem;
}

.step[hidden] { display: none !important; }

.step {
  border: 0;
  margin: 0;
  padding: 0;
  min-inline-size: 0;
}

.step > legend {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 1rem;
  padding: 0;
}

.field {
  display: grid;
  gap: .35rem;
  margin-bottom: .9rem;
}

.field > span,
.choice > legend {
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue);
}

.field em,
.choice em {
  color: #c0392b;
  font-style: normal;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .78rem .9rem;
  font: inherit;
  font-size: .9rem;
  color: var(--ink-strong);
  background: #fbfcfe;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 72, 168, 0.12);
}

.field textarea { resize: vertical; min-height: 84px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .65rem;
}

.choice {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}

.choice > legend {
  margin-bottom: .55rem;
}

.choice__opt {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .85rem;
  margin-bottom: .45rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-strong);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}

.choice__opt:has(input:checked) {
  border-color: var(--blue);
  background: rgba(0, 72, 168, 0.06);
}

.choice__opt input {
  accent-color: var(--blue);
  width: 16px;
  height: 16px;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

.form-error {
  margin: .2rem 0 .8rem;
  padding: .7rem .85rem;
  border-radius: 10px;
  background: rgba(192, 57, 43, 0.08);
  color: #8e1b12;
  font-size: .82rem;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .4rem;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 48px;
  padding: .75rem 1.2rem;
  border-radius: 999px;
  font: inherit;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}

.btn:active { transform: scale(.98); }
.btn[hidden] { display: none !important; }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 72, 168, 0.28);
}
.btn--primary:hover { background: var(--blue-deep); }

.btn--mint {
  background: var(--mint);
  color: #06362e;
  box-shadow: 0 10px 24px rgba(65, 201, 175, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(0, 72, 168, 0.22);
}

.btn--wa {
  background: var(--wa);
  color: #062116;
  width: 100%;
  margin-bottom: .65rem;
}

.foot {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1rem 2rem;
  font-size: .72rem;
  color: var(--ink);
}

.foot a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 520px) {
  .grid-3 { grid-template-columns: 1fr; }
  .card { padding: 1.25rem 1.05rem 1.35rem; }
  .nav-actions .btn { flex: 1 1 auto; }
}
