:root {
  color-scheme: light;
  --scan: rgba(0, 0, 0, 0.07);
  --vig: rgba(0, 0, 0, 0.12);
  --bg: #ffffff;
  --ink: #0b0b0b;
  --body: #2a2a2a;
  --muted: #6d6d6d;
  --line: #e4e4e4;
  --accent: #ff2d95;
  --display:
    "Unbounded",
    "Helvetica Neue",
    Arial,
    sans-serif;
  --text:
    "DM Sans",
    "Helvetica Neue",
    Arial,
    sans-serif;
  --mono:
    "JetBrains Mono",
    ui-monospace,
    "SF Mono",
    Menlo,
    monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    color-scheme: dark;
    --scan: rgba(0, 0, 0, 0.22);
    --vig: rgba(0, 0, 0, 0.45);
    --bg: #09090b;
    --ink: #f4f4f6;
    --body: #cfcfd6;
    --muted: #8e8e98;
    --line: #25252b;
    --accent: #ff4fa8;
  }
}
:root[data-theme=dark] {
  color-scheme: dark;
  --scan: rgba(0, 0, 0, 0.22);
  --vig: rgba(0, 0, 0, 0.45);
  --bg: #09090b;
  --ink: #f4f4f6;
  --body: #cfcfd6;
  --muted: #8e8e98;
  --line: #25252b;
  --accent: #ff4fa8;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  animation: page-in 0.7s ease backwards;
  transition:
    opacity 0.4s ease,
    filter 0.4s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}
.stage,
.stage-in {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100vh;
  min-height: 100dvh;
}
.stage {
  overflow: hidden;
  overflow: clip;
}
.stage {
  animation: zoom-in 3.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.stage-in {
  animation: slow-zoom 5.2s cubic-bezier(0.45, 0, 0.2, 1) backwards;
}
@keyframes zoom-in {
  from {
    transform: scale(0.94);
  }
  to {
    transform: scale(1);
  }
}
@keyframes slow-zoom {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1);
  }
}
body.leaving {
  opacity: 0;
  filter: blur(14px);
}
@keyframes page-in {
  from {
    opacity: 0;
    filter: blur(14px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}
a {
  color: inherit;
  text-decoration: none;
}
.mono {
  font-family: var(--mono);
}
#ascii {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  animation: ascii-in 0.9s ease-out backwards;
}
@keyframes ascii-in {
  from {
    filter: blur(12px);
  }
  to {
    filter: blur(0);
  }
}
.crt {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at center,
      transparent 55%,
      var(--vig) 100%),
    repeating-linear-gradient(
      to bottom,
      transparent 0 2px,
      var(--scan) 2px 3px);
  animation: crt-off 0.8s ease 2.6s forwards;
}
@keyframes crt-off {
  to {
    opacity: 0;
  }
}
html.scan .crt {
  display: block;
  animation: none;
  opacity: 1;
}
.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2.25rem 2.5rem 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.bar .mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: -0.02em;
}
.toggle {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--ink);
  background: none;
  border: 1px solid var(--ink);
  padding: 0.3rem 0.7rem;
  margin-left: 1.25rem;
  cursor: pointer;
  border-radius: 0;
}
.toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hero {
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.2, 1);
  animation: power 0.7s steps(1) 0.9s backwards;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}
