:root {
  color-scheme: dark;
  --background: #07090b;
  --foreground: #f0f2f4;
  --muted: #777d85;
  --line: #24282d;
  --accent: #4bc7ef;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 20%, rgb(75 199 239 / 5%), transparent 30rem),
    var(--background);
  color: var(--foreground);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  display: grid;
  place-items: center;
  width: min(100% - 96px, 1360px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-block: 64px;
  animation: page-enter 700ms 950ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.loader {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--background);
  pointer-events: none;
  animation: loader-exit 600ms 850ms cubic-bezier(0.76, 0, 0.24, 1) both;
}

.loader-mark {
  width: min(240px, calc(100vw - 80px));
  animation: mark-enter 650ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.loader-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.loader-mark::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 22px;
  background: var(--accent);
  content: "";
  transform-origin: left;
  animation: loader-line 600ms 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  margin: 0 0 clamp(38px, 5vh, 58px);
  line-height: 0;
}

.brand img {
  display: block;
  width: clamp(200px, 20vw, 240px);
  height: auto;
  margin-inline: auto;
}

.contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 38px);
  margin-top: clamp(38px, 5vh, 58px);
}

.contact-links a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #aeb3b9;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color 180ms ease;
}

.contact-links a span {
  color: var(--muted);
  font-size: 0.9rem;
  transition: transform 180ms ease;
}

.contact-links a:hover {
  color: var(--foreground);
}

.contact-links a:hover span {
  transform: translate(2px, -2px);
}

.contact-links a:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.intro {
  width: min(100%, 1100px);
  text-align: center;
}

.intro p {
  margin: 0;
  color: #d7dade;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 1.5;
}

@keyframes mark-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loader-line {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes loader-exit {
  from {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  to {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
  }
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(100% - 40px, 1360px);
    padding-block: 48px;
  }

  .brand img {
    width: 190px;
  }

  .contact-links {
    flex-wrap: wrap;
    row-gap: 14px;
  }

  .contact-links a {
    font-size: 0.65rem;
  }

  .intro p {
    font-size: clamp(1.15rem, 5vw, 1.4rem);
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
