:root {
  --bg: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --glyph: #1d1d1f;
  --accent: #0a66e4;
  --accent-ink: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1e1e20;
    --ink: #f5f5f7;
    --muted: #a1a1a6;
    --glyph: #f5f5f7;
    --accent: #2f7cf6;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.splash {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
}

/* The backdrop fades out at the top and bottom, and clears behind the text. */
.rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.24;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%),
    radial-gradient(ellipse at center, transparent 22%, #000 62%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%),
    radial-gradient(ellipse at center, transparent 22%, #000 62%);
  mask-composite: intersect;
}

.content {
  position: relative;
  text-align: center;
  padding: 0 16px;
  max-width: 34rem;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2.6rem, 7vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.tagline {
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  font-weight: 500;
}

.detail {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.button {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.button:hover { filter: brightness(1.08); }
.button:active { transform: scale(0.98); }
.button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 3px; }

.fine {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}
