@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Libre+Baskerville:wght@400;700&display=swap');

/* 4px baseline spacing system */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
}

body {
  margin: 0;
  background: #ffffff;
  color: #111;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.centered {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  text-align: center;
  padding: var(--space-6);
}

.logo {
  max-width: 240px;
  margin-bottom: var(--space-6);
}

/* logo subtle scale animation */
.logo-animate {
  transform: scale(0.96);
  animation: logoScale 1.2s ease forwards;
}

@keyframes logoScale {
  to { transform: scale(1); }
}

h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: var(--space-2) 0;
  line-height: 1.3;
}

.tagline {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #333;
  margin-top: var(--space-4);
  line-height: 1.5;
}

.meta {
  font-size: 0.85rem;
  color: #666;
  margin-top: var(--space-4);
}

.sub {
  font-size: 0.95rem;
  color: #222;
  margin-top: var(--space-2);
}

footer {
  text-align: center;
  padding: var(--space-5);
  font-size: 0.85rem;
  color: #444;
}

footer a {
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid #999;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

footer a:hover {
  border-color: #000;
  opacity: 0.7;
}

/* fade animation */
.fade-in {
  animation: fadeIn 1.2s ease forwards;
  opacity: 0;
}

.fade-in-delay {
  animation: fadeIn 1.2s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* responsive typography tuning */
@media (min-width: 768px) {
  body {
    line-height: 1.7;
  }
  h1 {
    font-size: 2.2rem;
    line-height: 1.25;
  }
}

@media (min-width: 1200px) {
  body {
    line-height: 1.75;
  }
  h1 {
    font-size: 2.4rem;
  }
}
