/* Bienvenida del primer ingreso y aceptación de términos. Todo queda acotado a .legal-welcome (clases lw-*). */
.legal-welcome { position: relative; height: 100vh; height: 100dvh; overflow: hidden; color: #1e293b; background: #f6f7fd; font-family: 'Burotec Sans', Inter, system-ui, sans-serif; }
.legal-welcome *, .legal-welcome *::before, .legal-welcome *::after { box-sizing: border-box; }
.legal-welcome[hidden] { display: none; }
.legal-welcome button { font-family: 'Burotec Sans', Inter, system-ui, sans-serif; }
.legal-welcome .app-icon { width: 20px; height: 20px; flex: none; vertical-align: 0; stroke-width: 2; }
.legal-welcome .lw-corner { position: absolute; z-index: 20; right: 16px; top: 14px; display: flex; gap: 8px; }
.legal-welcome .lw-corner button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid #cfd3f1; border-radius: 999px; background: rgba(255,255,255,.86); color: #362fd1; font: 700 14px 'Burotec Sans', sans-serif; cursor: pointer; }
.legal-welcome .lw-corner .app-icon { width: 17px; height: 17px; }
.legal-welcome[data-scene="1"] .lw-corner button { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.12); color: #fff; }
.legal-welcome:not([data-scene="1"]) .lw-skip { display: none; }
/* escenas */

.legal-welcome .lw-scene { position: absolute; inset: 0; display: none; overflow: auto; scrollbar-width: none; }
.legal-welcome .lw-scene.on { display: block; animation: lw-in .5s ease both; }
@keyframes lw-in { from { opacity: 0; } }
.legal-welcome .lw-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background: linear-gradient(160deg, #f4f2ff 0%, #eaf3ff 55%, #f3efff 100%); }
.legal-welcome .lw-aurora i { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; filter: blur(60px); opacity: .55; animation: lw-drift 14s ease-in-out infinite alternate; }
.legal-welcome .lw-aurora i:nth-child(1) { left: -15%; top: -20%; background: #b9b3ff; }
.legal-welcome .lw-aurora i:nth-child(2) { right: -20%; bottom: -25%; background: #a8d4ff; animation-delay: -5s; }
.legal-welcome .lw-aurora i:nth-child(3) { left: 35%; top: 30%; background: #d5b8ff; animation-delay: -9s; }
@keyframes lw-drift { to { transform: translate(8%, 6%) scale(1.12); } }
.legal-welcome .lw-s1 .lw-aurora { background: radial-gradient(circle at 20% 15%, rgba(117,108,255,.7), transparent 40%), linear-gradient(155deg, #3426d0 0%, #1b1583 55%, #0e0a52 100%); }
.legal-welcome .lw-s1 .lw-aurora i { opacity: .38; filter: blur(70px); }
.legal-welcome .lw-s1 .lw-aurora i:nth-child(1) { background: #7a6bff; }
.legal-welcome .lw-s1 .lw-aurora i:nth-child(2) { background: #1d9bff; }
.legal-welcome .lw-s1 .lw-aurora i:nth-child(3) { background: #a05bff; }

/* ---------- 1 · Hola ---------- */
.legal-welcome .lw-s1 { overflow: hidden; color: #fff; }
.legal-welcome .lw-hello { --cs: clamp(150px, 30vw, 240px); --ms: clamp(40px, 14vw, 96px); position: relative; display: grid; place-items: center; height: 100%; padding: 24px; }
.legal-welcome .lw-lock { display: grid; justify-items: center; gap: 14px; text-align: center; }
.legal-welcome .lw-mark { margin: 0; display: flex; font: 700 var(--ms)/1 'Burotec Inter', sans-serif; letter-spacing: .02em; color: #fff; }
.legal-welcome .lw-ch { display: inline-block; opacity: 0; transform: translateY(.35em) scale(.7); }
.legal-welcome .lw-s1.is-fly .lw-ch:not(.lw-slot), .legal-welcome .lw-s1.is-logo .lw-ch:not(.lw-slot) { opacity: 1; transform: none; transition: opacity .5s ease, transform .7s cubic-bezier(.3,1.5,.5,1); transition-delay: calc(var(--i) * .07s + .25s); }
.legal-welcome .lw-slot > span { opacity: 0; }
.legal-welcome .lw-slot { opacity: 1; transform: none; }
.legal-welcome .lw-evo { display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateY(8px); transition: opacity .6s ease .1s, transform .6s ease .1s; }
.legal-welcome .lw-v9 { padding: 5px 12px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; background: rgba(255,255,255,.12); font: 800 14px/1 'Burotec Sans', sans-serif; }
.legal-welcome .lw-evo small { color: #c9c5ff; font-size: 13px; font-weight: 600; letter-spacing: .42em; }
.legal-welcome .lw-tag { max-width: 24ch; margin: 10px 0 0; font-size: clamp(20px, 4.6vw, 28px); line-height: 1.25; font-weight: 700; letter-spacing: -.02em; opacity: 0; transform: translateY(10px); transition: opacity .7s ease .5s, transform .7s ease .5s; }
.legal-welcome .lw-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 16px 30px; border: 0; border-radius: 14px; background: #fff; color: #362fd1; font: 800 17px 'Burotec Sans', sans-serif; cursor: pointer; box-shadow: 0 10px 30px rgba(8,6,70,.35); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .6s ease .9s, transform .6s ease .9s; }
.legal-welcome .lw-s1.is-logo .lw-evo, .legal-welcome .lw-s1.is-logo .lw-tag, .legal-welcome .lw-s1.is-logo .lw-cta { opacity: 1; transform: none; }
.legal-welcome .lw-s1.is-logo .lw-cta { pointer-events: auto; animation: lw-pulse 2.4s ease-in-out 2s infinite; }
@keyframes lw-pulse { 50% { box-shadow: 0 10px 30px rgba(8,6,70,.35), 0 0 0 10px rgba(255,255,255,.14); } }

/* la Ü personaje */
.legal-welcome .lw-char { position: absolute; left: 50%; top: 50%; z-index: 3; font: 700 var(--cs)/1 'Burotec Inter', sans-serif; color: #fff; transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px))) scale(var(--s, 1)) rotate(var(--r, 0deg)); transition: transform 1.1s cubic-bezier(.55,-.25,.25,1.15), opacity .3s ease; }
.legal-welcome .lw-body { position: relative; display: inline-block; transform-origin: 50% 100%; opacity: 0; pointer-events: auto; cursor: pointer; }
.legal-welcome .lw-shadow { position: absolute; left: 50%; top: 88%; width: .62em; height: .07em; margin-left: -.31em; border-radius: 50%; background: rgba(6,4,60,.42); filter: blur(.012em); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.legal-welcome .lw-s1.is-drop .lw-shadow { opacity: 1; animation: lw-shadow-drop 1s cubic-bezier(.3,.7,.4,1) both; }
.legal-welcome .lw-s1.is-hi .lw-shadow { animation: lw-shadow-dance 1.7s ease-in-out infinite; }
.legal-welcome .lw-s1.is-joy .lw-shadow { animation: lw-shadow-sway 1.2s ease-in-out infinite; }
.legal-welcome .lw-s1.is-fly .lw-shadow, .legal-welcome .lw-s1.is-crouch .lw-shadow { animation: none; opacity: 0; }
@keyframes lw-shadow-drop { 0% { transform: scale(.2); opacity: 0; } 55% { transform: scale(1.25); opacity: 1; } 100% { transform: none; } }
@keyframes lw-shadow-dance { 0%, 100% { transform: scale(1.08); } 35%, 55% { transform: scale(.6); opacity: .6; } 72% { transform: scale(1.18); } }
@keyframes lw-shadow-sway { 0%, 100% { transform: scale(1); } 50% { transform: scale(.88); } }

.legal-welcome .lw-s1.is-drop .lw-body { opacity: 1; animation: lw-drop 1s cubic-bezier(.3,.7,.4,1) both; }
@keyframes lw-drop { 0% { transform: translateY(-120%) scale(.9, 1.15); } 55% { transform: translateY(0) scale(1.18, .78); } 70% { transform: translateY(-11%) scale(.94, 1.1) rotate(-3deg); } 84% { transform: translateY(0) scale(1.06, .94) rotate(2deg); } 100% { transform: none; } }
/* saludo: se agacha, salta inclinándose a un lado y al otro, y cae con un aplastón */
.legal-welcome .lw-s1.is-hi .lw-body { animation: lw-dance 1.7s ease-in-out infinite; }
@keyframes lw-dance {
  0%, 100% { transform: scale(1.04, .94); }
  14% { transform: scale(1.12, .84); }
  34% { transform: translateY(-15%) scale(.93, 1.1) rotate(-8deg); }
  52% { transform: translateY(-13%) scale(.95, 1.07) rotate(8deg); }
  70% { transform: translateY(0) scale(1.12, .86) rotate(0); }
  84% { transform: scale(.98, 1.03); }
}
/* contenta: se mece y se ríe */
.legal-welcome .lw-s1.is-joy .lw-body { animation: lw-sway 1.2s ease-in-out infinite; }
@keyframes lw-sway { 0%, 100% { transform: rotate(-6deg) translateY(0); } 25% { transform: rotate(0) translateY(-5%) scale(.97, 1.04); } 50% { transform: rotate(6deg) translateY(0); } 75% { transform: rotate(0) translateY(-5%) scale(.97, 1.04); } }
/* antes de volar: se agacha como resorte */
.legal-welcome .lw-s1.is-crouch .lw-body { animation: lw-crouch .38s cubic-bezier(.3,0,.4,1) both; }
@keyframes lw-crouch { from { transform: none; } to { transform: scale(1.16, .78); } }
.legal-welcome .lw-s1.is-fly .lw-body { animation: lw-zoom 1.1s ease-out both; }
@keyframes lw-zoom { 0% { transform: scale(1.16, .78); } 22% { transform: scale(.8, 1.3); } 68% { transform: scale(.9, 1.12) rotate(-4deg); } 88% { transform: scale(1.2, .8); } 100% { transform: none; } }
/* ya en el logo: queda quieta hasta que le hagan cosquillas */
.legal-welcome .lw-s1.is-logo .lw-body { animation: none; }
/* cosquillas: al tocarla salta y se ríe */
.legal-welcome .lw-s1.is-giggle .lw-body { animation: lw-giggle .7s ease-out both; }
@keyframes lw-giggle { 0% { transform: scale(1.14, .82); } 25% { transform: translateY(-14%) scale(.93, 1.1) rotate(-10deg); } 45% { transform: translateY(0) scale(1.1, .88) rotate(8deg); } 65% { transform: rotate(-5deg); } 85% { transform: rotate(3deg); } 100% { transform: none; } }

.legal-welcome .lw-eye { position: absolute; top: -.093em; width: .15em; height: .15em; border-radius: 50%; background: currentColor; transform-origin: 50% 50%; translate: calc(var(--lx, 0) * .03em) calc(var(--ly, 0) * .022em); transition: translate .18s ease-out, scale .35s cubic-bezier(.3,1.9,.5,1), height .2s ease, border-radius .2s ease, margin-top .2s ease; }
.legal-welcome .lw-el { left: .184em; }
.legal-welcome .lw-er { left: .397em; }
.legal-welcome .lw-s1.is-drop .lw-eye { animation: lw-blink 4.6s infinite; }
.legal-welcome .lw-s1.is-drop:not(.is-open) .lw-eye { transform: scaleY(.08); animation: none; }
/* ojos grandes de sorpresa al saludar; ojos felices (^ ^) al reírse */
.legal-welcome .lw-s1.is-hi .lw-eye { scale: 1.22; }
.legal-welcome .lw-s1.is-joy .lw-eye, .legal-welcome .lw-s1.is-giggle .lw-eye { scale: 1.1; height: .075em; margin-top: .04em; border-radius: .15em .15em 0 0; }
.legal-welcome .lw-s1.is-wink .lw-er { animation: lw-wink .7s ease both; }
@keyframes lw-blink { 0%, 92%, 100% { transform: none; } 95% { transform: scaleY(.08); } }
@keyframes lw-wink { 0%, 100% { transform: none; } 40%, 60% { transform: scaleY(.08); } }

/* destellos */
.legal-welcome .lw-sparks { position: absolute; left: 50%; top: 42%; width: 0; height: 0; pointer-events: none; }
.legal-welcome .lw-sparks i { position: absolute; left: -.04em; top: -.04em; width: .08em; height: .08em; border-radius: 50%; background: var(--c, #fff); opacity: 0; }
.legal-welcome .lw-sparks i:nth-child(3n) { border-radius: .01em; transform: rotate(45deg); }
.legal-welcome .lw-sparks.go i { animation: lw-spark .8s cubic-bezier(.1,.7,.3,1) both; animation-delay: var(--d, 0s); }
@keyframes lw-spark { 0% { opacity: 1; transform: translate(0, 0) scale(.4); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(cos(var(--a)) * var(--r2, .9em)), calc(sin(var(--a)) * var(--r2, .9em))) scale(1.5); } }

/* globo de diálogo */
.legal-welcome .lw-bubble { position: absolute; left: 50%; bottom: calc(50% + var(--cs) * .8); z-index: 4; max-width: min(86%, 440px); padding: 14px 22px; border-radius: 20px; background: #fff; color: #231a8f; font: 800 clamp(20px, 4.4vw, 28px)/1.2 'Burotec Sans', sans-serif; letter-spacing: -.02em; text-align: center; box-shadow: 0 14px 40px rgba(6,4,60,.4); opacity: 0; transform: translate(-50%, 14px) scale(.85); transform-origin: 50% 100%; transition: opacity .35s ease, transform .45s cubic-bezier(.3,1.6,.5,1); }
.legal-welcome .lw-bubble::after { content: ''; position: absolute; left: 50%; bottom: -9px; width: 20px; height: 20px; background: #fff; border-radius: 3px; transform: translateX(-50%) rotate(45deg); }
.legal-welcome .lw-s1.is-bubble .lw-bubble { opacity: 1; transform: translate(-50%, 0) scale(1); }
.legal-welcome .lw-s1.is-bubble .lw-bubble.bump { animation: lw-bump .45s cubic-bezier(.3,1.7,.5,1); }
@keyframes lw-bump { 0% { transform: translate(-50%, 0) scale(.82) rotate(-3deg); } 60% { transform: translate(-50%, -4px) scale(1.08) rotate(1.5deg); } 100% { transform: translate(-50%, 0) scale(1); } }

/* ---------- 2 a 6: estructura común ---------- */
.legal-welcome .lw-wrap { position: relative; width: 100%; max-width: 980px; margin: 0 auto; padding: 56px 32px 40px; }
.legal-welcome .lw-wrap--narrow { max-width: 560px; text-align: center; }
.legal-welcome .lw-eb { margin: 0 0 10px; color: #5b4bd8; font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.legal-welcome .lw-h { margin: 0 0 12px; font-size: clamp(28px, 5.6vw, 44px); line-height: 1.08; font-weight: 900; letter-spacing: -.04em; color: #1b1a4d; text-wrap: balance; }
.legal-welcome .lw-p { margin: 0 0 22px; max-width: 58ch; font-size: 17px; line-height: 1.55; color: #475569; }
.legal-welcome .lw-wrap--narrow .lw-p { margin-inline: auto; }
.legal-welcome .lw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border: 0; border-radius: 14px; background: linear-gradient(120deg, #3e46e0, #6a3fe0); color: #fff; font: 800 16px 'Burotec Sans', sans-serif; cursor: pointer; box-shadow: 0 10px 24px rgba(69,57,223,.28); }
.legal-welcome .lw-btn:disabled { opacity: .45; box-shadow: none; cursor: not-allowed; }
.legal-welcome .lw-btn--block { width: 100%; margin-top: 8px; }
.legal-welcome .lw-btn--ghost { background: #fff; color: #362fd1; border: 1px solid #cfd3f1; box-shadow: none; }
.legal-welcome .lw-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 4px; border: 0; background: none; color: #362fd1; font: 700 15px 'Burotec Sans', sans-serif; cursor: pointer; }
.legal-welcome button:focus-visible, .legal-welcome input:focus-visible + i, .legal-welcome .lw-doc:focus-visible { outline: 3px solid #1d9bff; outline-offset: 2px; }

/* la Ü acompañante (escenas 2 y 3) */
.legal-welcome .lw-mini { --ms2: 84px; position: relative; display: block; width: .72em; height: 1em; align-self: start; justify-self: start; margin: 12px 0 8px; font: 700 var(--ms2)/1 'Burotec Inter', sans-serif; color: #4539df; }
.legal-welcome .lw-mini--lg { --ms2: 112px; margin: 14px auto 0; }
.legal-welcome .lw-mbody { position: relative; display: inline-block; transform-origin: 50% 100%; opacity: 0; pointer-events: auto; cursor: pointer; }
.legal-welcome .lw-mshadow { position: absolute; left: 50%; top: 88%; width: .62em; height: .07em; margin-left: -.31em; border-radius: 50%; background: rgba(40,30,140,.22); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.legal-welcome .lw-mini.is-in .lw-mbody { opacity: 1; animation: lw-drop 1s cubic-bezier(.3,.7,.4,1) both; }
.legal-welcome .lw-mini.is-in .lw-mshadow { opacity: 1; }
.legal-welcome .lw-mini.is-settled .lw-mbody { animation: none; }
.legal-welcome .lw-mini.is-hop .lw-mbody { animation: lw-mhop .8s ease-out both; }
.legal-welcome .lw-mini.is-joy .lw-mbody { animation: lw-sway 1.2s ease-in-out infinite; }
@keyframes lw-mhop { 0% { transform: scale(1.14, .82); } 30% { transform: translateY(-16%) scale(.94, 1.1) rotate(-7deg); } 60% { transform: translateY(0) scale(1.1, .88) rotate(5deg); } 100% { transform: none; } }
.legal-welcome .lw-meye { position: absolute; top: -.093em; width: .15em; height: .15em; border-radius: 50%; background: currentColor; translate: calc(var(--lx, 0) * .03em) calc(var(--ly, 0) * .022em); transition: translate .22s ease-out, scale .3s cubic-bezier(.3,1.9,.5,1), height .2s ease, border-radius .2s ease, margin-top .2s ease; }
.legal-welcome .lw-mel { left: .184em; } .legal-welcome .lw-mer { left: .397em; }
.legal-welcome .lw-mini.is-in .lw-meye { animation: lw-blink 4.2s infinite; }
.legal-welcome .lw-mini.is-joy .lw-meye { scale: 1.1; height: .075em; margin-top: .04em; border-radius: .15em .15em 0 0; }
.legal-welcome .lw-mini.is-wow .lw-meye { scale: 1.3; }
.legal-welcome .lw-mini .lw-sparks i { background: var(--c, #4539df); }
/* gestos: cada ítem tiene el suyo */
.legal-welcome .lw-mini.g-nod .lw-mbody { animation: lw-g-nod .95s ease-in-out both; }
.legal-welcome .lw-mini.g-tick .lw-mbody { animation: lw-g-tick 1s ease-in-out both; }
.legal-welcome .lw-mini.g-buzz .lw-mbody { animation: lw-g-buzz .8s linear both; }
.legal-welcome .lw-mini.g-coin .lw-mbody { animation: lw-g-coin .9s ease-in-out both; }
.legal-welcome .lw-mini.g-grow .lw-mbody { animation: lw-g-grow 1s cubic-bezier(.3,1.5,.5,1) both; }
.legal-welcome .lw-mini.g-peek .lw-mbody { animation: lw-g-peek 1s ease-in-out both; }
@keyframes lw-g-nod { 0%, 100% { transform: none; } 22% { transform: translateY(3%) scale(1.07, .86); } 44% { transform: scale(.97, 1.05); } 66% { transform: translateY(3%) scale(1.07, .86); } 85% { transform: scale(.99, 1.02); } }
@keyframes lw-g-tick { 0%, 100% { transform: none; } 20% { transform: rotate(-11deg); } 45% { transform: rotate(11deg); } 70% { transform: rotate(-7deg); } 88% { transform: rotate(3deg); } }
@keyframes lw-g-buzz { 0%, 100% { transform: none; } 10%, 50%, 90% { transform: translateX(-4%) rotate(-5deg); } 30%, 70% { transform: translateX(4%) rotate(5deg); } }
@keyframes lw-g-coin { 0%, 100% { transform: none; } 20% { transform: translateY(-14%) scale(.94, 1.1); } 40% { transform: scale(1.1, .88); } 60% { transform: translateY(-9%) scale(.96, 1.06); } 78% { transform: scale(1.06, .92); } }
@keyframes lw-g-grow { 0% { transform: scale(1.1, .85); } 40% { transform: scale(.88, 1.3); } 70% { transform: scale(1.04, .96); } 100% { transform: none; } }
@keyframes lw-g-peek { 0%, 100% { transform: none; } 25%, 75% { transform: rotate(9deg) translateY(2%); } }
.legal-welcome .lw-mini.g-buzz .lw-meye, .legal-welcome .lw-mini.g-coin .lw-meye { scale: 1.35; }

/* ---------- 2 · Qué vas a manejar ---------- */
.legal-welcome .lw-tiles { display: grid; gap: 0; margin: 28px 0 30px; }
.legal-welcome .lw-tile { position: relative; display: flex; align-items: flex-start; gap: 18px; padding: 0 0 26px; animation: lw-rise .6s cubic-bezier(.3,1.3,.5,1) both; animation-delay: calc(var(--i) * .6s + .8s); }
.legal-welcome .lw-tile:not(:last-child)::before { content: ''; position: absolute; left: 25px; top: 58px; bottom: 6px; width: 3px; border-radius: 3px; background: linear-gradient(var(--c), color-mix(in srgb, var(--c) 18%, transparent)); }
@keyframes lw-rise { from { opacity: 0; transform: translateY(22px) scale(.96); } }
.legal-welcome .lw-tic { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 17px; background: var(--c); color: #fff; box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 38%, transparent); }
.legal-welcome .lw-tic .app-icon { width: 26px; height: 26px; }
.legal-welcome .lw-tile h3 { margin: 2px 0 4px; font-size: 21px; letter-spacing: -.02em; color: #1b1a4d; }
.legal-welcome .lw-tile p { margin: 0; max-width: 40ch; font-size: 16px; line-height: 1.45; color: #475569; }
.legal-welcome .lw-wa { color: #0e8a43; } .legal-welcome .lw-em { color: #1d6fe0; }
.legal-welcome .lw-foot { display: flex; justify-content: space-between; gap: 12px; }
@media (min-width: 820px) {
  .legal-welcome .lw-s2 .lw-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: ". tiles" "mini tiles" "eb tiles" "h tiles" "foot tiles" ". tiles"; grid-template-rows: 1fr auto auto auto auto 1fr; column-gap: 64px; align-items: start; min-height: 100%; }
  .legal-welcome .lw-s2 .lw-mini { grid-area: mini; } .legal-welcome .lw-s2 .lw-eb { grid-area: eb; } .legal-welcome .lw-s2 .lw-h { grid-area: h; } .legal-welcome .lw-s2 .lw-foot { grid-area: foot; justify-content: flex-start; margin-top: 18px; }
  .legal-welcome .lw-s2 .lw-tiles { grid-area: tiles; margin: 0; align-self: center; }
}
@media (max-width: 520px) { .legal-welcome .lw-wrap { padding: 36px 20px 32px; } .legal-welcome .lw-tile h3 { font-size: 19px; } }

/* ---------- 3 · Términos ---------- */
.legal-welcome .lw-s3 .lw-wrap { padding-top: 64px; }
.legal-welcome .lw-hero { position: relative; display: inline-block; margin: 10px 0 14px; }
.legal-welcome .lw-shield { position: absolute; right: -42px; bottom: 2px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: linear-gradient(135deg, #3e46e0, #7935df); color: #fff; box-shadow: 0 10px 22px rgba(69,57,223,.38); opacity: 0; transform: scale(.4) rotate(-14deg); transition: background .35s ease, box-shadow .35s ease; }
.legal-welcome .lw-s3.on .lw-shield { animation: lw-badge .7s cubic-bezier(.3,1.7,.5,1) 1s both, lw-float 3s ease-in-out 1.8s infinite; }
.legal-welcome .lw-shield.ok { background: linear-gradient(135deg, #12a150, #0e8f8a); box-shadow: 0 10px 22px rgba(18,161,80,.42); animation: lw-badge-ok .6s cubic-bezier(.3,1.9,.5,1), lw-float 3s ease-in-out .6s infinite; opacity: 1; transform: none; }
@keyframes lw-badge { from { opacity: 0; transform: scale(.4) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes lw-badge-ok { 0% { transform: scale(1); } 40% { transform: scale(1.35) rotate(-8deg); } 100% { transform: none; } }
@keyframes lw-float { 50% { translate: 0 -5px; } }
.legal-welcome .lw-shield .app-icon { width: 26px; height: 26px; }
.legal-welcome .lw-read { font-family: 'Burotec Sans', sans-serif; display: flex; align-items: center; gap: 14px; width: 100%; margin: 4px 0 18px; padding: 16px 18px; border: 1px solid #cfd3f1; border-radius: 16px; background: #fff; color: #1b1a4d; text-align: left; cursor: pointer; }
.legal-welcome .lw-read span { flex: 1; display: grid; gap: 3px; }
.legal-welcome .lw-read b { font-size: 17px; } .legal-welcome .lw-read small { font-size: 14px; color: #64748b; }
.legal-welcome .lw-read .app-icon { color: #5b4bd8; }
.legal-welcome .lw-chk { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 14px; text-align: left; font-size: 16px; line-height: 1.45; color: #334155; cursor: pointer; }
.legal-welcome .lw-chk input { position: absolute; opacity: 0; }
.legal-welcome .lw-chk i { flex: none; width: 26px; height: 26px; margin-top: 1px; border: 2px solid #a5abd6; border-radius: 8px; background: #fff; transition: all .2s; }
.legal-welcome .lw-chk input:checked + i { border-color: #4539df; background: #4539df url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 80% no-repeat; }
.legal-welcome .lw-sheet { position: absolute; inset: 0; z-index: 30; display: grid; align-items: end; justify-items: center; }
.legal-welcome .lw-sheet[hidden] { display: none; }
.legal-welcome .lw-sheet-bg { position: absolute; inset: 0; background: rgba(15,12,74,.55); animation: lw-in .3s ease both; }
.legal-welcome .lw-sheet-card { position: relative; display: flex; flex-direction: column; width: min(640px, 100%); max-height: 88vh; max-height: 88dvh; overflow: hidden; border-radius: 26px 26px 0 0; background: #fff; box-shadow: 0 -20px 60px rgba(8,6,70,.35); animation: lw-up .4s cubic-bezier(.3,1.2,.5,1) both; }
@keyframes lw-up { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 700px) { .legal-welcome .lw-sheet { align-items: center; } .legal-welcome .lw-sheet-card { border-radius: 26px; } }
.legal-welcome .lw-sheet-card header { display: flex; justify-content: space-between; gap: 12px; padding: 22px 24px 8px; }
.legal-welcome .lw-sheet-card header h3 { margin: 0; font-size: 22px; letter-spacing: -.02em; color: #1b1a4d; }
.legal-welcome .lw-x { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 1px solid #dde1ee; border-radius: 12px; background: #fff; color: #475569; cursor: pointer; }
.legal-welcome .lw-doc { flex: 1; min-height: 0; margin: 8px 24px; padding: 18px; overflow: auto; border: 1px solid #e3e6f6; border-radius: 16px; background: #fafbff; font-size: 16px; line-height: 1.6; color: #475569; }
.legal-welcome .lw-doc section + section { margin-top: 18px; }
.legal-welcome .lw-doc h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: 0; color: #1b1a4d; } .legal-welcome .lw-doc p { margin: 0 0 10px; }
.legal-welcome .lw-err { min-height: 22px; margin: 0 0 8px; color: #b32f48; font-size: 14px; font-weight: 700; text-align: left; }
.legal-welcome .lw-sheet-sum { margin: 6px 0 0; color: #64748b; font-size: 14px; line-height: 1.45; }
.legal-welcome .lw-doc-note { margin: 0 0 14px; padding: 12px 14px; border-left: 4px solid #5b4bd8; border-radius: 10px; background: #eeeaff; color: #2c2392; font-size: 15px; }
.legal-welcome .lw-sheet-card footer { display: flex; justify-content: flex-end; padding: 12px 24px 22px; }

@media (prefers-reduced-motion: reduce) { .legal-welcome * { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; } }