/* CARlogbook.app — static landing placeholder. */

:root {
  --color-bg: #0b0b0d;
  --color-text: #f4f4f2;
  --color-text-muted: #b8b8bd;
  --font-display: "Racing Sans One", "Arial Narrow", system-ui, sans-serif;
}

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

html {
  height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: var(--color-text);
  background:
    radial-gradient(
      120% 90% at 50% -10%,
      rgba(255, 255, 255, 0.09),
      transparent 55%
    ),
    radial-gradient(
      90% 60% at 50% 110%,
      rgba(255, 255, 255, 0.05),
      transparent 60%
    ),
    var(--color-bg);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  width: 100%;
  text-align: center;
}

.brand {
  font-family: "Science Gothic", var(--font-display);
  white-space: nowrap;
  font-size: clamp(2rem, 8.5vw, 6rem);
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.05;
}

.tagline {
  margin-top: clamp(0.8rem, 2.5vw, 1.4rem);
  color: var(--color-text-muted);
  white-space: nowrap;
  font-size: clamp(0.72rem, 2.6vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.18em;
}

@media (max-width: 360px) {
  .brand {
    font-size: clamp(1.65rem, 8vw, 2rem);
  }

  .tagline {
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > * {
    animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .tagline {
    animation-delay: 0.14s;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
