:root {
  --ink: #070708;
  --fog: #a3a3ab;
  --line: rgba(255, 255, 255, 0.1);
  --cyan: #00e5ff;
  --font: "Figtree", "SF Pro Text", system-ui, sans-serif;
  --display: "Syne", "Figtree", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: #f4f4f2;
  background: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(0, 229, 255, 0.35); color: #fff; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.04;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  pointer-events: none;
  position: fixed;
  width: min(65vw, 560px);
  height: min(65vw, 560px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.13), transparent 68%);
  top: -16%;
  right: -10%;
  filter: blur(6px);
  z-index: 0;
  will-change: transform;
}

.rings {
  pointer-events: none;
  position: fixed;
  width: 240px;
  height: 240px;
  bottom: -50px;
  left: -36px;
  opacity: 0.16;
  z-index: 0;
  will-change: transform;
}

.rings img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  min-height: 100vh;
  padding: 1.4rem 0 2.4rem;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.25fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(2rem, 5vw, 4.5rem);
  row-gap: 1.5rem;
}

.top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  animation: rise 0.7s var(--ease) both;
}

.logo { height: 28px; width: auto; }

.pill {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fog);
}

.hero {
  align-self: center;
  padding-bottom: 0.4rem;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.6rem, 8vw, 6.2rem);
  letter-spacing: -0.055em;
  line-height: 0.9;
  animation: rise 0.8s var(--ease) 0.08s both;
}

.hero h1 .dot { color: var(--cyan); }

.slash {
  display: block;
  width: 56px;
  height: 3px;
  margin: 1.1rem 0 1rem;
  background: var(--cyan);
  transform-origin: left center;
  border-radius: 2px;
  animation: draw 0.7s var(--ease) 0.28s both;
}

.hero p {
  margin: 0;
  max-width: 26rem;
  color: var(--fog);
  font-size: 1.02rem;
  line-height: 1.55;
  animation: rise 0.75s var(--ease) 0.22s both;
}

.menu {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  align-self: center;
}

.menu li {
  border-bottom: 1px solid var(--line);
  animation: rise 0.65s var(--ease) both;
}

.menu li:nth-child(1) { animation-delay: 0.28s; }
.menu li:nth-child(2) { animation-delay: 0.34s; }
.menu li:nth-child(3) { animation-delay: 0.4s; }
.menu li:nth-child(4) { animation-delay: 0.46s; }
.menu li:nth-child(5) { animation-delay: 0.52s; }

.menu a {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) auto;
  gap: 0.7rem 1rem;
  align-items: center;
  padding: 1.05rem 0.25rem 1.05rem 0;
  position: relative;
  transition: padding 0.35s var(--ease);
}

.menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 2px;
  background: var(--cyan);
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.35s var(--ease);
}

.menu a:hover,
.menu a:focus-visible {
  padding-left: 0.85rem;
  outline: none;
}

.menu a:hover::before,
.menu a:focus-visible::before {
  transform: scaleY(1);
}

.num {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: #64646c;
  transition: color 0.3s var(--ease);
}

.menu a:hover .num,
.menu a:focus-visible .num { color: var(--cyan); }

.copy h2 {
  margin: 0 0 0.22rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.copy p {
  margin: 0;
  color: var(--fog);
  font-size: 0.92rem;
  max-width: 40ch;
}

.meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  text-align: right;
}

.who {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #74747c;
}

.lock {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--cyan);
  opacity: 0.9;
}

.lock svg { width: 10px; height: 10px; }

.arrow {
  width: 16px;
  height: 16px;
  margin-left: 0.25rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
  color: var(--cyan);
}

.menu a:hover .arrow,
.menu a:focus-visible .arrow {
  opacity: 1;
  transform: translateX(0);
}

.foot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #63636b;
  font-size: 0.84rem;
  padding-top: 0.4rem;
  animation: rise 0.6s var(--ease) 0.55s both;
}

.foot code {
  font-family: var(--mono);
  font-size: 0.8em;
  color: #888890;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes draw {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (min-width: 1400px) {
  .page {
    width: min(1200px, calc(100% - 4rem));
    column-gap: clamp(2.5rem, 6vw, 5rem);
  }
}

@media (max-width: 1100px) {
  .page {
    width: min(960px, calc(100% - 2.25rem));
    column-gap: 2rem;
  }
  .rings {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 860px) {
  .page {
    width: calc(100% - 1.5rem);
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    row-gap: 1.1rem;
    padding-bottom: 2rem;
  }
  .hero { align-self: start; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .menu { align-self: stretch; }
  .menu a {
    grid-template-columns: 2.2rem 1fr;
    gap: 0.45rem 0.8rem;
    padding: 0.95rem 0.15rem 0.95rem 0;
  }
  .meta {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    flex-wrap: wrap;
  }
  .arrow { display: none; }
  .rings {
    width: 160px;
    height: 160px;
    bottom: -40px;
    left: -28px;
    opacity: 0.12;
  }
}

@media (max-width: 560px) {
  .page { width: calc(100% - 1.15rem); padding-top: 1.1rem; }
  .logo { height: 24px; }
  .pill { font-size: 0.62rem; letter-spacing: 0.1em; }
  .hero p { font-size: 0.95rem; }
  .menu a { grid-template-columns: 2rem 1fr; }
  .num { font-size: 0.78rem; }
  .copy h2 { font-size: 1.05rem; }
  .copy p { font-size: 0.88rem; }
  .foot { font-size: 0.78rem; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .top,
  .hero h1,
  .hero p,
  .slash,
  .menu li,
  .foot {
    animation: none !important;
  }
  .menu a,
  .menu a::before,
  .num,
  .arrow { transition: none; }
}
