:root {
  --bg: #0d0f14;
  --fg: #edf2ff;
  --muted: rgba(237, 242, 255, .58);
  --line: rgba(237, 242, 255, .13);
  --glow: rgba(123, 211, 255, .72);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 28px);
  background:
    radial-gradient(circle at 18% 12%, rgba(123, 211, 255, .16), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(255, 119, 175, .13), transparent 34%),
    radial-gradient(circle at 55% 35%, rgba(255, 205, 116, .08), transparent 42%),
    #0d0f14;
}

@media (hover: hover) and (pointer: fine) {
  html {
    overflow-y: scroll;
    scrollbar-gutter: stable both-edges;
  }
}

.field {
  position: fixed;
  inset: -10vmax;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
  transform: rotate(-7deg) scale(1.08);
  animation: drift 28s linear infinite;
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
  mask-image: radial-gradient(circle at center, black 0%, transparent 72%);
}

.grain {
  position: fixed;
  inset: 0;
  opacity: .12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.orbital {
  position: fixed;
  width: min(74vmin, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(237, 242, 255, .1);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(123, 211, 255, .05), 0 0 100px rgba(123, 211, 255, .04);
  pointer-events: none;
}

.orbital::before,
.orbital::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(237, 242, 255, .13);
  border-radius: 50%;
  animation: spin 36s linear infinite;
}

.orbital::after {
  inset: 27%;
  border-style: solid;
  opacity: .38;
  animation-direction: reverse;
  animation-duration: 25s;
}

main {
  width: min(960px, 100%);
  min-height: min(620px, calc(100svh - clamp(28px, 6vw, 56px)));
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
  border: 1px solid rgba(237, 242, 255, .12);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .032));
  box-shadow: 0 24px 90px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .12);
  overflow: hidden;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

main::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  background:
    radial-gradient(circle at var(--x, 48%) var(--y, 42%), rgba(123, 211, 255, .18), transparent 26%),
    conic-gradient(from 90deg at 50% 50%, transparent, rgba(123, 211, 255, .13), transparent, rgba(255, 205, 116, .12), transparent);
  opacity: .85;
  pointer-events: none;
}

.topbar,
.footer,
.content {
  position: relative;
  z-index: 2;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  padding: clamp(16px, 3vw, 22px) clamp(16px, 3.5vw, 24px);
  border-bottom: 1px solid rgba(237, 242, 255, .1);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid rgba(237, 242, 255, .14);
  border-radius: 999px;
  background: rgba(0, 0, 0, .18);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: normal;
  max-width: 100%;
}

.dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgb(126, 234, 176);
  box-shadow: 0 0 0 0 rgba(126, 234, 176, .7);
  animation: pulse 1.8s infinite;
}

.content {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: clamp(28px, 6vw, 76px) clamp(18px, 5vw, 48px);
}

.signal {
  width: clamp(84px, 15vmin, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  transform: translateX(clamp(18px, 5vw, 64px));
  margin-bottom: clamp(20px, 4vmin, 34px);
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(237, 242, 255, .16), rgba(237, 242, 255, .03) 62%, transparent 63%);
}

.signal span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(123, 211, 255, .42);
  animation: ring 3.2s ease-out infinite;
}

.signal span:nth-child(2) {
  animation-delay: .85s;
  border-color: rgba(255, 205, 116, .38);
}

.signal span:nth-child(3) {
  animation-delay: 1.7s;
  border-color: rgba(255, 119, 175, .32);
}

.core {
  width: 26px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #edf2ff;
  box-shadow: 0 0 22px var(--glow), 0 0 60px rgba(123, 211, 255, .26);
  animation: breathe 2.8s ease-in-out infinite;
}

h1 {
  margin: 0;
  max-width: 840px;
  width: 100%;
  font-size: clamp(34px, 9vw, 88px);
  line-height: 1.04;
  font-weight: 740;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.domain {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: transparent;
  background: linear-gradient(90deg, #edf2ff, #9ce2ff 38%, #ffd78e 72%, #edf2ff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 8s ease-in-out infinite;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(670px, 100%);
  margin-top: clamp(26px, 5vw, 42px);
}

.stat {
  padding: 15px 14px;
  border: 1px solid rgba(237, 242, 255, .11);
  border-radius: 8px;
  background: rgba(0, 0, 0, .16);
  text-align: left;
}

.label {
  color: rgba(237, 242, 255, .42);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  color: rgba(237, 242, 255, .86);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: clamp(16px, 3vw, 20px) clamp(16px, 3.5vw, 24px);
  border-top: 1px solid rgba(237, 242, 255, .1);
  color: rgba(237, 242, 255, .46);
  font-size: 13px;
}

.ticker {
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  flex: 1 1 260px;
  min-width: 0;
}

.ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: crawl 22s linear infinite;
}

.ticker.is-paused span,
.ticker:has(.tickerContact:hover) span,
.ticker:has(.tickerContact:focus-visible) span {
  animation-play-state: paused;
}

.tickerContact {
  color: rgba(237, 242, 255, .86);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.tickerContact:hover,
.tickerContact:focus-visible {
  color: var(--fg);
}

@media (max-width: 700px) {
  html {
    overflow-y: auto;
    scrollbar-gutter: auto;
  }

  body {
    place-items: start center;
  }

  main {
    display: flex;
    flex-direction: column;
    min-height: auto;
    border-radius: 26px;
    overflow: visible;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  main::before {
    display: none;
  }

  .content {
    flex: 1 0 auto;
    align-content: start;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    text-align: center;
  }

  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .ticker {
    width: 100%;
    flex-basis: auto;
    white-space: normal;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ticker span {
    padding-left: 0;
    animation: none;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .topbar {
    align-items: stretch;
  }

  .badge {
    justify-content: center;
    font-size: 11px;
    letter-spacing: .05em;
  }

  h1 {
    font-size: clamp(30px, 12vw, 48px);
  }

  .signal {
    width: 78px;
    transform: translateX(18px);
  }
}

@media (max-height: 720px) and (min-width: 701px) {
  main {
    min-height: auto;
  }

  .content {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .signal {
    width: 88px;
    transform: translateX(clamp(20px, 4vw, 48px));
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(36px, 7vw, 68px);
    line-height: 1.02;
  }

  .stats {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes drift {
  to {
    transform: rotate(-7deg) scale(1.08) translate3d(52px, 52px, 0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(126, 234, 176, .72);
  }

  70% {
    box-shadow: 0 0 0 13px rgba(126, 234, 176, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(126, 234, 176, 0);
  }
}

@keyframes ring {
  0% {
    transform: scale(.42);
    opacity: .95;
  }

  100% {
    transform: scale(1.62);
    opacity: 0;
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(.92);
    opacity: .88;
  }

  50% {
    transform: scale(1.16);
    opacity: 1;
  }
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes crawl {
  to {
    transform: translateX(-100%);
  }
}
