:root {
  --bg: #08080a;
  --fg: #f5f5f2;
  --muted: rgba(245, 245, 242, 0.55);
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Consolas, monospace;
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  overflow: hidden;
}

::selection {
  background: rgba(120, 170, 255, 0.35);
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#scene {
  position: fixed;
  inset: 0;
  display: block;
}

.ui {
  position: fixed;
  inset: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6vh 6vw;
}

.mark {
  transform: translateY(-6vh);
}

.mark h1 {
  font-size: clamp(2.5rem, 3rem + 6vw, 7rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-shadow: 0 0 14px var(--bg);
}

.tagline {
  margin-top: 1.4em;
  font-size: clamp(0.85rem, 0.8rem + 0.3vw, 1.1rem);
  letter-spacing: 0.05em;
  color: var(--muted);
  text-shadow: 0 0 8px var(--bg);
}

.sale {
  position: fixed;
  top: 5vh;
  right: 5vw;
  text-align: right;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-shadow: 0 0 6px var(--bg);
}

.sale a {
  pointer-events: auto;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.sale a:hover,
.sale a:focus-visible {
  color: var(--fg);
  border-color: var(--muted);
}

.sale a:focus-visible {
  outline: 1px solid var(--muted);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .sale {
    font-size: 0.64rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  #scene,
  .mark h1,
  .tagline,
  .sale {
    animation: reveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .mark h1 { animation-delay: 0.35s; }
  .tagline { animation-delay: 0.65s; }
  .sale { animation-delay: 0.9s; }
}

@keyframes reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
