:root {
  --black: #050507;
  --blue: #3e6bf4;
  --blue-soft: #5b82f7;
  --white: #edeff4;
  --slate: #8a93a8;
  --trace: #2a3550;
}

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

body {
  background: var(--black);
  color: var(--white);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

.trace {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.trace.tl {
  top: 0;
  left: 0;
}

.trace.br {
  right: 0;
  bottom: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 3rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 2rem;
  padding: 10vh 0 3rem;
}

.wordmark {
  font-family: "Oxanium", sans-serif;
  font-weight: 600;
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  letter-spacing: 0.02em;
  line-height: 1;
}

.wordmark .ai {
  color: var(--blue);
}

.tagline {
  margin-top: 1.1rem;
  color: var(--slate);
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.tagline b {
  color: var(--white);
  font-weight: 500;
}

.miridman {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  justify-self: end;
  filter: drop-shadow(0 0 60px rgba(62, 107, 244, 0.1));
  user-select: none;
}

.about {
  display: grid;
  max-width: 640px;
  gap: 1.2rem;
  padding-bottom: 2.6rem;
}

.about a {
  color: var(--blue-soft);
  text-decoration: none;
}

.about a:hover {
  text-decoration: underline;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  padding-bottom: 3.2rem;
}

.btn {
  padding: 0.95rem 1.9rem;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-family: "Oxanium", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--blue-soft);
}

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--blue-soft);
  outline-offset: 3px;
}

.cta .aside {
  color: var(--slate);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.cta .aside a {
  color: var(--slate);
}

.release {
  overflow-x: auto;
  padding: 1.4rem 0 4rem;
  border-top: 1px solid var(--trace);
  color: var(--slate);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  line-height: 2;
  white-space: nowrap;
}

.release .dot {
  color: var(--blue);
}

.release .h {
  color: var(--blue-soft);
  white-space: normal;
  word-break: break-all;
}

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--trace);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  width: min(1040px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.4rem;
  gap: 0.5rem 1.6rem;
  color: var(--slate);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.foot a {
  color: var(--slate);
  text-decoration: none;
}

.foot a:hover {
  color: var(--white);
}

.foot .grow {
  flex: 1 1 100%;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 7vh;
  }

  .miridman {
    order: -1;
    max-width: 340px;
    justify-self: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > *,
  .about,
  .cta,
  .release {
    opacity: 0;
    transform: translateY(10px);
    animation: rise 0.7s ease forwards;
  }

  .about {
    animation-delay: 0.12s;
  }

  .cta {
    animation-delay: 0.2s;
  }

  .release {
    animation-delay: 0.28s;
  }

  @keyframes rise {
    to {
      opacity: 1;
      transform: none;
    }
  }
}
