:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background: #08090d;
  color: #dbe0eb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: #08090d;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

.scroll-track {
  height: 124vh;
  height: 124svh;
  pointer-events: none;
}

.landing {
  position: fixed;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #08090d;
  touch-action: pan-y;
}

.shader-fallback,
.halftone {
  position: fixed;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.shader-fallback {
  background: #08090d;
}

.shader-fallback[hidden],
.halftone[hidden] {
  display: none;
}

.glass-panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(44rem, calc(100% - 2rem));
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 6vw, 3.75rem);
  overflow: hidden;
  border: 1px solid rgb(219 224 235 / 24%);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgb(219 224 235 / 12%), rgb(8 10 13 / 68%));
  box-shadow:
    0 28px 90px rgb(0 0 0 / 38%),
    inset 0 1px 0 rgb(255 255 255 / 32%),
    inset 0 -1px 0 rgb(219 224 235 / 8%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  backdrop-filter: blur(22px) saturate(125%);
  text-align: center;
}

.glass-panel::before {
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 42%), transparent);
  content: "";
  pointer-events: none;
}

.wordmark {
  position: relative;
  display: grid;
  place-items: center;
  width: min(15rem, 100%);
  aspect-ratio: 3 / 2;
  flex: none;
  margin: 0;
}

.wordmark-layer {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 80ms linear;
}

.wordmark-display {
  opacity: 1;
}



.glass-panel p {
  margin: -0.65rem 0 0;
  color: #fff;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
}

.glass-panel a {
  margin-top: -0.35rem;
  color: rgb(219 224 235 / 76%);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-decoration: none;
  text-underline-offset: 0.22em;
  transition: color 180ms ease;
}

.glass-panel a:hover,
.glass-panel a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 520px) {
  .glass-panel {
    gap: 0.9rem;
    padding: 2rem 1.35rem;
    border-radius: 1.5rem;
  }

  .wordmark {
    width: min(15rem, 100%);
  }

  .glass-panel p {
    margin: -0.65rem 0 0;
  }
}

@media (max-height: 480px) {
  .glass-panel {
    gap: 0.65rem;
    padding: 1.15rem 1.5rem;
    border-radius: 1.4rem;
  }

  .wordmark {
    width: min(15rem, 100%);
  }

  .glass-panel p {
    margin: -0.45rem 0 0;
    font-size: 0.9rem;
  }

  .glass-panel a {
    font-size: 0.85rem;
  }
}

@media (max-width: 950px) and (max-height: 480px) and (orientation: landscape) {
  .glass-panel {
    width: min(32rem, calc(100% - 3rem));
  }
}

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