:root {
  color-scheme: dark;
  --bg: oklch(15.5% 0.016 294);
  --bg-2: oklch(20.5% 0.025 294);
  --paper: oklch(94.8% 0.012 72);
  --paper-soft: oklch(83.5% 0.025 305);
  --pulse: oklch(65.4% 0.251 9);
  --amber: oklch(84.8% 0.159 80);
  --mute: oklch(63% 0.025 300);
  --line: oklch(94.8% 0.012 72 / 0.07);
  --line-strong: oklch(94.8% 0.012 72 / 0.12);
  --font-sans: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
}

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

html {
  background: var(--bg);
}

body {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 45%, var(--bg-2), transparent 42%),
    var(--bg);
  color: var(--paper);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(
      oklch(94.8% 0.012 72 / 0.022) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      oklch(94.8% 0.012 72 / 0.018) 1px,
      transparent 1px
    );
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 70% 42%, oklch(50% 0 0), transparent 62%);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px clamp(20px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  color: var(--mute);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.bar b {
  color: var(--paper);
  font-weight: 700;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pulse);
  white-space: nowrap;
}

.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pulse);
  box-shadow: 0 0 10px var(--pulse);
  animation: blink 1.6s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

main {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 5vw, 48px);
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 60px);
}

.copy {
  position: relative;
  z-index: 3;
}

.tag {
  margin-bottom: 22px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

h1 {
  max-width: 11ch;
  margin-bottom: 8px;
  font-size: clamp(46px, 8vw, 92px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

h1 .b {
  color: var(--pulse);
}

.sub {
  max-width: 34ch;
  margin-top: 24px;
  color: var(--paper-soft);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.5;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: oklch(23% 0.02 294);
  color: var(--paper);
  cursor: default;
  user-select: none;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.badge:hover {
  border-color: var(--pulse);
  background: oklch(25% 0.025 294);
  transform: translateY(-2px);
}

.badge .lbl {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.badge .lbl small {
  color: var(--mute);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge .lbl span {
  font-size: 15px;
  font-weight: 700;
}

.badge .soon {
  margin-left: 6px;
  padding: 3px 7px;
  border: 1px solid oklch(84.8% 0.159 80 / 0.4);
  border-radius: 6px;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.radar {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
}

.radar .ring {
  position: absolute;
  inset: 50%;
  border: 1.5px solid oklch(65.4% 0.251 9 / 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ping 3.6s cubic-bezier(0.1, 0.7, 0.3, 1) infinite;
}

.radar .ring:nth-child(5) {
  animation-delay: 0.9s;
}

.radar .ring:nth-child(6) {
  animation-delay: 1.8s;
}

.radar .ring:nth-child(7) {
  animation-delay: 2.7s;
}

@keyframes ping {
  0% {
    width: 0;
    height: 0;
    opacity: 0.9;
  }

  100% {
    width: 100%;
    height: 100%;
    opacity: 0;
  }
}

.radar .grid-ring {
  position: absolute;
  inset: 50%;
  border: 1px solid oklch(94.8% 0.012 72 / 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.gr1 {
  width: 34%;
  height: 34%;
}

.gr2 {
  width: 66%;
  height: 66%;
}

.gr3 {
  width: 98%;
  height: 98%;
}

.pin {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pulse);
  box-shadow:
    0 0 0 6px oklch(65.4% 0.251 9 / 0.18),
    0 0 24px var(--pulse);
  transform: translate(-50%, -50%);
}

.blip {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
  animation: fade 3.6s ease-in-out infinite;
}

.blip.a {
  top: 24%;
  left: 62%;
  animation-delay: 0.4s;
}

.blip.b {
  top: 68%;
  left: 33%;
  animation-delay: 1.5s;
}

.blip.c {
  top: 58%;
  left: 74%;
  animation-delay: 2.4s;
}

@keyframes fade {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.6);
  }

  40%,
  60% {
    opacity: 1;
    transform: scale(1);
  }
}

.meta {
  position: absolute;
  bottom: -2px;
  left: 0;
  color: var(--mute);
  font-family: var(--font-mono);
  font-size: 11px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 44px);
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}

@media (max-width: 780px) {
  main {
    grid-template-columns: 1fr;
    text-align: left;
  }

  h1 {
    max-width: 12ch;
  }

  .radar {
    order: -1;
    max-width: 300px;
    margin-bottom: 8px;
  }

  .sub {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .stores {
    flex-direction: column;
  }

  .badge {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .ring,
  .blip,
  .live i {
    animation: none;
  }

  .ring {
    width: 100%;
    height: 100%;
    opacity: 0.25;
  }

  .blip {
    opacity: 1;
  }

  .badge {
    transition: none;
  }
}
