*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "PT Serif", serif;
  font-style: italic;
  font-weight: 400;
  background: #0d0d0f;
  color: #e8e6e1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.page {
  max-width: 680px;
  width: 100%;
}

.header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.title-block h1 {
  font-family: "PT Serif", serif;
  font-size: 2.4rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.03em;
  color: #f0ede8;
}

.title-block p {
  font-size: 0.95rem;
  color: #7a7870;
  margin-top: 0.3rem;
}

.socials {
  display: flex;
  gap: 0.6rem;
  margin-left: auto;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 0.5px solid #2a2a2e;
  background: #17171a;
  color: #a09d97;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition:
    border-color 0.15s,
    color 0.15s;
}

.social-btn:hover {
  border-color: #4a4a52;
  color: #f0ede8;
}

.divider {
  border: none;
  border-top: 0.5px solid #2a2a2e;
  margin-bottom: 2.5rem;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.nav-card {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.25rem;
  background: #17171a;
  border: 0.5px solid #2a2a2e;
  border-radius: 12px;
  text-decoration: none;
  transition:
    border-color 0.15s,
    background 0.15s;
}

.nav-card:hover {
  border-color: #4a4a52;
  background: #1e1e22;
}

.nav-card .label {
  font-family: "PT Serif", serif;
  font-style: normal;
  font-weight: 700;
  font-size: 1rem;
  font-weight: 700;
  color: #f0ede8;
}

.nav-card .desc {
  font-size: 0.8rem;
  color: #5a5855;
  margin-top: 0.2rem;
}
