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

:root {
  --bg: #fff;
  --fg: #1a1714;
  --fg-mid: #6b6560;
  --fg-dim: #b0a99f;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Geist', Georgia, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.logo {
  display: flex;
  align-items: center;
  margin: 24px 0 0 36px;
  text-decoration: none;
}

.logo-name {
  font-family: 'Geist', sans-serif;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

#logo-m {
  margin-right: -2px;
}

#logo-o {
  margin: 0 2px;
  flex-shrink: 0;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
}

#clock-stage {
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1.4s cubic-bezier(0.25,0.46,0.45,0.94), transform 1.4s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: opacity, transform;
}
#clock-stage.visible { opacity: 1; transform: translateY(0); }

canvas#monad { display: block; will-change: contents; }

.title-block {
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.1s cubic-bezier(0.25,0.46,0.45,0.94) 0.5s, transform 1.1s cubic-bezier(0.25,0.46,0.45,0.94) 0.5s;
  will-change: opacity, transform;
}
.title-block.visible { opacity: 1; transform: translateY(0); }

h1 {
  font-family: 'Geist', sans-serif;
  font-weight: 300;
  font-size: clamp(56px, 9vw, 100px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 14px;
}

.tagline {
  font-family: 'SF Mono', monospace;
  font-size: 0.8rem;
  font-weight: 300;
  font-style: normal;
  margin-bottom: 48px;
  opacity: 0.7;
  letter-spacing: 0.15em;
  color: #888;
}

.cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--fg);
  color: var(--bg);
  font-family: 'Geist', sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-decoration: none;
  padding: 14px 38px;
  border: none;
  cursor: pointer;
  transition: background 0.22s, transform 0.18s;
}
.btn:hover { background: #3a3530; transform: translateY(-1px); }
.btn svg { width: 13px; height: 13px; flex-shrink: 0; }

.system-note {
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
  font-style: italic;
}


footer {
  border-top: 1px solid var(--fg-mid);
  padding: 26px 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.55;
}
.foot {
  font-family: 'Geist', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-style: italic;
  color: var(--fg);
}
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: var(--fg); }

@media (max-width: 600px) {
  footer { padding: 20px 24px; }
  footer { flex-direction: column; gap: 8px; }
}
