@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;

  --bg: #FFFFFF;
  --surface2: #F1F3F6;
  --ink: #15202B;
  --ink2: #5A6573;
  --ink3: #98A1AD;
  --accent: #2E7CF6;
  --accent-press: #1F63D6;
  --accent-tint: #E7F0FE;
  --ink-on-accent: #FFFFFF;
  --line: #E6E9EE;

  --radius-lg: 18px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px 24px calc(32px + env(safe-area-inset-bottom));
  background: var(--bg);
  background-image: radial-gradient(90% 46% at 50% 34%, var(--accent-tint) 0%, transparent 70%);
  color: var(--ink);
  font-family: Geist, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

.logo {
  width: clamp(140px, 38vw, 168px);
  height: auto;
  object-fit: contain;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 9vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.tagline {
  margin: 10px 0 0;
  color: var(--ink2);
  font-size: 17px;
  font-weight: 500;
}

.hint {
  margin: 10px 0 0;
  color: var(--ink2);
  font-size: 15px;
  min-height: 22px;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 320px;
}

.button {
  display: block;
  width: 100%;
  padding: 15px 24px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--ink-on-accent);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.button:active {
  background: var(--accent-press);
  transform: scale(0.98);
}

.link {
  color: var(--ink3);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.link:hover {
  color: var(--ink2);
}

footer {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  color: var(--ink3);
  font-size: 13px;
  font-weight: 500;
}

@media (hover: hover) {
  .button:hover {
    background: var(--accent-press);
  }
}
