.notfound{
    min-height: calc(100vh - 40px);
    display: grid;
    place-items: center;
    padding: 24px;
    box-sizing: border-box;
  }
  
  .notfound-card{
    width: 100%;
    max-width: 720px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
    padding: 42px;
    border-radius: 18px;
    text-align: center;
    box-sizing: border-box;
  }
  
  .notfound-code{
    font-family: "DM Serif Display", sans-serif;
    font-size: 84px;
    line-height: 1;
    margin: 0 0 14px 0;
    color: #111;
  }
  
  .notfound-title{
    margin: 0 0 10px 0;
    font-family: "DM Serif Display", sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.1;
    color: #111;
  }
  
  .notfound-subtitle{
    margin: 0;
    font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    color: #6C6C6C;
  }
  
  .notfound-actions{
    margin-top: 28px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .notfound-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: inherit;
    font-weight: 700;
    border-radius: 999px;
    padding: 14px 18px;
    min-width: 160px;
    border: 0;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  }
  
  .notfound-btn--primary{
    background: var(--brand-primary);
    color: #fff;
  }
  
  .notfound-btn--primary:hover{
    background: var(--brand-accent);
    transform: translateY(-1px);
  }
  
  .notfound-btn--ghost{
    background: rgba(0,0,0,0.06);
    color: #111;
  }
  
  .notfound-btn--ghost:hover{
    background: rgba(0,0,0,0.10);
    transform: translateY(-1px);
  }
  
  @media (max-width: 640px){
    .notfound-card{
      padding: 28px;
    }
  
    .notfound-code{ font-size: 68px; }
    .notfound-title{ font-size: 32px; }
  
    .notfound-btn{
      min-width: 100%;
    }
  }
  