:root { --f: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif; --g1: #1fb871; --g2: #0e9b59; --gd: #0b7a47; --ink: #0f172a; --mut: #5f6c82; --line: #e4e9ef; --soft: #f5f7fa; }
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--f); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }


.shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
/* lado ilustrado */
.side { position: relative; overflow: hidden; background: linear-gradient(160deg, #0f1a2e 0%, #17263f 60%, #13324a 100%); color: #fff; padding: 36px 48px; display: flex; flex-direction: column; }
.side::before { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,196,136,.30), rgba(47,196,136,0)); }
.side::after { content: ''; position: absolute; width: 420px; height: 420px; left: -160px; bottom: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(120,140,200,.22), rgba(120,140,200,0)); }
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.logo-chip { display: inline-flex; }
.logo-chip img { height: 34px; display: block; }
.side-art { position: relative; z-index: 1; flex: 1; display: grid; place-items: center; }
.side-art svg { width: min(420px, 100%); height: auto; }
.side h2 { position: relative; z-index: 1; margin: 0 0 8px; font-size: 32px; letter-spacing: -.035em; line-height: 1.12; font-weight: 800; max-width: 440px; }
.side p { position: relative; z-index: 1; margin: 0; color: #b8c3d6; font-size: 15px; line-height: 1.6; max-width: 420px; font-weight: 500; }
.side-pts { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.side-pts span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: #dbe4f0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); padding: 7px 11px; border-radius: 999px; }
.side-pts svg { width: 16px; height: 16px; }
.fl1 { animation: fl 6s ease-in-out infinite; transform-box: fill-box; }
.fl2 { animation: fl 7.5s ease-in-out infinite reverse; transform-box: fill-box; }
@keyframes fl { 50% { transform: translateY(-8px); } }
.tw { animation: tw 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes tw { 50% { opacity: .3; transform: scale(.75); } }

/* lado del formulario */
.main { display: flex; flex-direction: column; padding: 28px 48px 90px; }
.top { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--mut); font-weight: 600; }
.top a { font-weight: 800; color: var(--gd); }
.top { min-height: 44px; }
.back { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; color: var(--ink); padding: 3px 14px 3px 3px; border-radius: 999px; transition: background .2s; }
.back .bi { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px -10px rgba(15,23,42,.35); transition: transform .2s, border-color .2s; }
.back svg { width: 18px; height: 18px; }
.back:hover { background: var(--soft); } .back:hover .bi { transform: translateX(-2px); border-color: #cfd8e3; }
.top .new { display: inline-flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px 0 11px; border-radius: 999px; border: 1.5px solid #bfe6d2; background: #f1faf5; color: var(--gd) !important; font-weight: 800; font-size: 14px; transition: background .2s, box-shadow .2s; }
.pill i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(180deg, var(--g1), var(--g2)); display: grid; place-items: center; }
.pill i svg { width: 13px; height: 13px; }
.pill:hover { background: #e6f6ee; box-shadow: 0 0 0 4px #eef9f3; }
.steps-c { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--soft); font-size: 12.5px; font-weight: 800; color: var(--mut); }
.steps-c i { display: flex; gap: 4px; } .steps-c i b { width: 6px; height: 6px; border-radius: 3px; background: #d5dce5; } .steps-c i b.on { width: 16px; background: var(--g1); }
/* animación de puntos: solo en celular; en PC se queda el dibujo */
.m-dots { display: none; }
.box { width: 100%; max-width: 420px; margin: auto; padding: 24px 0; }
.screen { display: none; animation: in .4s cubic-bezier(.2,.8,.2,1); }
.screen.on { display: block; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
h1 { margin: 0 0 6px; font-size: 30px; letter-spacing: -.035em; font-weight: 800; }
.sub { margin: 0 0 24px; font-size: 15px; color: var(--mut); line-height: 1.55; font-weight: 500; }

.b-avira { width: 100%; min-height: 54px; border-radius: 15px; border: 1.5px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; font-weight: 800; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.b-avira:hover { border-color: #bfe6d2; box-shadow: 0 0 0 4px #eef9f3; }
.b-avira img { height: 24px; width: auto; }
.b-avira small { font-weight: 600; color: var(--mut); }
.or { display: flex; align-items: center; gap: 12px; margin: 22px 0; font-size: 12.5px; font-weight: 700; color: #94a3b8; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.fld { margin-bottom: 14px; }
.fld label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; margin-bottom: 7px; }
.fld label a { color: var(--gd); font-weight: 800; }
.inp { position: relative; }
.inp > svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: #94a3b8; pointer-events: none; }
.inp input { width: 100%; height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--soft); padding: 0 46px 0 44px; font: 600 15px var(--f); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.inp input::placeholder { color: #a5b0c0; font-weight: 500; }
.inp input:focus { border-color: var(--g1); background: #fff; box-shadow: 0 0 0 4px #e3f5ec; }
.inp.bad input { border-color: #e9cfa5; background: #fffaf2; }
.inp .eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: none; background: none; color: #94a3b8; display: grid; place-items: center; border-radius: 10px; }
.inp .eye svg { width: 19px; height: 19px; }
.hint { font-size: 12.5px; color: var(--mut); font-weight: 600; margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.hint svg { width: 15px; height: 15px; flex: none; }
.hint.warn { color: #8a6a3b; }

.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 9px; }
.meter i { height: 5px; border-radius: 5px; background: #e8edf2; transition: background .3s; }
.meter[data-l="1"] i:nth-child(-n+1) { background: #d9b98a; }
.meter[data-l="2"] i:nth-child(-n+2) { background: #c7c98a; }
.meter[data-l="3"] i:nth-child(-n+3) { background: #7fd1a8; }
.meter[data-l="4"] i { background: var(--g1); }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 12px; margin-top: 9px; }
.rules span { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #94a3b8; }
.rules span i { width: 15px; height: 15px; border-radius: 50%; border: 1.6px solid #cbd3de; flex: none; display: grid; place-items: center; }
.rules span.ok { color: var(--gd); }
.rules span.ok i { background: var(--g1); border-color: var(--g1); }
.rules span.ok i::after { content: ''; width: 6px; height: 3px; border: solid #fff; border-width: 0 0 1.8px 1.8px; transform: rotate(-45deg) translate(1px, -1px); }

.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--mut); font-weight: 600; line-height: 1.5; margin: 6px 0 18px; cursor: pointer; }
.chk input { display: none; }
.chk i { width: 20px; height: 20px; border-radius: 6px; border: 1.6px solid #cbd3de; flex: none; margin-top: 1px; display: grid; place-items: center; background: #fff; transition: .2s; }
.chk input:checked + i { background: var(--g1); border-color: var(--g1); }
.chk input:checked + i::after { content: ''; width: 8px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.chk a { color: var(--gd); font-weight: 800; }

.b-main { width: 100%; min-height: 54px; border: none; border-radius: 15px; color: #fff; background: linear-gradient(180deg, var(--g1), var(--g2)); font-size: 15.5px; font-weight: 800; box-shadow: 0 12px 24px -14px rgba(14,155,89,.75); display: flex; align-items: center; justify-content: center; gap: 8px; }
.b-main svg { width: 18px; height: 18px; }
.b-main.dark { background: linear-gradient(180deg, #3a4866, #1e293f); box-shadow: 0 12px 24px -14px rgba(30,41,63,.7); }
.b-ghost { width: 100%; min-height: 48px; border: none; background: none; font-size: 14.5px; font-weight: 800; color: var(--mut); margin-top: 6px; }
.foot { text-align: center; margin-top: 20px; font-size: 14px; color: var(--mut); font-weight: 600; }
.foot a { color: var(--gd); font-weight: 800; }

.note { display: flex; gap: 12px; align-items: flex-start; border-radius: 16px; padding: 12px 14px; margin-bottom: 18px; border: 1px solid var(--line); background: #fff; }
.note .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; background: #eef1f6; }
.note .ic svg { width: 20px; height: 20px; }
.note b { display: block; font-size: 13.5px; font-weight: 800; margin-bottom: 2px; }
.note small { display: block; font-size: 12.5px; color: var(--mut); line-height: 1.45; font-weight: 500; }
.note.sand { background: #fbf6ec; border-color: #efe3cc; } .note.sand .ic { background: #f3e8d4; }
.note.mint { background: #f1faf5; border-color: #d7efe2; } .note.mint .ic { background: #e0f4ea; }

.b-main:disabled { background: #d9e0e8; box-shadow: none; color: #8592a6; cursor: not-allowed; }
.chk { padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--soft); color: var(--ink); transition: border-color .2s, background .2s; }
.chk:has(input:checked) { border-color: #bfe6d2; background: #f1faf5; }
.chk.in-cs { margin: 8px 18px 0; }
/* elegir tipo de cuenta */
.pick { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.opt { display: flex; gap: 14px; align-items: center; text-align: left; width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 18px; padding: 16px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.opt:hover { transform: translateY(-1px); }
.opt.on { border-color: var(--g1); box-shadow: 0 0 0 4px #e3f5ec; }
.opt .oi { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex: none; }
.opt .oi svg { width: 34px; height: 34px; }
.opt b { display: block; font-size: 15.5px; font-weight: 800; }
.opt small { display: block; font-size: 13px; color: var(--mut); font-weight: 500; line-height: 1.45; margin-top: 2px; }
.opt .rd { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cbd3de; flex: none; margin-left: auto; display: grid; place-items: center; }
.opt.on .rd { border-color: var(--g1); }
.opt.on .rd::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--g1); }

/* permiso de Avira */
.consent { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.cs-top { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px; background: linear-gradient(160deg, #f4faf7, #e9f6ef); }
.cs-logo { width: 58px; height: 58px; border-radius: 17px; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 20px -14px rgba(15,23,42,.4); }
.cs-logo img { height: 34px; display: block; }
.cs-logo.wide { width: auto; padding: 0; background: none; box-shadow: none; border-radius: 0; } .cs-logo.wide img { height: 26px; }
.cs-logo svg { width: 32px; height: 32px; }
.cs-dots { display: flex; gap: 5px; } .cs-dots i { width: 6px; height: 6px; border-radius: 50%; background: #9fd8bd; animation: dot 1.4s infinite; } .cs-dots i:nth-child(2) { animation-delay: .2s; } .cs-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 50% { opacity: .25; } }
.cs-who { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #f0f3f7; }
.av { width: 40px; height: 40px; border-radius: 50%; background: #e3f5ec; color: var(--gd); font-weight: 800; display: grid; place-items: center; flex: none; }
.cs-who b { display: block; font-size: 14.5px; font-weight: 800; }
.cs-who small { font-size: 12.5px; color: var(--mut); font-weight: 600; }
.cs-who a { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--gd); }
.cs-list { padding: 8px 18px 4px; }
.cs-list div { display: flex; gap: 12px; align-items: center; padding: 10px 0; font-size: 14px; font-weight: 700; }
.cs-list div + div { border-top: 1px dashed #edf1f5; }
.cs-list svg { width: 20px; height: 20px; flex: none; }
.cs-list .no { color: #94a3b8; font-weight: 600; }
.cs-act { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 14px 18px 18px; }
.cs-act .b-main { min-height: 50px; }
.cs-act .b-ghost { margin: 0; min-height: 50px; border: 1.5px solid var(--line); border-radius: 15px; color: var(--ink); }

/* código */
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; margin: 4px 0 12px; }
.otp span { height: 60px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--soft); display: grid; place-items: center; font: 800 24px var(--f); }
.otp span.on { border-color: var(--g1); background: #fff; box-shadow: 0 0 0 4px #e3f5ec; }
.otp span.on::after { content: ''; width: 2px; height: 26px; background: var(--g1); animation: dot 1s infinite; }
.resend { font-size: 13.5px; font-weight: 700; color: var(--mut); text-align: center; margin: 4px 0 18px; }
.resend b { color: var(--ink); }

.center { text-align: center; }
.art { position: relative; width: 170px; height: 150px; margin: 0 auto 10px; display: grid; place-items: center; }
.art::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, var(--h, #e6f6ee), rgba(255,255,255,0)); }
.art svg { position: relative; width: 136px; height: 136px; }

@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .side { padding: 22px 22px 26px; min-height: auto; }
  .side-art { display: none; }
  .m-dots { display: block; position: absolute; right: -30px; top: 74px; width: 175px; z-index: 0; overflow: visible; }
  .side h2 { font-size: 22px; margin-top: 18px; } .side p { font-size: 13.5px; } .side-pts { display: none; }
  .side h2, .side p { max-width: 64%; }
  .top .new > span { display: none; }
  .back { padding-right: 10px; }
  .main { padding: 20px 20px 100px; }
  h1 { font-size: 25px; }
  .otp { gap: 6px; } .otp span { height: 52px; font-size: 20px; }
}
.otp { position: relative; }
.otp-in { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; border: 0; background: transparent; cursor: text; }
.b-avira:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; border-color: var(--line); }
.b-avira small { font-size: 12px; font-weight: 700; margin-left: 2px; }
.note[hidden] { display: none; }
