:root {
  --bg: #f6f5f2;
  --ink: #111;
  --muted: #6b6b6b;
  --hairline: rgba(0, 0, 0, 0.08);
  --tile-a: #e9e4dc;
  --tile-b: #dfe7f1;
  --tile-c: #efe0de;
  --tile-d: #e2ebe3;
  --veil: rgba(246, 245, 242, 0.86);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0e;
    --ink: #f3f2ef;
    --muted: #9a9a9a;
    --hairline: rgba(255, 255, 255, 0.1);
    --tile-a: #1d1b19;
    --tile-b: #161c24;
    --tile-c: #221a1a;
    --tile-d: #171e19;
    --veil: rgba(13, 13, 14, 0.82);
  }
}

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

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.feed {
  position: fixed;
  inset: -10vh -5vw;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  opacity: 0.9;
  z-index: 0;
}

.feed .col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: drift 90s linear infinite;
}

.feed .col:nth-child(even) { animation-direction: reverse; }

.feed .tile {
  border-radius: 18px;
  background: var(--tile-a);
  flex: none;
}

.feed .tile:nth-child(4n + 2) { background: var(--tile-b); }
.feed .tile:nth-child(4n + 3) { background: var(--tile-c); }
.feed .tile:nth-child(4n + 4) { background: var(--tile-d); }

@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 60% 55% at 50% 48%, var(--bg) 35%, var(--veil) 70%, transparent 100%);
  pointer-events: none;
}

.stage {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: center;
  width: min(640px, 100% - 32px);
  text-align: center;
  padding: 48px 0;
  animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) both;
}

.logo {
  width: min(280px, 70vw);
  aspect-ratio: 243.2 / 27.8;
  margin: 0 auto 44px;
  background: var(--ink);
  -webkit-mask: url(/images/logo.svg) center / contain no-repeat;
  mask: url(/images/logo.svg) center / contain no-repeat;
}

.headline {
  font: 500 clamp(36px, 7vw, 64px)/1.05 Jost, Futura, "Century Gothic", sans-serif;
  letter-spacing: -0.02em;
}

.lede {
  margin: 22px auto 0;
  max-width: 30em;
  color: var(--muted);
  font-size: clamp(15px, 2.2vw, 17px);
}

.soon {
  margin-top: 36px;
  font: 500 15px/1 Jost, Futura, "Century Gothic", sans-serif;
  letter-spacing: 0.02em;
}

.foot {
  position: relative;
  z-index: 2;
  padding: 24px 16px 28px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

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

@media (max-width: 720px) {
  .feed { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .feed .col { gap: 12px; }
  .feed .col:nth-child(n + 4) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .feed .col, .stage { animation: none; }
}
