/* The holding page's styles: the app's first-run colours and fonts (apps/web/src/index.css). */

@font-face {
  font-family: 'Yellowtail';
  src: url('/yellowtail.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/work-sans.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Work Sans';
  src: url('/work-sans-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: oklch(0.97 0.012 75);
  --ink: oklch(0.24 0.02 50);
  --ink-muted: oklch(0.45 0.02 55);
  --caramel-text: oklch(0.5 0.12 55);
  --caramel: oklch(0.76 0.12 65);
  --on-caramel: oklch(0.2 0.022 50);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: oklch(0.2 0.022 50);
    --ink: oklch(0.94 0.015 75);
    --ink-muted: oklch(0.78 0.025 72);
    --caramel-text: oklch(0.76 0.12 65);
  }
}

html, body { height: 100%; }

body {
  margin: 0;
  display: grid;
  place-items: center;
  padding: 0 16px;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 28rem; }

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 1.5rem;
  color: var(--caramel-text);
  font-family: 'Yellowtail', cursive;
  font-size: 56px;
  font-weight: 400;
  line-height: 0.9;
}

.wordmark svg { width: 148px; height: 15px; }

p { margin: 0 0 0.75rem; font-size: 1.125rem; line-height: 1.5; }

.muted { color: var(--ink-muted); font-size: 1rem; }

a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--caramel);
  color: var(--on-caramel);
  font-weight: 600;
  text-decoration: none;
}
