.tt-404 {
–bg:#ffffff; –text:#1a202c; –muted:#4a5568; –border:#e2e8f0;
–brand:#2B6CB0; –brand-2:#215387;
max-width:860px; margin:6vh auto; padding:32px 22px;
background:var(–bg); color:var(–text);
border:1px solid var(–border); border-radius:16px;
box-shadow:0 10px 25px rgba(0,0,0,.05);
font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}
.tt-404 h1 {font-size:clamp(1.7rem,1.2rem+1.5vw,2.2rem); margin:0 0 .4rem;}
.tt-404 p {margin:.3rem 0 1rem; color:var(–muted);}
/* Search */
.tt-404 form {display:flex; gap:8px; margin:.8rem 0 2rem;} /* more bottom margin */
.tt-404 input[type=”search”]{
flex:1; padding:.9rem 1rem; border:1px solid var(–border); border-radius:10px; font-size:1rem;
}
.tt-404 button[type=”submit”]{
padding:.9rem 1rem; border:1px solid var(–brand); background:var(–brand); color:#fff;
border-radius:10px; font-weight:600; cursor:pointer;
}
.tt-404 button[type=”submit”]:hover{background:var(–brand-2); border-color:var(–brand-2);}
/* Primary buttons */
.tt-404 .tt-actions{display:grid; gap:18px; grid-template-columns:repeat(2,1fr); margin:0 0 1.6rem;}
.tt-404 a.tt-card{
display:flex; align-items:center; justify-content:center; min-height:64px;
padding:.9rem 1rem; text-decoration:none; font-weight:600;
border:1px solid var(–border); border-radius:12px; background:#fff; color:var(–text);
transition:transform .04s ease, box-shadow .15s ease, border-color .15s ease;
box-shadow:0 1px 0 rgba(0,0,0,.03);
}
.tt-404 a.tt-card:hover{transform:translateY(-1px); border-color:#cbd5e0; box-shadow:0 8px 20px rgba(0,0,0,.08);}
.tt-404 a.tt-primary{background:var(–brand); color:#fff; border-color:var(–brand);}
.tt-404 a.tt-primary:hover{background:var(–brand-2); border-color:var(–brand-2);}
/* Collapsible links */
.tt-404 .tt-toggle {margin:1.2rem 0 .6rem;}
.tt-404 .tt-toggle button{
background:none; border:none; color:var(–brand); font-weight:600; cursor:pointer;
font-size:1rem; padding:0;
}
.tt-404 .tt-links{display:none; gap:10px; grid-template-columns:repeat(2,1fr);}
.tt-404 .tt-links a{text-decoration:none; color:var(–text); border-bottom:1px dashed var(–border);}
.tt-404 .tt-links a:hover{border-bottom-color:#cbd5e0;}
.tt-404 .tt-links.show{display:grid;}
@media(max-width:560px){
.tt-404 .tt-actions, .tt-404 .tt-links{grid-template-columns:1fr;}
}