:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --edge-x: 0.65rem;
  --edge-y: 0.55rem;
  --ink: #fff8ef;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #17204d;
}

body {
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.landing {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.art,
.art img {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.art {
  background: #17204d;
}

.art img {
  object-fit: cover;
  object-position: 50% 45%;
  user-select: none;
  -webkit-user-drag: none;
}

.site-header {
  position: absolute;
  z-index: 1;
  top: max(var(--edge-y), env(safe-area-inset-top));
  right: max(var(--edge-x), env(safe-area-inset-right));
  left: max(var(--edge-x), env(safe-area-inset-left));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.momo-logo {
  display: block;
  width: clamp(8.25rem, 11vw, 10.5rem);
  text-decoration: none;
}

.momo-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.socials {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 0.7vw, 0.6rem);
}

.socials a {
  display: grid;
  width: clamp(2.35rem, 3vw, 2.85rem);
  height: clamp(2.35rem, 3vw, 2.85rem);
  place-items: center;
  border-radius: 50%;
  outline-offset: 4px;
  filter: drop-shadow(0 2px 7px rgba(20, 14, 55, 0.58));
  transition: transform 160ms ease, opacity 160ms ease;
}

.socials svg,
.socials img {
  width: 58%;
  height: 58%;
  overflow: visible;
  fill: currentColor;
  object-fit: contain;
}

.socials a:hover {
  transform: translateY(-2px);
}

.socials a:active {
  transform: translateY(0) scale(0.96);
}

.socials a:focus-visible,
.momo-logo:focus-visible {
  outline: 2px solid currentColor;
}

.countdown {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(92vw, 62rem);
  padding: clamp(1rem, 2vw, 1.45rem) clamp(0.9rem, 2.2vw, 1.7rem);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 248, 239, 0.24);
  border-radius: clamp(0.85rem, 1.6vw, 1.2rem);
  background: rgba(16, 22, 61, 0.3);
  box-shadow: 0 8px 30px rgba(12, 14, 48, 0.12);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  text-align: center;
  pointer-events: none;
}

.countdown time {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: clamp(0.2rem, 1vw, 0.9rem);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 18px rgba(17, 12, 50, 0.75), 0 1px 3px rgba(17, 12, 50, 0.8);
}

.unit {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: clamp(0.45rem, 1vw, 0.75rem);
}

.value,
.separator {
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 650;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.separator {
  margin-top: -0.08em;
  font-weight: 350;
  opacity: 0.8;
}

.label {
  font-size: clamp(0.55rem, 1.1vw, 0.75rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 600px) {
  :root {
    --edge-x: 0.6rem;
    --edge-y: 0.55rem;
  }

  .art img {
    object-fit: cover;
    object-position: 50% 50%;
  }

  .momo-logo {
    width: 8.25rem;
  }

  .countdown {
    width: calc(100vw - 1.25rem);
    padding: 0.9rem 0.55rem;
  }

  .countdown time {
    gap: 0.12rem;
  }

  .value,
  .separator {
    font-size: clamp(2.2rem, 13vw, 3.5rem);
  }

  .label {
    font-size: 0.48rem;
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .socials a {
    transition: none;
  }
}
