*{box-sizing:border-box} :root{color-scheme:light;--bg:#F1F4FA;--ink:#35435F;--muted:#596984;--card:#fff;--line:#d8dfeb;--accent:#e4e7f4} :root.dark{color-scheme:dark;--bg:#171e30;--ink:#e5eafa;--muted:#b6c3df;--card:#242e43;--line:#40506a;--accent:#303c59} body{margin:0;background:var(--bg);color:var(--ink);font:16px Inter,system-ui,sans-serif;line-height:1.55} h1,h2,h3,.brand{font-family:'Plus Jakarta Sans',system-ui,sans-serif;line-height:1.2} a{color:inherit} header{background:var(--card);border-bottom:1px solid var(--line)} nav,main,footer{max-width:1120px;margin:auto;padding:18px 24px} nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap} nav a{text-decoration:none} .brand{display:flex;align-items:center;font-weight:800;font-size:21px;margin-right:auto}.brand svg{width:48px;background:#f1f4fa;border-radius:12px;margin-right:8px} .hero{background:linear-gradient(115deg,#e8e3f5,#dce8f3,#dceee9);color:#35435f;border-radius:24px;padding:28px;text-align:center;position:relative} .hero h1{font-size:clamp(28px,4vw,43px);margin:8px} .hero svg{width:80px} .hero p{margin:8px 0 18px} input,textarea,select{font:inherit;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px;max-width:100%} #search{width:min(100%,480px)} .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px} .tile,.panel{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:20px} .tile{text-decoration:none;display:flex;align-items:center;gap:14px;transition:transform .15s} .tile:hover{transform:translateY(-2px);border-color:#8b9dca}.tile strong{display:block}.tile small,.muted{color:var(--muted)} .symbol{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:13px;background:#e4e7f4;color:#35435f;font-size:27px}.tile:nth-child(3n+2) .symbol{background:#dceee9}.tile:nth-child(3n) .symbol{background:#ede6f5} button{font:inherit;cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:10px 16px;background:var(--card);color:var(--ink)} button.primary{background:#35435f;color:white;border-color:#35435f} button:focus-visible,a:focus-visible{outline:3px solid #8295c5;outline-offset:3px} .panel{margin:18px 0} .controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center} .zone{min-height:150px;border:2px dashed #a8b5de;border-radius:16px;display:grid;place-items:center;text-align:center;padding:24px;user-select:none} .result{font-weight:700;margin:16px 0;white-space:pre-wrap} .keys{display:flex;flex-wrap:wrap;gap:6px}.key{padding:8px;border:1px solid var(--line);border-radius:7px;min-width:34px;text-align:center}.key.hit{background:#aed7d2;color:#243b38} video{width:100%;max-height:420px;background:#111;border-radius:12px} canvas{width:100%;height:180px;background:var(--accent);border-radius:12px;touch-action:none} footer{text-align:center;color:var(--muted);border-top:1px solid var(--line);font-size:14px} footer a{margin:0 8px} .ad-slot:empty{display:none} .crumb{font-size:14px;color:var(--muted)} .trust{text-align:center;color:var(--muted);margin:26px 0} @media(max-width:700px){.grid{grid-template-columns:repeat(2,1fr)}nav,main{padding:14px}.tile{padding:12px;gap:8px;flex-direction:column;align-items:flex-start}.hero{padding:20px}nav{gap:12px}.brand{font-size:18px}} @media(max-width:350px){.grid{grid-template-columns:1fr}}nav{padding-block:9px}.brand svg{width:40px}.hero{padding:20px 16px;overflow:hidden;background:radial-gradient(ellipse at 95% 0%,#f9ffff99,transparent 40%),linear-gradient(115deg,#e8e3f5,#dce8f3,#dceee9)}.hero:before,.hero:after{content:'✧';position:absolute;color:white;font-size:34px;pointer-events:none}.hero:before{left:5%;top:12%}.hero:after{right:6%;bottom:12%}.eyebrow{font-size:10px;letter-spacing:.2em;font-weight:700}.hero h1{font-size:clamp(25px,3vw,36px);letter-spacing:-.035em}.hero p{margin:5px 0 12px}.hero input{background:white;color:#35435f;padding:9px 14px}.grid{grid-template-columns:repeat(5,minmax(0,1fr))}.tile{flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:14px 8px;gap:8px;min-height:105px;transition:transform .2s,box-shadow .2s,border-color .2s}.tile:hover{box-shadow:0 7px 22px #8b9dca30;transform:translateY(-3px)}.tile strong{font-size:14px}.symbol svg{width:27px;height:27px}.panel{box-shadow:0 8px 28px #5365830a}.zone{background:var(--accent);margin:12px 0;border-style:solid}.controls{margin:10px 0}.statgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}.stat{padding:12px;background:var(--accent);border-radius:12px;text-align:center}.stat b{display:block;font-size:24px}.stat small{color:var(--muted)}.testicon{width:70px;height:70px;margin:8px auto;display:block}.hit{background:#aed7d2!important;color:#243b38!important}.typingpass{font-size:21px;line-height:1.9;padding:16px;background:var(--accent);border-radius:12px;white-space:pre-wrap}.correct{color:#277568}.wrong{color:#b43b4b;text-decoration:underline}.dark .correct{color:#aee5d0}.dark .wrong{color:#ffacb5}@media(max-width:700px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tile{min-height:95px}.hero{padding:16px 8px}.tile strong{font-size:12px}}@media(max-width:380px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Homepage V2.1 — scoped to preserve existing tool layouts */
.home main{max-width:1000px;padding-top:20px}.home nav{max-width:1000px;min-height:60px;padding-block:8px}.home .brand{letter-spacing:-.045em;font-size:22px}.home .brand svg{background:transparent;width:43px}.home nav>a:not(.brand){font-size:13px;font-weight:600}.home #theme{padding:5px 11px;border-radius:50%;font-size:18px}.home .hero{isolation:isolate;padding:19px 16px 20px;border-radius:20px;background:linear-gradient(112deg,#DAD1EE,#CDD8F1 53%,#AED7D2);border:1px solid #ffffff80}.home .hero:before,.home .hero:after{display:none}.home .hero h1{font-size:clamp(25px,3.5vw,38px);letter-spacing:-.05em;margin:6px 0}.home .hero p{font-size:14px;margin:5px 0 13px}.home .hero input{width:min(100%,420px);border-radius:999px;border:1px solid #ffffff;background:#fffffff0;box-shadow:0 3px 12px #35435f0b;padding:9px 18px;font-size:14px}.home .eyebrow{font-size:10px;letter-spacing:.19em}.orbit-art{position:absolute;inset:0;overflow:hidden;z-index:-1;pointer-events:none}.orbit-art i{position:absolute;border:1px solid #ffffff8c;border-radius:50%;width:220px;height:300px;top:-65px;transform:rotate(-35deg);left:-140px}.orbit-art i:nth-child(2){left:-110px}.orbit-art i:nth-child(3){left:auto;right:-140px;transform:rotate(35deg)}.orbit-art i:nth-child(4){left:auto;right:-110px;transform:rotate(35deg)}.orbit-art span{position:absolute;color:#fff;font-size:24px;left:8%;top:17%;animation:cc-twinkle 4s ease-in-out infinite}.orbit-art span:nth-of-type(2){left:15%;top:75%;font-size:13px;animation-delay:1s}.orbit-art span:nth-of-type(3){left:auto;right:9%;top:18%;animation-delay:2s}.orbit-art span:nth-of-type(4){left:auto;right:16%;top:73%;font-size:12px;animation-delay:3s}@keyframes cc-twinkle{0%,100%{opacity:.65;transform:scale(.9)}50%{opacity:1;transform:scale(1.12)}}.home .section-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 10px}.home .section-heading h2{font-size:19px;letter-spacing:-.035em;margin:0}.home .section-heading span{font-size:12px;color:var(--muted)}.home .grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.home .tile{min-height:100px;padding:12px 6px;gap:8px;border-radius:15px;box-shadow:0 2px 5px #35435f05}.home .tile strong{font-size:13px;line-height:1.3;letter-spacing:-.015em}.home .symbol{width:43px;height:43px;border-radius:13px;background:#E5DFF3;transition:transform .2s}.home .tile:nth-child(3n+2) .symbol{background:#DCEDE8}.home .tile:nth-child(3n) .symbol{background:#E0E7F8}.home .tile:hover .symbol{transform:scale(1.08)}.home .tile:hover{box-shadow:0 7px 20px #8b9dca30}.home .trust{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;font-size:12px;margin:22px 0 6px}.home footer{font-size:12px;padding:14px}.home footer p{margin:7px 0 0}.home .tile[hidden]{display:none!important}.dark .home .hero{background:linear-gradient(112deg,#424361,#394b68,#31565b);color:#f2f4ff;border-color:#ffffff20}.dark .home .hero input{background:#242e43;color:#e5eafa;border-color:#ffffff30}.dark .home .hero input::placeholder{color:#b6c3df}@media(max-width:700px){.home main{padding:12px}.home nav{gap:10px;padding:8px 12px}.home .brand{font-size:18px}.home .brand svg{width:34px}.home nav>a[href*="#tests"]{display:none}.home .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.home .tile{min-height:94px}.home .tile strong{font-size:12px}.home .hero{padding:16px 10px}.home .hero p{font-size:12px}.orbit-art span{opacity:.5}.home .trust{gap:12px}}@media(max-width:350px){.home .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.orbit-art span{animation:none}}
