/*
 * SPDX-FileCopyrightText: 2026 Curtis Galloway
 * SPDX-License-Identifier: Apache-2.0
 *
 * The landing page (M19). The colors are the wordmark's own
 * (vibestation/assets/logo/make_logo.py): ink and echo for light backgrounds,
 * and their dark-background pair, on the preview sheets' dark background.
 * Contrast, text on its background: light 12:1 (ink on white, white on the
 * ink button), dark 17:1 and 9.6:1 (light ink on dark, dark on the echo
 * button). All pass WCAG AA's 4.5:1; the focus rings are 3.4:1 and 9.6:1
 * against the page, over the 3:1 AA asks of a non-text indicator.
 */

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --ink: #0b3954;
  --button-bg: #0b3954;
  --button-ink: #ffffff;
  --focus: #1b98a6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101820;
    --ink: #f2fbff;
    --button-bg: #3fd0e0;
    --button-ink: #101820;
    --focus: #3fd0e0;
  }
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 100%;
  line-height: 1.5;
}

body {
  margin: 0;
}

main {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.25rem;
  text-align: center;
}

h1 {
  margin: 0;
  line-height: 0;
}

h1 img {
  width: min(36rem, 88vw);
  height: auto;
}

p {
  margin: 0;
}

.tagline {
  font-size: 1.25rem;
}

/* At least 44 px tall, the usual minimum touch target. */
.button {
  display: inline-block;
  min-height: 2.75rem;
  box-sizing: border-box;
  padding: 0.6rem 1.75rem;
  border-radius: 0.5rem;
  background: var(--button-bg);
  color: var(--button-ink);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  text-decoration: underline;
}

.button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.note {
  font-size: 0.95rem;
}