.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 12vw, 7.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand span {
  display: block;
}
.brand {
  animation:
    fringe 2.2s ease-out 1.1s backwards,
    glitch 12s steps(1) 8s infinite,
    title-zoom 2.6s cubic-bezier(0.16, 1, 0.3, 1) 1s backwards;
}
.brand .name {
  animation: kick 1s linear 1.1s backwards;
}
@keyframes title-zoom {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1);
  }
}
@keyframes fringe {
  0% {
    text-shadow: -7px 0 0 rgba(0, 229, 255, 0.75), 7px 0 0 rgba(255, 45, 149, 0.75);
  }
  35% {
    text-shadow: -4px 0 0 rgba(0, 229, 255, 0.6), 4px 0 0 rgba(255, 45, 149, 0.6);
  }
  42% {
    text-shadow: -8px 0 0 rgba(0, 229, 255, 0.7), 8px 0 0 rgba(255, 45, 149, 0.7);
  }
  50% {
    text-shadow: -3px 0 0 rgba(0, 229, 255, 0.5), 3px 0 0 rgba(255, 45, 149, 0.5);
  }
  100% {
    text-shadow: 0 0 0 transparent, 0 0 0 transparent;
  }
}
@keyframes kick {
  0%, 14%, 18.5%, 34%, 38.5%, 54%, 58.5%, 74%, 78.5%, 94%, 98%, 100% {
    transform: translate(0, 0);
  }
  14.8% {
    transform: translate(-2px, 3px);
  }
  34.8% {
    transform: translate(2px, 3px);
  }
  54.8% {
    transform: translate(-3px, 4px);
  }
  74.8% {
    transform: translate(2px, 4px);
  }
  94.6% {
    transform: translate(-3px, 5px);
  }
}
@keyframes glitch {
  0%, 100% {
    text-shadow: none;
    transform: none;
  }
  96% {
    text-shadow: -2px 0 0 rgba(0, 229, 255, 0.7), 2px 0 0 rgba(255, 45, 149, 0.7);
    transform: translateX(1px);
  }
  97% {
    text-shadow: 2px 0 0 rgba(0, 229, 255, 0.6), -2px 0 0 rgba(255, 45, 149, 0.6);
    transform: translateX(-1px);
  }
  98% {
    text-shadow: none;
    transform: none;
  }
}
.brand .name {
  perspective: 900px;
  perspective-origin: 50% 50%;
}
.brand .name i {
  display: inline-block;
  font-style: normal;
  opacity: 0;
  animation: punch 0.9s linear calc(0.9s + var(--i) * 0.2s) forwards;
}
.brand .co {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(0.7rem, 1.8vw, 0.85rem);
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.6em;
  opacity: 0;
  animation: fade 1.2s ease 2s forwards;
}
.slot {
  position: relative;
  width: min(780px, 94vw);
  height: 0;
  display: flex;
  justify-content: center;
}
.tag {
  margin-top: 2.5rem;
  min-height: 1.5em;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink);
  background: var(--bg);
  padding: 0.15rem 0.6rem;
  transition: background-color 0.3s ease;
  opacity: 0;
  animation: fade 0.6s ease 2.6s forwards;
}
.tag .caret {
  display: inline-block;
  width: 0.55em;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--accent);
  animation: blink 1s steps(1) infinite;
}
@keyframes power {
  0% {
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  22% {
    opacity: 0.35;
  }
  34% {
    opacity: 1;
  }
  46% {
    opacity: 0.7;
  }
  58% {
    opacity: 1;
  }
}
@keyframes punch {
  0% {
    opacity: 0;
    transform: translateZ(-8000px);
    filter: blur(10px);
    animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.55);
  }
  30% {
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  38% {
    opacity: 1;
    transform: translateZ(150px);
    filter: blur(0);
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.3, 1);
  }
  62% {
    transform: translateZ(-24px);
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.3, 1);
  }
  100% {
    opacity: 1;
    transform: translateZ(0);
    filter: blur(0);
  }
}
@keyframes fade {
  to {
    opacity: 1;
  }
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.term-out > :first-child {
  margin-top: auto;
}
.term {
  position: absolute;
  top: 2.15rem;
  display: none;
  left: 0;
  right: 0;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.84rem;
  line-height: 1.55;
  background: var(--bg);
  border: 1px solid var(--ink);
  border-top: 0;
  border-radius: 12px;
  -webkit-mask-image:
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.3) 14%,
      #000 40%);
  mask-image:
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.3) 14%,
      #000 40%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.hint {
  position: absolute;
  top: 4.6rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fade 0.9s ease 3.8s forwards;
}
.slot.open .hint {
  animation: fade-out 0.35s ease forwards;
}
.slot.back .hint {
  animation: fade 0.7s ease 0.5s forwards;
}
.hero.lifted {
  transform: translateY(calc(var(--lift, 0px) * -1));
}
.term.shown {
  display: block;
}
.slot.open .term {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.5s ease 0.5s, visibility 0s;
}
.slot.open .tag {
  animation: fade-out 0.35s ease forwards;
}
.slot.back .tag {
  animation: fade 0.7s ease 0.4s forwards;
}
@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.term-out {
  display: flex;
  flex-direction: column;
  height: 16rem;
  height: clamp(9rem, calc(70vh - 15rem), 26rem);
  height: clamp(9rem, calc(70dvh - 15rem), 26rem);
  overflow-y: auto;
  padding: 0.75rem 0.9rem 0;
  white-space: pre-wrap;
  word-break: break-word;
  scrollbar-width: none;
}
.term-out::-webkit-scrollbar {
  display: none;
}
.term-line {
  display: flex;
  gap: 0.6ch;
  padding: 0 0.9rem 0.75rem;
}
.term .prompt {
  white-space: nowrap;
}
.term input {
  flex: 1;
  min-width: 0;
  font: inherit;
  color: var(--ink);
  background: none;
  border: 0;
  outline: 0;
  caret-color: var(--accent);
  padding: 0;
}
.term .pink {
  color: var(--accent);
}
.term .tlink {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}
.term .dir {
  color: var(--accent);
  font-weight: 500;
}
.term:focus-within {
  border-color: var(--accent);
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding: 0 2.5rem 2.25rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fade 1s ease 2.4s forwards;
}
.footer .meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 0;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  color: var(--ink);
}
html.glitch-a *,
html.glitch-a *::before,
html.glitch-a *::after {
  text-shadow: -3px 0 0 rgba(0, 229, 255, 0.8), 3px 0 0 rgba(255, 45, 149, 0.8) !important;
}
html.glitch-b *,
html.glitch-b *::before,
html.glitch-b *::after {
  text-shadow: 2px 0 0 rgba(0, 229, 255, 0.6), -2px 0 0 rgba(255, 45, 149, 0.6) !important;
}
html.glitch-a .toggle,
html.glitch-b .toggle {
  box-shadow: -2px 0 0 rgba(0, 229, 255, 0.6), 2px 0 0 rgba(255, 45, 149, 0.6);
}
html.glitch-c *,
html.glitch-c *::before,
html.glitch-c *::after {
  text-shadow: -7px 0 0 rgba(0, 229, 255, 0.85), 7px 0 0 rgba(255, 45, 149, 0.85) !important;
}
html.glitch-d *,
html.glitch-d *::before,
html.glitch-d *::after {
  text-shadow: 6px 0 0 rgba(0, 229, 255, 0.75), -6px 0 0 rgba(255, 45, 149, 0.75) !important;
}
html.glitch-a .stage {
  transform: translateX(-3px) skewX(-0.5deg);
}
html.glitch-b .stage {
  transform: translateX(4px) skewX(0.4deg);
}
html.glitch-c .stage {
  transform: translateX(-12px) skewX(-2deg);
}
html.glitch-d .stage {
  transform: translateX(14px) skewX(1.6deg) scaleY(1.02);
}
.legal {
  flex: 1;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
}
.legal .kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.legal h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.legal .updated {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  padding-bottom: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--ink);
}
.legal h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  margin: 2.25rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.legal p,
.legal li {
  margin-bottom: 0.75rem;
  color: var(--body);
}
.legal ul {
  padding-left: 1.25rem;
}
.legal a {
  border-bottom: 1px solid var(--ink);
}
@media (max-width: 640px) {
  .term input {
    font-size: 16px;
  }
  .bar {
    padding: 2rem 1.5rem 0;
  }
  .footer {
    padding: 0 1.5rem 2rem;
    justify-content: center;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
    transition: none;
  }
  .brand .name i,
  .brand .co,
  .tag,
  .hint,
  .footer {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
  .tag .caret {
    animation: none;
  }
  .crt {
    display: none;
  }
  .term,
  .slot.open .term,
  .hero {
    transition: none;
  }
  .stage,
  .stage-in {
    animation: none;
  }
  .brand,
  .brand .name,
  .hero {
    animation: none;
  }
}
