/* Neuromantic placeholder — minimal, subtle 70s/80s print vibe */
/* Jost: SIL Open Font License 1.1 — self-hosted latin subset, weight 600 */

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/jost-600-latin.woff2") format("woff2");
}

:root {
  --bg: #eae7e0;
  --ink: #161514;
  --ink-muted: rgba(22, 21, 20, 0.72);
  --accent-line: rgba(22, 21, 20, 0.14);
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  font-family: system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink-muted);
  background-color: var(--bg);
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

/* Very light paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 2.75rem);
  max-width: 42rem;
}

.logo {
  width: min(100%, 22rem);
  height: auto;
  display: block;
}

.tagline {
  margin: 0;
  font-family: "Jost", system-ui, sans-serif;
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: var(--ink);
  max-width: 28em;
}

.tagline::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-line) 15%,
    var(--accent-line) 85%,
    transparent
  );
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
  main {
    animation: enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(0.75rem);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
