:root {
  --brand: #5F6368;
  --brand-hover: #4a4e52;
  --brand-active: #3d4145;
  --surface: #f7f8f9;
  --text-muted: #7a7e82;
  --white: #ffffff;
  --focus: #5F6368;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  font-family: "Lexend", sans-serif;
  color: var(--brand);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(95, 99, 104, 0.08), transparent 55%),
    linear-gradient(165deg, #eef0f2 0%, var(--surface) 45%, #e8eaed 100%);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.splash {
  width: 100%;
  max-width: 28rem;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.splash.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.brand {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.tagline {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  width: 100%;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.875rem 1.5rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--white);
  text-decoration: none;
  background-color: var(--brand);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:hover {
  background-color: var(--brand-hover);
}

.btn:active {
  background-color: var(--brand-active);
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (min-width: 480px) {
  .actions {
    flex-direction: row;
    gap: 1rem;
  }

  .btn {
    flex: 1;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: none;
  }

  .btn:active {
    transform: none;
  }
}
