*{box-sizing:border-box}body{margin:0;font:16px/1.6 system-ui,sans-serif;background:#f5f7ff;color:#172554}header,footer,main{max-width:1100px;margin:auto;padding:20px}header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}a{color:#4338ca}nav a,footer a{margin-right:15px}header a.brand{font-size:23px;font-weight:800;text-decoration:none}.hero{background:linear-gradient(125deg,#312e81,#075985);color:white;border-radius:24px;padding:32px;text-align:center}.clock{font-size:clamp(30px,7vw,60px);font-weight:800;font-variant-numeric:tabular-nums}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:20px 0}.tile,section.panel{padding:22px;border-radius:16px;background:white;border:1px solid #dbe3f4}.tile{text-decoration:none;color:#172554;display:block}.tile:nth-child(3n+1){background:#e0e7ff}.tile:nth-child(3n+2){background:#d1fae5}.tile:nth-child(3n){background:#ffedd5}.tile h3{margin:0}button,input,select{font:inherit;padding:10px;border:1px solid #94a3b8;border-radius:8px}button{background:#4338ca;color:white;cursor:pointer}label{display:block;margin:12px 0}input,select{display:block;width:100%;max-width:480px;background:white;color:#172554}output{display:block;white-space:pre-wrap;padding:18px;margin-top:16px;background:#e0e7ff;color:#172554;border-radius:12px;overflow-wrap:anywhere}body.dark{background:#0f172a;color:#e2e8f0}body.dark a{color:#a5b4fc}body.dark .tile,body.dark .panel{background:#1e293b;color:#e2e8f0;border-color:#475569}body.dark .tile{color:#e2e8f0}footer{border-top:1px solid #94a3b8}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #f59e0b}