/* Cubierta de pre-lanzamiento dentro de #auth-modal (pestaña "Muy pronto").
   Se incluye en landing.html y base.html; ver static/js/launch.js.
   Mismo lenguaje que el acceso tipo Pearson: texto alineado a la izquierda,
   opciones como botones de borde fino, un solo color de acción. Solo tokens. */
.launch-panel { text-align: left; padding-top: 4px; }
.launch-panel__icon { display: none; }
.launch-panel__title { font-size: 18px; font-weight: 700; color: var(--text); margin: 0 0 6px; line-height: 1.3; }
.launch-panel__text { font-size: 14px; line-height: 1.55; color: var(--text-secondary); margin: 0 0 16px; }
.launch-offer {
    margin: 0 0 16px; padding: 12px 14px; border-radius: var(--radius);
    background: var(--primary-tint); border-left: 3px solid var(--primary);
}
.launch-offer__tag {
    display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase; color: var(--primary-dark); margin-bottom: 4px;
}
.launch-offer__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text); }
.launch-offer__text strong { color: var(--text); }
.launch-panel__done-sub { font-size: 13px !important; font-weight: 400 !important; color: var(--muted) !important; margin-top: 6px !important; }
.launch-panel__q { font-size: 14px; font-weight: 700; color: var(--text); margin: 4px 0 8px; }
.launch-plans { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.launch-plan {
    min-height: 34px; padding: 0 14px; border-radius: var(--radius); cursor: pointer; font: inherit;
    font-size: 14px; font-weight: 700; color: var(--text);
    background: var(--surface); border: 1px solid var(--border-strong); transition: border-color .12s, background-color .12s;
}
.launch-plan:hover { border-color: var(--primary); }
.launch-plan.active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.launch-plan:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.launch-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.launch-method {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 40px; padding: 0 10px; border-radius: var(--radius); cursor: pointer; font: inherit;
    font-size: 14px; font-weight: 700; color: var(--text);
    background: var(--surface); border: 1px solid var(--border-strong); transition: border-color .12s, background-color .12s;
}
.launch-method i { color: var(--muted); }
.launch-method:hover { border-color: var(--primary); }
.launch-method.active { background: var(--primary-tint); border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.launch-method.active i { color: var(--primary); }
.launch-method:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
#auth-modal .launch-panel .field { text-align: left; }
#auth-modal .launch-panel input[type="tel"] {
    width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius);
    font-size: 14px; color: var(--text); background: var(--surface); box-sizing: border-box; font-family: inherit;
}
.launch-panel__msg { min-height: 1.2em; margin: 8px 0 0; font-size: 13px; color: var(--danger); }
.launch-panel__msg.is-ok { color: var(--success); }
.launch-panel__msg:empty { margin: 0; min-height: 0; }
.launch-panel__note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.launch-panel__done { padding: 12px 0 4px; color: var(--success); }
.launch-panel__done i { font-size: 28px; margin-bottom: 8px; }
.launch-panel__done p { margin: 0; font-size: 15px; font-weight: 700; color: var(--text); }
/* #auth-modal .btn es display:flex; el atributo hidden debe ganar. */
#launch-panel [hidden] { display: none !important; }
#launch-submit-btn { margin-top: 12px; }

/* El modal es más alto que la pantalla de muchos celulares (cubierta + planes
   + medio de contacto). El fondo se desplaza y la tarjeta se centra sólo cuando
   cabe (margin:auto); si no cabe, se pega arriba y se puede bajar hasta el final. */
#auth-modal.show { align-items: flex-start; overflow-y: auto; -webkit-overflow-scrolling: touch; }
#auth-modal .modal__content { margin: auto; max-height: none; }

@media (max-width: 480px) {
    .launch-panel__title { font-size: 17px; }
    .launch-panel__text { font-size: 13px; margin-bottom: 12px; }
    .launch-offer { padding: 10px 12px; margin-bottom: 12px; }
    .launch-offer__text { font-size: 13px; }
    .launch-plans { gap: 6px; margin-bottom: 12px; }
    .launch-plan { padding: 0 12px; font-size: 13px; }
    .launch-methods { margin-bottom: 10px; }
}
