@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit.woff2') format('woff2');
}

:root {
  --bg-color: #f1f2f5;
  --text-color: #1a1b1e;
  --footer-color: #8c939f;
  --selection-bg: #ffe4ba;
  --selection-color: #1a1b1e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #121316;
    --text-color: #f0f2f5;
    --footer-color: #6d7380;
    --selection-bg: #805b22;
    --selection-color: #ffffff;
  }
}

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

::selection {
  background: var(--selection-bg);
  color: var(--selection-color);
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2.5rem 1.5rem 1.5rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header spacer to balance flex space-between */
.top-spacer {
  flex: 0 0 auto;
  height: 1rem;
}

/* Main centered card */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 680px;
  width: 100%;
  margin: auto 0;
}

h1.brand-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-color);
  margin-bottom: clamp(1.5rem, 3.5vh, 2.75rem);
  user-select: none;
}

.illustration-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: clamp(1.25rem, 3vh, 2.25rem);
}

.illustration-img {
  width: 100%;
  max-width: clamp(260px, 34vw, 420px);
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.04));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.content-wrapper:hover .illustration-img {
  transform: scale(1.025);
}

p.tagline {
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text-color);
  user-select: none;
}

/* Footer note */
footer.footer-note {
  flex: 0 0 auto;
  font-size: 0.825rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--footer-color);
  text-align: center;
  padding-top: 1.5rem;
  user-select: none;
}
