/* InTerms · diálogo de registro y bienvenida (js/bienvenida.js). Usa los tokens de v3.css. */
dialog.bv { position: fixed; inset: 0; margin: auto; height: fit-content; max-height: calc(100vh - 28px); border: 0; padding: 0; background: transparent; max-width: min(520px, calc(100vw - 28px)); width: 100%; color: var(--ink, #141413); overflow: visible; }
dialog.bv::backdrop { background: rgba(13, 39, 28, .42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
dialog.bv[open] { animation: bv-in .38s cubic-bezier(.2, .8, .2, 1); }
dialog.bv[open]::backdrop { animation: bv-fade .3s ease; }
@keyframes bv-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes bv-fade { from { opacity: 0; } }
.bv-card { position: relative; max-height: calc(100vh - 28px); overflow-y: auto; background: var(--cream, #FAFAF8); border-radius: 22px; padding: 34px 32px 28px; box-shadow: 0 30px 80px rgba(13, 39, 28, .28), 0 0 0 1px rgba(20, 20, 19, .06); font-family: var(--brand, 'Inter', system-ui, sans-serif); letter-spacing: -.01em; text-align: left; }
.bv-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--ink2, #4A4A46); font-size: 20px; line-height: 1; cursor: pointer; }
.bv-x:hover { background: rgba(20, 20, 19, .07); }
.bv-eye { font: 650 11px/1 var(--brand, 'Inter', sans-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--green, #1B4332); display: flex; align-items: center; gap: 8px; }
.bv-eye i { width: 6px; height: 6px; background: var(--mint, #7ED696); display: block; }
.bv-card h2 { font-family: 'EB Garamond', Georgia, serif; font-weight: 500; font-size: 2.15rem; line-height: 1.04; letter-spacing: -.02em; margin: 14px 0 10px; text-wrap: balance; }
.bv-card p { font-size: 15.5px; line-height: 1.5; color: var(--ink2, #4A4A46); }
.bv-card p b { color: var(--ink, #141413); font-weight: 600; }
.bv-form { display: flex; gap: 6px; margin-top: 20px; padding: 5px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(20, 20, 19, .14); }
.bv-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 0 16px; outline: none; color: var(--ink, #141413); }
.bv-form button { border: 0; background: var(--green, #1B4332); color: var(--cream, #FAFAF8); font: 600 15px var(--brand, 'Inter', sans-serif); padding: 12px 20px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.bv-form button:disabled { opacity: .6; cursor: progress; }
.bv-msg { min-height: 1.3em; margin-top: 10px; font-size: 13.5px !important; color: #B4532A !important; }
.bv-nota { font-size: 12.5px !important; color: var(--ink3, #8A8984) !important; margin-top: 4px; }
.bv-nota a { color: inherit; }
.bv-lec { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--paper, #F3F2EE); font-size: 14px; line-height: 1.35; }
.bv-lec small { display: block; font: 650 10.5px var(--brand, 'Inter', sans-serif); letter-spacing: .12em; text-transform: uppercase; color: var(--green, #1B4332); margin-bottom: 3px; }
.bv-acc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.bv-a { display: flex; flex-direction: column; gap: 3px; text-decoration: none; border-radius: 16px; padding: 16px 16px 15px; font-family: var(--brand, 'Inter', sans-serif); transition: transform .16s ease; }
.bv-a:active { transform: scale(.98); }
.bv-a b { font-size: 16px; font-weight: 650; letter-spacing: -.015em; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.bv-a span { font-size: 12.5px; line-height: 1.3; opacity: .72; }
.bv-a.p { background: var(--green, #1B4332); color: var(--cream, #FAFAF8); }
.bv-a.s { background: transparent; color: var(--ink, #141413); box-shadow: inset 0 0 0 1.5px var(--ink, #141413); }
.bv-a.s:hover { background: var(--ink, #141413); color: var(--cream, #FAFAF8); }
.bv-a.solo { grid-column: 1 / -1; }
.bv-seguir { display: block; margin: 16px auto 0; border: 0; background: none; font: 600 13.5px var(--brand, 'Inter', sans-serif); color: var(--ink2, #4A4A46); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) { .bv-card { padding: 30px 22px 22px; } .bv-card h2 { font-size: 1.85rem; } .bv-acc { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { dialog.bv[open], dialog.bv[open]::backdrop { animation: none; } }
