* {
  box-sizing: border-box;
}

@font-face {
  font-family: 'Lars';
  src: url('./Lars-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --header-height: 56px;
}

body {
  padding: 0;
  margin: 0;
  background: #000;
  color: #e0dfdf;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Lars', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
}

.site-header {
  position: relative;
  width: 100%;
  padding: 16px 20px;
}

.nav {
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  width: 100px;
  height: 24px;
  display: block;
}

.nav__cta {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #222222;
  background: color(display-p3 0.133 0.133 0.133);
  border-radius: 800px;
  /* sRGB fallback */
  box-shadow: 32px 32px 32px rgba(0, 0, 0, 0.1), inset 1.6px 1.6px 1.6px #303030;
  /* P3 override (ignored if unsupported) */
  box-shadow: 32px 32px 32px color(display-p3 0 0 0 / 0.1), inset 1.6px 1.6px 1.6px color(display-p3 0.188 0.188 0.188);
}

.nav__cta img {
  width: 16px;
  height: 16px;
  display: block;
}

.main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
}

.hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 20px 24px;
}

/* Override previous #app full-viewport centering and use inline flow */
#app {
  display: block;
}

.shader-canvas {
  width: 80px;
  height: 80px;
  max-width: 80px;
  max-height: 80px;
  border-radius: 9999px;
  display: block;
}

.tagline {
  margin: 0;
  max-width: 400px;
  text-align: center;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 400;
}

.title-strong {
  color: #e0dfdf;
}

.title-dim {
  color: rgba(224, 223, 223, 0.4);
}

/* Staged entrance animations */
.fade-seq {
  opacity: 0;
  transform: translateY(8px);
}

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

/* Triggered after mount */
.is-mounted .nav-seq {
  animation: fadeUp 700ms cubic-bezier(0.22, 1, 0.36, 1) 0ms both;
}

.is-mounted .shader-seq {
  animation: fadeUp 700ms cubic-bezier(0.22, 1, 0.36, 1) 200ms both;
}

.is-mounted .text-seq {
  animation: fadeUp 700ms cubic-bezier(0.22, 1, 0.36, 1) 400ms both;
}