:root{
  --font: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;

  /* Brand colors */
  --blue: #193B82;
  --blue-soft: #899ABF;
  --gray: #F9F9FA;
  --orange: #FF7557;

  /* Text */
  --text: rgba(255,255,255,.95);
  --muted: rgba(255,255,255,.70);

  /* UI */
  --glass: rgba(249,249,250,.10);
  --stroke: rgba(249,249,250,.22);
  --shadow: 0 18px 50px rgba(0,0,0,.35);

  --bg: #0b1224;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x:hidden;
}

/* Fondo: spotlight SOLO azules */
.bg{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      900px 520px at 50% 18%,
      rgba(25,59,130,.45),
      transparent 60%
    ),
    radial-gradient(
      700px 520px at 20% 65%,
      rgba(137,154,191,.28),
      transparent 62%
    ),
    radial-gradient(
      700px 520px at 80% 65%,
      rgba(137,154,191,.22),
      transparent 62%
    ),
    linear-gradient(180deg, #0b1224 0%, #070c1a 100%);
}

/* Layout */
.page{
  min-height: 100svh;
  min-height: 100vh;
  display:flex;
  justify-content:center;
  padding: 22px 14px 84px;
}

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

.hero{ padding: 8px 2px 16px; }

h1{
  margin:0 0 10px;
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.muted{
  margin:0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.35;
}

.flow{ margin-top: 14px; }

/* Steps */
.step{
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow:hidden;
  margin-bottom: 14px;
  transition:
    transform 520ms cubic-bezier(.16, 1, .3, 1),
    opacity 520ms cubic-bezier(.16, 1, .3, 1);
}

.step.enter{
  transform: translateY(10px);
  opacity: 0;
}

.step__content{
  padding: 16px;
  transition: opacity 260ms ease;
}

.step__summary{
  display:none;
  padding: 12px 16px;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.step__summary small{
  color: rgba(255,255,255,.65);
  font-weight: 600;
}

.step__summary div{
  color: var(--gray);
  font-weight: 750;
}

.step.completed{
  background: rgba(249,249,250,.07);
  border-color: rgba(249,249,250,.18);
}

.step.completed .step__content{
  opacity:0;
  pointer-events:none;
  height:0;
  padding:0 16px;
}

.step.completed .step__summary{
  display:flex;
}

/* Check */
.badge-ok{
  width:30px;
  height:30px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background: rgba(255,117,87,.22);
  border: 1px solid rgba(255,117,87,.55);
  color: var(--gray);
  font-weight: 900;
}

/* Titles */
h2{
  margin:0 0 12px;
  font-size: 1.06rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--gray);
}

/* Layout helpers */
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stack{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

/* Buttons */
.btn{
  appearance:none;
  border: 1px solid rgba(249,249,250,.22);
  background: rgba(249,249,250,.10);
  color: var(--gray);
  padding: 14px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor:pointer;
  transition: transform .18s ease, background .25s ease, border-color .25s ease;
}

.btn:hover{
  background: rgba(249,249,250,.16);
  border-color: rgba(249,249,250,.35);
}

.btn:active{
  transform: translateY(1px) scale(.99);
}

/* CTA: azul claro → naranja on hover */
.btn.primary{
  border: none;
  background: var(--blue-soft);
  color: var(--blue);
  box-shadow: 0 16px 40px rgba(25,59,130,.35);
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.btn.primary:hover{
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(255,117,87,.45);
}

/* Inputs */
label{
  font-size: .86rem;
  font-weight: 650;
  color: rgba(255,255,255,.75);
}

input{
  margin-top: 6px;
  width:100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(249,249,250,.22);
  background: rgba(249,249,250,.10);
  color: var(--gray);
  font-size: 1rem;
  outline: none;
}

input:focus{
  border-color: var(--blue-soft);
  box-shadow: 0 0 0 4px rgba(137,154,191,.35);
}

/* Mobile */
@media (max-width: 420px){
  h1{ font-size: 1.45rem; }
  .grid{ grid-template-columns:1fr; }
}
