/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Tokens */
:root {
  --bg: #f6f5f3;
  --text-primary: #1a1a18;
  --text-muted: #7a7a72;
  --text-subtle: #b0afa8;
  --logo-bg: transparent;
  --logo-padding: 0px;
  --logo-radius: 0px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111110;
    --text-primary: #edecea;
    --text-muted: #837f78;
    --text-subtle: #4a4944;
    --logo-bg: #ffffff;
    --logo-padding: 14px 18px;
    --logo-radius: 10px;
  }
}

/* Body */
body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 60px 32px;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;

  opacity: 0;
  animation: enter 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

/* Card */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 420px;
  width: 100%;
}

/* Logo */
.logo {
  width: 25vw;
  height: auto;
  object-fit: contain;
  margin-bottom: 36px;
  background: var(--logo-bg);
  padding: var(--logo-padding);
  border-radius: var(--logo-radius);
  transition:
    background 0.5s ease,
    padding 0.5s ease,
    border-radius 0.5s ease;
}

/* Title */
h1 {
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: clamp(1.45rem, 4vw, 1.95rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 14px;
}

/* Tagline */
.tagline {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
  text-transform: none;
}

/* Footer */
footer {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--text-subtle);
  white-space: nowrap;
}

/* Entrance */
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
