:root {
  --ink: #eef3f8;
  --muted: #c5d0dc;
  --faint: #93a4b6;
  --line: rgba(238, 243, 248, 0.16);
  --green: #d7ffe0;
  --bg: #070910;
  --wrap: min(880px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Outfit, "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: #fff; }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

#space {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.sky {
  position: fixed;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 18% 28%, rgba(86, 140, 98, 0.28), transparent 72%),
    radial-gradient(closest-side at 82% 72%, rgba(36, 64, 128, 0.42), transparent 70%),
    radial-gradient(closest-side at 62% 12%, rgba(92, 48, 120, 0.22), transparent 68%);
  animation: drift 56s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.5) 100%);
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 5;
  padding: 8px 14px;
  background: var(--green);
  color: #07110c;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

main, .foot {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin: 0 auto;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 9vh 0 72px;
}
.logo {
  width: min(420px, 86vw);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(170, 255, 190, 0.28));
  animation: float 7s ease-in-out infinite alternate;
}
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
h1 {
  margin-top: 8px;
  font-size: clamp(40px, 7vw, 76px);
}
.lede {
  max-width: 36em;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(215, 255, 224, 0.55);
  color: var(--green);
  background: rgba(7, 9, 16, 0.35);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.btn:hover { background: rgba(215, 255, 224, 0.14); color: #fff; }
.btn-quiet { border-color: var(--line); color: var(--ink); }

.work { padding: 12px 0 80px; }
.work h2, .shipped h2 { font-size: clamp(28px, 4vw, 40px); }
.work ul {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.work li {
  margin: 0;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 12, 22, 0.46);
  backdrop-filter: blur(8px);
}
.work h3 { font-size: 20px; }
.work p, .shipped p { margin: 8px 0 0; color: var(--muted); }

.shipped {
  padding: 8px 0 88px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.shipped p { max-width: 38em; margin-left: auto; margin-right: auto; }
.shipped .btn { margin-top: 22px; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 14px;
}
.foot p { margin: 0; }
.foot a { color: var(--faint); }

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.06); }
}
@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

@media (max-width: 700px) {
  .work ul { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .foot { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sky, .logo { animation: none; }
}
