:root {
  --lilac: #585e92;
  --lilac-dark: #4a507c;
  --lilac-soft: rgba(88, 94, 146, 0.12);
  --lilac-border: rgba(88, 94, 146, 0.35);
  --bg: #f7f7fa;
  --text: #1f1f24;
  --muted: #6b6b78;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(88, 94, 146, 0.18), transparent 55%),
    linear-gradient(160deg, #fff9f9 0%, #f7f7fa 42%, #eef0f8 100%);
}

.hub {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 420px);
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
}

.hub-brand {
  margin-bottom: 2rem;
  animation: hub-fade-up 0.45s var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)) both;
}

.hub-mark {
  margin: 0 0 0.75rem;
  line-height: 0;
}

.hub-mark svg {
  display: inline-block;
  animation: hub-bloom 4.5s ease-in-out infinite;
}

.hub-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 5.5vw, 2.35rem);
  line-height: 1.15;
  color: var(--lilac);
  margin: 0 0 0.55rem;
  letter-spacing: -0.01em;
}

.hub-tagline {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}

.hub-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: hub-fade-up 0.45s var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)) 0.08s both;
}

.hub-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.hub-btn:active {
  transform: scale(0.97);
}

.hub-btn--primary {
  background: var(--lilac);
  color: #fff;
  border: 1px solid var(--lilac);
}

.hub-btn--primary:hover,
.hub-btn--primary:focus-visible {
  background: var(--lilac-dark);
  border-color: var(--lilac-dark);
  outline: none;
}

.hub-btn--secondary {
  background: #fff;
  color: var(--lilac);
  border: 1.5px solid var(--lilac-border);
}

.hub-btn--secondary:hover,
.hub-btn--secondary:focus-visible {
  background: var(--lilac-soft);
  border-color: var(--lilac);
  outline: none;
}

.hub-btn--quiet {
  min-height: 2.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: none;
  margin-top: 0.25rem;
}

.hub-btn--quiet:hover,
.hub-btn--quiet:focus-visible {
  color: var(--lilac);
  outline: none;
}

@keyframes hub-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hub-bloom {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hub-brand,
  .hub-actions,
  .hub-mark svg {
    animation: none;
  }
}
