@font-face {
  font-family: Satoshi;
  src: url("assets/fonts/Satoshi-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d0d0f;
  --text: #f4f4f4;
  --muted: rgba(244, 244, 244, 0.42);
  --line: rgba(255, 255, 255, 0.16);
  --accent: #5fd5e3;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
}

body {
  height: 100vh;
  height: 100dvh;
  height: 100svh;
  overflow: hidden;
  color: var(--text);
  font-family: Satoshi, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 5vw, 64px);
  padding-top: max(clamp(28px, 5vw, 64px), env(safe-area-inset-top));
  padding-bottom: max(clamp(28px, 5vw, 64px), env(safe-area-inset-bottom));
}

.hero {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(12px, 4vh, 8vh) 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 32px);
}

.brand-mark {
  width: clamp(112px, 14vw, 178px);
  height: clamp(112px, 14vw, 178px);
  display: block;
  overflow: visible;
}

.m-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: m-dot-thinking 1.4s ease-in-out infinite;
}

@keyframes m-dot-thinking {
  0% {
    transform: scale(.72) rotate(0deg);
    opacity: .5;
    filter: drop-shadow(0 0 0 rgba(95, 213, 227, 0));
  }

  25% {
    transform: scale(.96) rotate(90deg);
    opacity: .78;
  }

  50% {
    transform: scale(1.35) rotate(180deg);
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(95, 213, 227, .85));
  }

  75% {
    transform: scale(.96) rotate(270deg);
    opacity: .78;
  }

  100% {
    transform: scale(.72) rotate(360deg);
    opacity: .5;
    filter: drop-shadow(0 0 0 rgba(95, 213, 227, 0));
  }
}

.divider {
  width: 1px;
  height: clamp(72px, 8vw, 104px);
  background: var(--line);
}

.brand-line {
  margin: 0;
  text-align: left;
  color: #e8e8e8;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.accent {
  color: var(--accent);
}

h1 {
  max-width: none;
  margin: clamp(44px, 6vh, 68px) auto 0;
  color: var(--text);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-footer {
  flex-shrink: 0;
  max-width: 560px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-copy,
.footer-legal {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.footer-copy {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-legal {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.55;
  text-wrap: pretty;
}

@media (prefers-reduced-motion: reduce) {
  .m-dot {
    animation: none;
  }
}

@media (max-width: 720px) {
  h1 {
    white-space: normal;
    max-width: 28em;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding: 24px 24px 0;
    padding-top: max(24px, env(safe-area-inset-top));
  }

  .hero {
    padding: 8px 0 7.5rem;
  }

  .brand-lockup {
    gap: 16px;
  }

  .brand-mark {
    width: 96px;
    height: 96px;
  }

  .divider {
    height: 64px;
  }

  .brand-line {
    font-size: 21px;
  }

  h1 {
    margin-top: 24px;
    max-width: 22em;
    font-size: 14px;
    white-space: normal;
  }

  .site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    max-width: none;
    padding: 16px 24px max(16px, env(safe-area-inset-bottom));
    background: var(--bg);
  }

  .footer-copy {
    font-size: 11px;
  }

  .footer-legal {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.45;
  }
}
