/* ---------- Design tokens ---------- */
:root {
  --c-bg: #ffffff;
  --c-text: #a1a1aa;       /* refined subtle grey (zinc-400) */
  --c-text-hover: #71717a; /* gentle darkening on hover (zinc-500) */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body {
  height: 100%;
}

body {
  margin: 0;
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  user-select: none;
}

/* ---------- Centered Layout ---------- */
.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

/* ---------- Brand Typography ---------- */
.brand {
  margin: 0;
  font-size: clamp(3.2rem, 9.5vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: var(--c-text);
  transition: color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  animation: brand-appear 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brand:hover {
  color: var(--c-text-hover);
  transform: translateY(-1px);
}

.brand__name {
  font-weight: 700;
}

.brand__tld {
  font-weight: 600;
  opacity: 0.82;
  margin-left: 1px;
}

/* ---------- Keyframes ---------- */
@keyframes brand-appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .brand {
    animation: none;
    transition: none;
  }
  .brand:hover {
    transform: none;
  }
}
