/* hopla.haus — "wkrótce".
 *
 * No fonts, images or scripts are fetched: the type stack is the system UI font
 * and the only assets are the icon files referenced from the HTML. Colours are
 * the app palette (slate 50/900) with an AA-checked muted tone for the second
 * line (see scripts/validate-landing.mjs, which asserts the contrast pairs).
 */

:root {
  color-scheme: light dark;

  --bg: #f8fafc;
  --fg: #0f172a;
  --muted: #475569;
  --accent: #b45309;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    --fg: #f8fafc;
    --muted: #cbd5e1;
    --accent: #fbbf24;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--bg);
  color: var(--fg);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    'Noto Sans',
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.panel {
  width: 100%;
  max-width: 22rem;
  text-align: center;
}

.wordmark {
  margin: 0;
  font-size: clamp(2.75rem, 14vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* A hairline under the wordmark, drawn with a border so no image is needed. */
.wordmark::after {
  content: '';
  display: block;
  width: 3rem;
  height: 2px;
  margin: 1.25rem auto 0;
  background: var(--accent);
}

.soon {
  margin: 1.25rem 0 0;
  font-size: clamp(1.125rem, 5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
}

/* The 404 page's way back; the UA default link blue is unreadable on slate. */
.back {
  color: inherit;
  text-underline-offset: 0.2em;
}
