:root{--ink:#1d2441;--muted:#626880;--blue:#293cd6;--pale:#eef0ff;--line:#dde0eb;--bg:#f6f7fb;--green:#15664b;--red:#a7333b;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100svh;display:flex;flex-direction:column}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default}a{color:var(--blue)}button:focus-visible,a:focus-visible{outline:3px solid #ef9844;outline-offset:5px}button{touch-action:manipulation}h1,h2,h3,p{margin:0}h1,h2,.word,.review-word{font-family:Georgia,'Times New Roman',serif;font-weight:400}h2{font-size:2.7rem;line-height:1.1}p{line-height:1.6}.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;max-width:1440px;width:100%;margin:auto;padding:27px 5%}.brand{display:flex;align-items:center;gap:11px;font-size:1.25rem;letter-spacing:-.04em;font-weight:700;text-decoration:none;color:var(--ink)}.brand-mark{background:var(--blue);color:white;display:grid;place-items:center;width:37px;height:37px;border-radius:10px;font:28px Georgia;padding-bottom:4px}.beta{font-size:.65rem;letter-spacing:.12em;font-weight:500;margin-left:15px;color:var(--muted)}.quiet{border:0;background:transparent;color:var(--muted);font-size:.9rem;padding:10px}.quiet span{border:1px solid var(--line);border-radius:50%;padding:2px 7px;margin-left:8px}main{flex:1;width:100%}footer{display:flex;justify-content:space-between;gap:20px;margin:0 5%;padding:23px 0;border-top:1px solid var(--line);color:var(--muted);font-size:.78rem}.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--blue)}.home{max-width:1240px;margin:45px auto 65px;padding:0 5%;display:grid;grid-template-columns:1.1fr 1fr;gap:75px;align-items:center}.home h1{font-size:clamp(3.9rem,7vw,6.2rem);line-height:1.04;letter-spacing:-.055em;margin:24px 0}.home h1 em{color:var(--blue);font-weight:400}.intro{font-size:1.12rem;color:var(--muted);max-width:420px}.primary{border:0;background:var(--blue);color:white;padding:17px 27px;border-radius:12px;font-weight:700;font-size:1rem;box-shadow:0 5px 12px #293cd61a}.primary:hover{background:#1c2cae}.start{margin-top:28px;width:255px;display:flex;justify-content:center;gap:14px;align-items:center}.start small{font-weight:400;opacity:.8;border-left:1px solid #ffffff55;padding-left:14px}.micro{font-size:.8rem;color:var(--muted);margin-top:14px}.stats{display:flex;gap:26px;margin-top:38px;padding-top:25px;border-top:1px solid var(--line);max-width:430px}.stat strong{display:block;font-size:1.5rem;font-weight:500;margin-bottom:6px}.stat span{font-size:.8rem;color:var(--muted)}.illustration{min-height:475px;border-radius:28px;background:#e9ecfc;position:relative;padding:50px 28px 35px;overflow:hidden}.orb{position:absolute;border:1px solid #d3d9f4;border-radius:50%;width:440px;height:440px;right:-165px;top:-160px}.orb.two{right:-120px;top:-115px;width:350px;height:350px}.letter{position:absolute;right:20px;top:0;font:180px Georgia;color:#d5dbf6;transform:rotate(12deg)}.sample{background:white;border:1px solid #dde2f7;box-shadow:0 12px 40px #29315d0e;border-radius:17px;position:relative;padding:28px;transform:rotate(-4deg);max-width:345px;margin:20px auto 0}.sample .eyebrow{font-size:.64rem}.sample h2{font-size:3.25rem;margin:18px 0 6px;letter-spacing:-.04em}.sample .pos{font-size:.85rem;color:var(--muted);font-style:italic}.sample p{margin-top:18px;font-size:1.08rem}.sample .example{font-size:.9rem;color:var(--muted);padding-top:15px;border-top:1px solid var(--line)}.stamp{background:#d9f3b7;color:#315222;padding:12px 19px;border-radius:9px;position:absolute;bottom:28px;right:12px;transform:rotate(5deg);font-size:.83rem;font-weight:700;box-shadow:0 6px 20px #29315d0d}.illustration-caption{text-align:center;margin-top:45px;color:#5c6484;font-size:.8rem}.game{max-width:850px;margin:20px auto 45px;padding:0 24px}.game-top{display:flex;justify-content:space-between;gap:20px;align-items:center}.round-label{font-size:.85rem;font-weight:700}.score{font-size:.85rem;color:var(--muted);background:white;border:1px solid var(--line);padding:10px 15px;border-radius:30px}.score strong{color:var(--ink)}.progress{display:flex;gap:7px;margin:16px 0 28px}.step{height:5px;border-radius:10px;background:var(--line);flex:1}.step.current{background:var(--blue)}.step.good{background:#318569}.step.bad{background:#ca6067}.question-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:24px}.word{font-size:clamp(3rem,7vw,4.3rem);line-height:1.05;letter-spacing:-.04em;margin:9px 0 8px;overflow-wrap:anywhere}.word:focus{outline:0}.pos{color:var(--muted);font-size:.84rem;font-style:italic}.timer{--fraction:1;min-width:79px;width:79px;height:79px;border-radius:50%;background:conic-gradient(var(--blue) calc(var(--fraction)*360deg),#e4e7f5 0);display:grid;place-items:center;transition:background .1s}.timer-inner{background:var(--bg);width:67px;height:67px;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center}.timer b{font-size:1.6rem;font-weight:600;font-variant-numeric:tabular-nums}.timer small{font-size:.7rem;color:var(--muted)}.timer.urgent{background:conic-gradient(var(--red) calc(var(--fraction)*360deg),#f1e1e3 0);color:var(--red)}.prompt{font-size:.95rem;color:var(--muted);margin-bottom:14px}.choices{display:grid;gap:11px}.choice{display:flex;align-items:flex-start;text-align:left;gap:17px;border:1px solid var(--line);border-radius:14px;padding:20px 22px;background:white;color:var(--ink);width:100%;transition:border-color .15s,box-shadow .15s}.choice:not(:disabled):hover{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}.choice-key{display:grid;place-items:center;min-width:31px;height:31px;border-radius:8px;background:#f3f4f8;color:var(--muted);font-size:.85rem;border:1px solid #e7e9f0;margin-top:1px}.definition{display:block;font-size:1rem;font-weight:600;line-height:1.45}.example{display:block;font-family:Georgia,serif;font-style:italic;color:var(--muted);font-size:1rem;line-height:1.45;margin-top:7px}.choice.correct{border-color:#73af98;background:#f0f9f4}.choice.correct .choice-key{background:#d9efe2;border-color:#d9efe2;color:var(--green)}.choice.wrong{border-color:#dca7ac;background:#fff4f3}.choice.wrong .choice-key{background:#f7dfe1;border-color:#f7dfe1;color:var(--red)}.choice.false{background:#f5f5f8}.choice-tag{display:block;font-size:.75rem;font-weight:700;margin-top:9px;color:var(--muted)}.correct .choice-tag{color:var(--green)}.wrong .choice-tag{color:var(--red)}.keyboard{text-align:center;font-size:.75rem;color:var(--muted);margin-top:19px}.feedback{margin-top:20px;background:white;border:1px solid var(--line);padding:22px;border-radius:14px;display:flex;gap:20px;justify-content:space-between;align-items:center}.feedback h3{font-size:1.15rem;margin-bottom:7px;color:var(--green)}.feedback.missed h3{color:var(--red)}.feedback p{font-size:.86rem;color:var(--muted)}.feedback a{display:inline-block;font-size:.8rem;margin-top:10px}.feedback .primary{flex-shrink:0}.result{max-width:850px;margin:30px auto 50px;padding:0 24px}.result-hero{text-align:center;padding:15px 0 35px}.result-icon{display:inline-grid;place-items:center;color:var(--blue);background:var(--pale);height:53px;width:53px;border-radius:16px;font-size:1.8rem;margin-bottom:20px}.result h1{font-size:3.5rem;margin:12px 0}.result-score{font-family:Georgia,serif;font-size:4.7rem;color:var(--blue);margin:5px 0}.result-score span{font:1.4rem Arial;color:var(--muted)}.result .intro{margin:auto;max-width:530px;font-size:1rem}.result .primary{margin-top:24px}.review-title{display:flex;justify-content:space-between;align-items:center;margin:10px 0 20px}.review-title h2{font:1.2rem Arial;font-weight:600}.review-title span{font-size:.78rem;color:var(--muted)}.review{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.review-item{padding:22px 24px;border-bottom:1px solid var(--line)}.review-item:last-child{border-bottom:0}.review-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:9px}.review-word{font-size:1.65rem;color:var(--ink);text-decoration:none}.review-word:hover{text-decoration:underline}.badge{font-size:.75rem;color:var(--green);background:#eaf5ee;padding:6px 9px;border-radius:6px}.badge.miss{color:var(--red);background:#fff0f0}.review-item p{font-size:.92rem}.review-item .example{font-size:.9rem}.bank-note{text-align:center;font-size:.77rem;color:var(--muted);margin-top:19px}dialog{border:1px solid var(--line);border-radius:20px;max-width:600px;width:calc(100% - 32px);padding:30px;color:var(--ink);box-shadow:0 20px 100px #18204930}dialog::backdrop{background:#18204977;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}dialog h2{margin-bottom:20px}dialog ol{padding-left:22px;line-height:1.6}dialog li{padding-left:4px;margin-bottom:10px}dialog p{font-size:.9rem;color:var(--muted)}.source-note{background:var(--bg);padding:18px;margin-top:22px;border-radius:12px}.source-note strong{font-size:.9rem}.source-note p{font-size:.8rem;margin:8px 0}.source-note a{font-size:.85rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1600px){.home{margin-top:8vh;margin-bottom:10vh}}@media(max-width:800px){.home{gap:28px;margin-top:25px}.home h1{font-size:4rem}.illustration{padding:30px 18px;min-height:430px}.sample{padding:22px}.sample h2{font-size:2.7rem}.stats{gap:18px}.beta{display:none}}@media(max-width:620px){.topbar{padding:18px 20px}.brand{font-size:1.15rem}.quiet{font-size:.8rem}.home{display:block;margin:25px auto 32px;padding:0 25px}.home h1{font-size:4.2rem;margin:20px 0}.intro{font-size:1.05rem}.start{width:100%}.stats{justify-content:space-between;max-width:100%;margin-top:26px;padding-top:20px}.illustration{display:none}footer{font-size:.7rem;flex-direction:column;gap:7px;padding:18px 0;margin:0 24px}.game{padding:0 17px;margin:12px auto 30px}.progress{margin:14px 0 24px}.question-head{margin-bottom:20px}.word{font-size:3.4rem}.eyebrow{font-size:.65rem}.choice{padding:16px 14px;gap:12px}.definition{font-size:.94rem}.example{font-size:.94rem}.choice-key{min-width:27px;height:27px}.keyboard{display:none}.feedback{display:block;padding:18px}.feedback .primary{width:100%;margin-top:18px}.result{padding:0 17px;margin-top:10px}.result h1{font-size:2.6rem}.review-title{align-items:flex-start;gap:10px}.review-title span{max-width:120px;text-align:right}.review-item{padding:20px 17px}.timer{width:70px;height:70px;min-width:70px}.timer-inner{width:58px;height:58px}.timer b{font-size:1.45rem}dialog{padding:22px}.result .primary{width:100%}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.start{width:290px;white-space:nowrap}.illustration-caption{margin-top:35px;text-align:left;padding-left:15px;font-size:.75rem}.stamp{bottom:20px;right:16px;font-size:.75rem;padding:10px 14px}
@media(max-width:800px){.illustration-caption{display:none}}@media(max-width:620px){.start{width:100%}}
/* Versió 0.2: configuració de les quatre modalitats. */
.home-v2{margin-top:22px;margin-bottom:45px;gap:70px;align-items:center}.home-v2 h1{font-size:clamp(3.6rem,6vw,5.1rem);margin:18px 0}.home-v2 .intro{font-size:1rem}.home-v2 .stats{margin-top:22px;padding-top:20px}.home-v2 .start{margin-top:20px;width:100%;max-width:460px}.home-v2 .illustration{min-height:490px}.home-v2 .illustration-caption{display:none}fieldset{border:0;padding:0;margin:22px 0 0;min-width:0}legend{font-size:.88rem;font-weight:600;padding:0;margin-bottom:10px}.setting-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:460px}.setting-option{position:relative;cursor:pointer;display:block;min-width:0}.setting-option input{position:absolute;opacity:0;width:1px;height:1px;margin:0}.setting-card{display:block;background:white;border:1px solid var(--line);padding:15px 14px;border-radius:12px;height:100%;transition:background .15s,border-color .15s}.setting-title{font-size:1rem;font-weight:600;display:flex;justify-content:space-between;align-items:center;gap:10px}.setting-detail{display:block;color:var(--muted);font-size:.8rem;line-height:1.35;margin-top:7px}.selection-dot{width:15px;height:15px;border:1px solid #aeb4c9;border-radius:50%;flex-shrink:0}.setting-option input:checked+.setting-card{border-color:var(--blue);background:var(--pale);box-shadow:inset 0 0 0 1px var(--blue)}.setting-option input:checked+.setting-card .selection-dot{border:4px solid var(--blue);background:white}.setting-option input:focus-visible+.setting-card{outline:3px solid #ef9844;outline-offset:3px}.setting-option:hover .setting-card{border-color:var(--blue)}.mode-label{display:inline-block;font-size:.78rem;line-height:1.5;color:var(--blue);background:var(--pale);padding:6px 11px;border-radius:7px;margin:0 0 19px}.game .progress{margin-bottom:16px}.muted{color:var(--muted);font-weight:400}.result .mode-label{margin:0 0 8px}.result-actions{display:flex;justify-content:center;gap:12px;align-items:center;flex-wrap:wrap;margin-top:24px}.result-actions .primary{margin:0}.secondary{border:1px solid var(--line);border-radius:12px;padding:16px 20px;background:white;color:var(--ink);font-size:.9rem;font-weight:600}.secondary:hover{border-color:var(--blue);color:var(--blue)}.word{font-size:clamp(2rem,6vw,4.3rem)}
@media(max-width:800px){.home-v2{gap:30px}.setting-card{padding:13px 11px}.home-v2 .illustration{min-height:430px}.setting-detail{font-size:.76rem}}@media(max-width:620px){.home-v2{margin-top:17px;padding:0 22px}.home-v2 h1{font-size:3.6rem}.home-v2 .eyebrow{font-size:.64rem;letter-spacing:.1em}.home-v2 .start{max-width:none}.setting-grid{max-width:none}.setting-card{padding:15px 12px}.setting-detail{font-size:.8rem}.home-v2 .stats{margin-top:20px}.result-actions{display:grid}.result-actions .primary,.result-actions .secondary{width:100%}.word{font-size:clamp(1.8rem,8.5vw,3.4rem)}.question-head{gap:10px}.mode-label{margin-bottom:16px}}

/* Marca i lema Llemosí. */
.home-v2 h1{font-size:clamp(2.2rem,3.7vw,3.2rem);line-height:1.12;letter-spacing:-.045em;text-wrap:balance}.brand-mark{font-size:25px;padding-bottom:2px}
@media(max-width:620px){.home-v2 h1{font-size:clamp(2rem,7.8vw,2.8rem)}}
