.nav-tools{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}

.legacy-page{display:flex;flex-direction:column;gap:1.25rem}

.page-hero{display:grid;gap:.8rem}

.legacy-kicker{margin:0;color:var(--accent);font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}

.page-hero h1{margin:0;font-size:clamp(2rem,5vw,3rem);line-height:1.08}

.page-hero p{margin:0;color:var(--muted)}

.page-hero .lede{margin:0}

.inline-link{color:var(--accent);text-decoration:underline}

.page-actions{margin-top:0}

.page-action .project-link{align-items:stretch}

.action-visual{width:320px;height:180px;flex:0 0 320px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg, rgba(96,165,250,.18), rgba(14,165,233,.08));border:1px solid rgba(14,165,233,.18);color:var(--accent);box-shadow:inset 0 1px 0 rgba(255,255,255,.35);transition:transform .18s ease,box-shadow .18s ease}

.page-action:hover .action-visual{transform:scale(1.03)}

.action-visual div{text-align:center;padding:1rem}

.action-visual span{display:block;font-size:1.5rem;font-weight:800;letter-spacing:.05em}

.action-visual small{display:block;margin-top:.45rem;color:var(--muted);font-size:.78rem;letter-spacing:.16em;text-transform:uppercase}

.notice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}

.notice-card h2{margin:0 0 .75rem;font-size:1.125rem}

.notice-card p{margin:0;color:var(--muted)}

.notice-list{margin:0;padding-left:1.1rem;color:var(--muted)}

.notice-list li+li{margin-top:.5rem}

.link-list{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.9rem}

.link-list a{display:inline-flex;align-items:center;justify-content:center;padding:.55rem .85rem;border-radius:999px;background:rgba(14,165,233,.08);color:var(--text);text-decoration:none;border:1px solid rgba(14,165,233,.14);font-weight:600;transition:transform .18s ease,background .18s ease,color .18s ease}

.link-list a:hover{transform:translateY(-1px);background:rgba(14,165,233,.14)}

.error-hero{justify-items:start}

.error-code{margin:0;color:var(--accent);font-size:clamp(3.25rem,12vw,6rem);line-height:1;font-weight:800}

@media(max-width:1000px){
  .action-visual{width:240px;height:135px;flex:0 0 240px}
  .notice-grid{grid-template-columns:1fr}
}

@media(max-width:700px){
  .nav-tools{width:100%;justify-content:space-between}
  .page-action .project-link{align-items:center}
  .action-visual{width:80%;max-width:320px;height:auto;min-height:140px;flex:0 0 auto;margin:0 auto .6rem}
}

@media(max-width:420px){
  .page-hero h1{font-size:clamp(1.75rem,10vw,2.35rem)}
  .action-visual{width:85%;max-width:260px;min-height:120px}
  .link-list a{width:100%}
}