@font-face{font-family:Inter;src:url('/Inter.ttf')}@font-face{font-family:Space;src:url('/SpaceGrotesk.ttf');font-weight:100 900}
:root{--navy:#1c3658;--teal:#a8dada;--coral:#ff6b6b;--paper:#f1faee;--ink:#111820}*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--navy);font-family:Inter,Arial,sans-serif;font-size:1rem}
header,footer{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 4vw;gap:1rem}header{border-bottom:1px solid #1c365825;font-size:.9rem}header img{width:230px;height:auto}main{display:grid;grid-template-columns:1fr 1.08fr;gap:4vw;min-height:77vh;padding:4vh 4vw;align-items:center}
h1,h2{font-family:Space,Arial,sans-serif}h1{font-size:clamp(2.7rem,4.6vw,5.8rem);line-height:1.04;letter-spacing:-.05em;margin:1.2rem 0 1.8rem;max-width:13ch}h2{font-size:clamp(1.5rem,2.1vw,2.5rem);line-height:1.13;margin:.6rem 0 1.1rem}.eyebrow{font-size:.9rem;font-weight:650;line-height:1.5;max-width:35rem}.lead{font-size:clamp(1.05rem,1.35vw,1.5rem);line-height:1.6;max-width:38rem}
.flow{display:flex;gap:.65rem;padding:0;margin:2.2rem 0;list-style:none}.flow li{flex:1;border-top:4px solid var(--teal);padding:.8rem .2rem}.flow span{display:block;font-size:.85rem;margin-bottom:.5rem}.flow strong{font-size:1rem;line-height:1.5}.viewer{background:#fff;min-height:57vh;padding:clamp(1.4rem,3vw,3.4rem);border:1px solid #1c365830;border-radius:1.2rem;box-shadow:0 20px 70px #1c36580a;display:flex;flex-direction:column;justify-content:center}
label{display:block;margin-top:1.6rem;margin-bottom:.5rem}input{width:100%;min-height:3rem;border:1px solid #1c365880;border-radius:.3rem;padding:.7rem;font:inherit}button{background:var(--navy);color:white;border:0;padding:1rem 1.4rem;font:600 1rem Inter,Arial,sans-serif;border-radius:.4rem;margin:1rem .4rem .2rem 0;cursor:pointer;min-height:3.2rem}button:disabled{background:#dbe2e8;color:#52616f;cursor:default}button:focus-visible,input:focus-visible{outline:3px solid var(--coral);outline-offset:3px}#reveal:not(:disabled){background:var(--coral);color:var(--ink)}.keyboard,.result-note{font-size:.9rem;line-height:1.5}#detail,#message{line-height:1.6}#message{margin-bottom:0;color:var(--navy)}pre{font-family:Inter,Arial,sans-serif;font-size:clamp(1.05rem,1.35vw,1.5rem);line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;max-height:54vh;overflow-y:auto;margin:1.2rem 0}#result[hidden],#waiting[hidden],#login[hidden]{display:none}footer{font-size:.85rem;line-height:1.4;border-top:1px solid #1c365825}.rehearsal #mode{font-weight:700;color:#8b2020}.rehearsal #mode::before{content:'ENSAYO CON DATOS FICTICIOS · '}
@media(max-width:850px){main{grid-template-columns:1fr}header img{width:160px}header,footer{flex-wrap:wrap}h1{max-width:18ch}.viewer{min-height:45vh}.flow{margin:1.3rem 0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
