:root{color-scheme:light;--brand:#2563eb;--brand-fosc:#1e40af;--bg:#f1f5f9;--surface:#fff;--surface-2:#f8fafc;--ink:#0f172a;--muted:#64748b;--line:#e2e8f0;--tint:#eff6ff;--accent:#1e40af;--ombra:0 1px 3px rgba(15,23,42,.08),0 1px 2px rgba(15,23,42,.04);--radi:14px}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--bg:#0b1220;--surface:#131c2e;--surface-2:#0f1728;--ink:#e6edf7;--muted:#a5b2c5;--line:#24324a;--tint:#182b48;--accent:#93baff;--ombra:0 1px 3px rgba(0,0,0,.4)}}
:root[data-theme=dark]{color-scheme:dark;--bg:#0b1220;--surface:#131c2e;--surface-2:#0f1728;--ink:#e6edf7;--muted:#a5b2c5;--line:#24324a;--tint:#182b48;--accent:#93baff;--ombra:0 1px 3px rgba(0,0,0,.4)}
:root[data-mida=gran]{font-size:112.5%}:root[data-mida=molt-gran]{font-size:125%}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;line-height:1.5}a{color:var(--accent)}button{font:inherit;cursor:pointer}a,button{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button:focus-visible,.tabs a:focus-visible{outline-color:#fff}[hidden]{display:none!important}.skip{position:fixed;top:-80px;left:1rem;z-index:2;padding:1rem;background:var(--surface)}.skip:focus{top:1rem}
.topbar{background:linear-gradient(100deg,var(--brand-fosc),var(--brand));color:#fff;box-shadow:var(--ombra)}.topbar-in,.wrap{max-width:980px;margin:0 auto;padding:1.1rem}.topbar-in{padding-top:.85rem;padding-bottom:.85rem}.brand-line,.tabs-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.brand-line{margin-bottom:1rem}.brand-left{display:flex;align-items:center;gap:.9rem;color:#fff;text-decoration:none}.brand-left img{height:40px;width:auto;max-width:40vw;object-fit:contain}.t{font-size:1.6rem;font-weight:800;line-height:1.2;letter-spacing:.2px}.s{font-size:1.2rem;font-weight:500;opacity:.92}.rellotge{text-align:right;font-size:.85rem;opacity:.95}.rellotge time{display:block;font-size:1.5rem;font-weight:800;font-variant-numeric:tabular-nums}.tabs,.controls{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center}.tabs a{color:#fff;text-decoration:none;padding:.45rem .85rem;border-radius:999px;font-size:.9rem;font-weight:600;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18)}.tabs a:hover{background:rgba(255,255,255,.22)}.tabs a[aria-current=page]{background:#fff;color:var(--brand-fosc);border-color:#fff}.ajust{display:flex;border:1px solid rgba(255,255,255,.4);border-radius:999px;overflow:hidden}.ajust button,.theme{background:transparent;color:#fff;border:0;padding:.45rem .6rem;font-size:.8rem;font-weight:700;min-height:36px}.ajust button+button{border-left:1px solid rgba(255,255,255,.25)}.ajust button[aria-pressed=true]{background:rgba(255,255,255,.26)}.theme{border:1px solid rgba(255,255,255,.4);border-radius:999px}
.wrap{padding-top:1.5rem}.preview{display:flex;align-items:center;gap:.45rem;color:var(--muted);font-size:.8rem;flex-wrap:wrap;margin-bottom:1.8rem}.dot{height:7px;width:7px;border-radius:50%;background:var(--brand);flex-shrink:0}.page-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:1.2rem}.eyebrow{font-size:.72rem;letter-spacing:.1em;font-weight:750;color:var(--muted);margin:0 0 .4rem}h1{font-size:1.65rem;line-height:1.2;letter-spacing:-.03em;margin:0}.badge{font-size:.75rem;border:1px solid var(--line);border-radius:999px;padding:.4rem .75rem;color:var(--muted);background:var(--surface)}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radi);box-shadow:var(--ombra)}.welcome{text-align:center;padding:2.4rem 1.5rem 1.8rem}.book{display:flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:22px;background:var(--tint);color:var(--accent);margin:0 auto 1.3rem}.book svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}h2{font-size:1.2rem;margin:0 0 .6rem;line-height:1.3}.welcome h2{font-size:clamp(1.8rem,4vw,2.5rem);letter-spacing:-.04em;font-weight:750;margin:.75rem 0 1rem}.welcome>p:not(.eyebrow){color:var(--muted);margin:.8rem auto;max-width:540px}.capture{display:flex;justify-content:center;gap:.6rem;flex-wrap:wrap;margin:1.6rem 0 .75rem}.capture span{padding:.6rem .85rem;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);font-size:.85rem;font-weight:600}.small{font-size:.82rem;color:var(--muted)}.section-head{margin:2rem 0 1rem}.section-head h2{font-size:1.15rem;margin-bottom:.25rem}.section-head p{color:var(--muted);font-size:.85rem;margin:0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.feature{padding:1.3rem;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;transition:border-color .15s}.feature:hover{border-color:var(--accent)}.feature-icon{display:inline-flex;background:var(--tint);color:var(--accent);font-size:.8rem;font-weight:750;align-items:center;justify-content:center;border-radius:10px;width:38px;height:38px;margin-bottom:1rem;align-self:flex-start}.feature h3{font-size:1rem;margin:0}.feature p{font-size:.85rem;color:var(--muted);margin:.5rem 0 1.4rem}.link{font-size:.76rem;color:var(--accent);font-weight:650;margin-top:auto}.empty{text-align:center;padding:3rem 1.5rem;min-height:350px}.empty p{max-width:520px;margin:1rem auto;color:var(--muted)}.empty .feature-icon{align-self:auto}.button{display:inline-block;padding:.65rem 1rem;background:var(--brand);color:#fff;text-decoration:none;border-radius:10px;font-size:.9rem;margin-top:1rem}.notice{font-size:.8rem;color:var(--muted);border-left:3px solid var(--line);padding:.1rem 0 .1rem 1rem;margin-top:1.8rem;line-height:1.7}.notice strong{color:var(--ink);font-weight:600}.footer{display:flex;justify-content:space-between;gap:.75rem;flex-wrap:wrap;color:var(--muted);font-size:.72rem;border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem;padding-bottom:2rem}
@media(max-width:700px){.topbar-in{padding:.7rem .8rem}.wrap{padding-left:.8rem;padding-right:.8rem}.brand-left img{height:32px}.t{font-size:1.2rem}.s{font-size:.85rem}.rellotge{display:none}.brand-line{margin-bottom:.8rem}.tabs-row{gap:.75rem}.tabs{gap:.3rem}.tabs a{padding:.55rem .7rem;font-size:.83rem}.controls{margin-left:auto}.grid{grid-template-columns:1fr}.feature{padding:1.2rem}.feature p{margin-bottom:1rem}.welcome{padding:2rem 1rem 1.4rem}.welcome h2{font-size:1.9rem}.welcome>p{font-size:.9rem}.badge{display:none}.preview{margin-bottom:1.3rem}.desktop{display:none}.page-head{margin-bottom:1rem}.footer{margin-left:.8rem;margin-right:.8rem;padding-left:0;padding-right:0}}
