:root{--blue:#004fef;--ink:#132849;--muted:#465975;--paper:#faf9f5;--rule:#d7dcd9;--pane:#fffefa;--font:Inter,'Helvetica Neue',Arial,sans-serif;font-family:var(--font);color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}main{flex:1}button,input{font:inherit}button,a{touch-action:manipulation}button{color:inherit;cursor:pointer}a{color:var(--blue)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #387cfa;outline-offset:4px}[tabindex="-1"]:focus{outline:none}[hidden]{display:none!important}.wrap{width:min(1180px,89vw);margin:0 auto}.skip{position:fixed;top:-100px;left:12px;z-index:10;background:white;padding:10px}.skip:focus{top:8px}body>header{border-bottom:1px solid var(--rule)}.top,.foot{display:flex;align-items:center;justify-content:space-between;gap:15px}.top{min-height:74px}.brand{border:0;background:none;display:flex;align-items:center;gap:14px;padding:0}.brand span{padding-left:14px;border-left:1px solid #a9b4c0;font-size:16px}.ui-language{display:flex;gap:2px;border:1px solid #cbd1d2;border-radius:7px;padding:3px}.ui-language button{background:none;border:0;border-radius:4px;padding:6px 10px;font-size:12px;font-weight:700}.ui-language button[aria-pressed=true]{background:var(--blue);color:white}footer{border-top:1px solid var(--rule);color:var(--muted);font-size:13px;margin-top:auto}.foot{padding-block:21px}.hero{display:grid;grid-template-columns:1.02fr 1fr;gap:9%;align-items:center;padding-block:48px 44px}.hero h1{font-size:clamp(56px,6.7vw,96px);margin:0;letter-spacing:-.065em;line-height:.99}.hero h1 em{display:block;font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.09;color:var(--blue);letter-spacing:-.08em}.postcard{width:min(100%,480px);margin:0;justify-self:end;background:#fffdf5;transform:rotate(2deg);padding:8px;border:1px solid #d6d5c8;box-shadow:0 9px 17px -6px #39352132}.postcard img{width:100%;height:auto;aspect-ratio:2;object-fit:cover;object-position:50% 59%;display:block}.pick{padding:25px 0 42px;border-top:1px solid var(--rule)}.pick h2{font-size:clamp(27px,3vw,41px);letter-spacing:-.05em;margin:0 0 16px;font-weight:620}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.language-card{padding:17px 20px;border-radius:11px;border:1px solid var(--edge);background:var(--tint);text-align:left;display:grid;grid-template-columns:1fr auto;align-items:center;transition:border-color .15s,transform .15s}.language-card:hover{border-color:var(--accent);transform:translateY(-2px)}.name{font-size:clamp(22px,2.15vw,31px);font-weight:640;letter-spacing:-.055em}.native{color:var(--muted);font:italic 15px/1.3 Georgia,serif;margin-top:3px}.arrow{grid-column:2;grid-row:1 / span 2;display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--edge);border-radius:50%;background:#ffffff54;color:var(--accent)}.arrow svg,.icon{display:block;width:18px;height:18px}.resume{margin-top:23px}
.screen{width:min(710px,89vw);margin:clamp(26px,5vh,55px) auto 48px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.text-btn{border:0;padding:6px 0;background:none;color:var(--blue);font-weight:650;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.toolbar .text-btn{text-decoration:none;padding:8px 0;display:inline-flex;gap:6px;align-items:center}.language-name{font-weight:650;color:var(--muted);font-size:14px}.sheet{padding:clamp(20px,3.4vw,39px);background:var(--pane);border:1px solid var(--rule);border-radius:16px}.passage{margin:0 0 19px;padding:13px 16px;background:#eef2f7;border-left:3px solid #8faedd;border-radius:0 5px 5px 0;color:#263f61;font-size:17px;line-height:1.5;white-space:pre-line}.sheet h1,.state h1{font-size:clamp(25px,3.1vw,38px);line-height:1.15;letter-spacing:-.045em;margin:0 0 17px}.choices{border:none;padding:0;margin:0;display:grid;gap:8px}.choice{display:flex;align-items:center;gap:12px;position:relative;padding:12px 15px;border:1px solid #d3d9df;border-radius:8px;line-height:1.45;cursor:pointer;min-height:48px}.choice:hover{border-color:#758caf}.choice:has(input:checked){border-color:var(--blue);background:#eaf0ff}.choice:has(input:focus-visible){outline:3px solid #387cfa;outline-offset:2px}.choice input{margin:0;accent-color:var(--blue);flex-shrink:0;width:17px;height:17px}.choice.skip-answer{color:#556882;border-style:dashed}.controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.primary{border:0;border-radius:7px;background:var(--blue);color:white;font-weight:700;padding:13px 19px;display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;font-size:15px}.primary:hover{background:#003bbd}.primary:disabled{cursor:not-allowed;background:#c4cddc;color:#42566f}.next{margin-left:auto}.secondary{padding:11px 16px;border:1px solid #adbac8;background:white;border-radius:7px;font-weight:620}.sound{margin:0 0 18px}.sound audio{display:block;width:min(100%,450px)}.field-grid{display:grid;gap:14px;grid-template-columns:1fr 1fr}.field{display:grid;gap:6px;font-weight:620;font-size:14px}.field input{border:1px solid #bac5cf;border-radius:6px;min-width:0;width:100%;padding:11px;background:white;color:var(--ink);font-weight:400;font-size:16px}.form-note,.desc{color:var(--muted);line-height:1.55;font-size:15px}.form-note{margin:18px 0 0}.desc{margin:0 0 19px}.result-level{margin:2px 0 14px;color:var(--blue);font:italic clamp(42px,8vw,74px)/1.12 Georgia,serif;letter-spacing:-.055em}.error{color:#a51f2c;font-weight:580;font-size:15px;line-height:1.45}.confirm{max-width:470px;width:90vw;border:1px solid var(--rule);border-radius:12px;padding:23px;background:var(--paper);color:var(--ink)}.confirm h2{margin:0 0 12px;letter-spacing:-.04em}.confirm p{color:var(--muted);line-height:1.5}.confirm::backdrop{background:#10223e59}.confirm .controls{justify-content:flex-end}
@media(max-width:700px){.top{min-height:61px}.hero{gap:6%;padding-block:31px 27px}.hero h1{font-size:clamp(43px,8.4vw,59px)}.postcard{padding:5px}.postcard img{aspect-ratio:1.28}.pick{padding:23px 0 30px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.language-card{padding:13px 12px;min-height:75px}.name{font-size:21px}.native{font-size:14px}.arrow{width:23px;height:23px}.arrow svg{width:14px}.foot{align-items:flex-start;flex-direction:column;gap:5px}.toolbar{margin-bottom:12px}.screen{width:92vw}.sheet{padding:19px 15px}.field-grid{grid-template-columns:1fr}.passage{font-size:16px}.choice{padding:10px}.controls{margin-top:14px}}@media(max-width:365px){.name{font-size:18px}.hero h1{font-size:40px}.hero{gap:4%}.language-card{padding:11px 9px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.voice-label{display:block;color:var(--muted);font-size:12px;line-height:1.4;margin:4px 0 6px 3px}

.brand-logo{display:block;width:126px;height:auto;max-width:40vw}
@media(max-width:680px){.brand-logo{width:109px}}
