*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --plum: #350a26;
  --plum-light: rgba(53, 10, 38, 0.72);
  --white: #ffffff;
  --nav-height: 3.25rem;
  --nav-link-size: 0.8125rem;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--white);
  background: var(--plum);
}

.bg-mesh {
  position: absolute;
  top: calc(-1 * var(--nav-height) - 3rem);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
  transform: translateZ(0);
  background: linear-gradient(180deg, var(--white) 0%, var(--plum) 100%);
}

.bg-mesh__flow,
.bg-mesh__shimmer,
.bg-mesh__track {
  position: absolute;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.bg-mesh__flow {
  inset: -60%;
  background:
    radial-gradient(ellipse 55% 45% at 28% 38%, rgba(255, 255, 255, 0.95) 0%, transparent 58%),
    radial-gradient(ellipse 50% 42% at 72% 62%, rgba(201, 149, 179, 0.72) 0%, transparent 60%),
    radial-gradient(ellipse 58% 48% at 48% 82%, rgba(53, 10, 38, 0.82) 0%, transparent 62%);
  animation: water-flow 18s linear infinite;
}

.bg-mesh__shimmer {
  inset: -35%;
  background: radial-gradient(
    ellipse 65% 40% at 50% 42%,
    rgba(255, 255, 255, 0.34) 0%,
    transparent 62%
  );
  animation: water-shimmer 12s linear infinite;
  animation-delay: -4s;
  pointer-events: none;
}

.bg-mesh__track {
  border-radius: 50%;
}

.bg-mesh__track--light {
  top: -20%;
  left: -10%;
  width: 70vmax;
  height: 70vmax;
  animation: water-ripple-light 10s linear infinite;
}

.bg-mesh__track--plum {
  bottom: -25%;
  right: -15%;
  width: 80vmax;
  height: 80vmax;
  animation: water-ripple-plum 14s linear infinite;
  animation-delay: -5s;
}

.bg-mesh__track--accent {
  top: 35%;
  left: 40%;
  width: 55vmax;
  height: 55vmax;
  animation: water-ripple-accent 17s linear infinite;
  animation-delay: -8s;
}

.bg-mesh__orb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.78;
}

.bg-mesh__orb--light {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, transparent 70%);
}

.bg-mesh__orb--plum {
  background: radial-gradient(circle, rgba(53, 10, 38, 0.9) 0%, transparent 68%);
}

.bg-mesh__orb--accent {
  background: radial-gradient(
    circle,
    rgba(120, 40, 90, 0.45) 0%,
    transparent 72%
  );
}

@keyframes water-flow {
  0% {
    transform: translate3d(-10%, -8%, 0) rotate(0deg) scale(1.08);
  }

  25% {
    transform: translate3d(8%, -5%, 0) rotate(90deg) scale(1.12);
  }

  50% {
    transform: translate3d(10%, 9%, 0) rotate(180deg) scale(1.1);
  }

  75% {
    transform: translate3d(-6%, 7%, 0) rotate(270deg) scale(1.11);
  }

  100% {
    transform: translate3d(-10%, -8%, 0) rotate(360deg) scale(1.08);
  }
}

@keyframes water-shimmer {
  0% {
    transform: translate3d(-18%, -10%, 0) scale(1);
  }

  50% {
    transform: translate3d(16%, 12%, 0) scale(1.12);
  }

  100% {
    transform: translate3d(-18%, -10%, 0) scale(1);
  }
}

@keyframes water-ripple-light {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  25% {
    transform: translate3d(14vw, 10vh, 0) scale(1.08);
  }

  50% {
    transform: translate3d(18vw, 16vh, 0) scale(1.14);
  }

  75% {
    transform: translate3d(6vw, 12vh, 0) scale(1.06);
  }

  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes water-ripple-plum {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  25% {
    transform: translate3d(-12vw, -9vh, 0) scale(1.07);
  }

  50% {
    transform: translate3d(-17vw, -14vh, 0) scale(1.14);
  }

  75% {
    transform: translate3d(-7vw, -10vh, 0) scale(1.05);
  }

  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes water-ripple-accent {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  25% {
    transform: translate3d(-11vw, 12vh, 0) scale(1.09);
  }

  50% {
    transform: translate3d(9vw, 18vh, 0) scale(1.16);
  }

  75% {
    transform: translate3d(14vw, 6vh, 0) scale(1.07);
  }

  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.site-header,
main {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--nav-height);
  background: transparent;
  transition: color 0.25s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--white);
  transform: translateX(-50%);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 72rem;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.nav-logo {
  position: absolute;
  left: 1.25rem;
  display: block;
  line-height: 0;
  padding: 0;
}

.nav-logo img {
  display: block;
  width: auto;
  height: 1.546875rem;
  padding: 0;
  transition: filter 0.25s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  font-size: var(--nav-link-size);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--plum-light);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--plum);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-height) + 2rem) 1.5rem 4rem;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  min-height: calc(100vh - var(--nav-height) - 2rem);
  text-align: center;
}

.hero h1 {
  margin: 0;
  width: min(100%, 42rem);
  max-width: 42rem;
  font-size: clamp(2.85rem, 6.25vw, 4.75rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 0;
  width: min(100%, 42rem);
  max-width: 42rem;
  font-size: clamp(1.1rem, 2.2vw, 1.375rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.88);
  text-wrap: pretty;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 14.5rem;
  padding: 0.875rem 1.5rem 0.875rem 1.25rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.btn__icon {
  display: block;
  width: 1.7265625rem;
  height: 1.7265625rem;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  object-fit: contain;
}

.btn-primary {
  color: var(--white) !important;
  background-color: #000000 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.24);
}

.hero .btn-primary {
  margin-top: 0.75rem;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  background-color: #171717 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14), 0 12px 32px rgba(0, 0, 0, 0.28);
}

.btn-primary:active {
  transform: translateY(0);
}

.site-footer {
  background: #000000;
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 1.5rem 2rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 72rem;
  margin: 0 auto;
}

.site-footer__brand {
  max-width: 22rem;
}

.site-footer__logo {
  display: inline-block;
  line-height: 0;
}

.site-footer__logo img {
  height: 1.5rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.site-footer__legal {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.52);
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.site-footer__col h3 {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}

.site-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links li + li {
  margin-top: 0.625rem;
}

.site-footer__links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: var(--white);
}

.site-footer__bottom {
  max-width: 72rem;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.52);
}

.site-footer__meta a {
  color: rgba(255, 255, 255, 0.52);
  transition: color 0.15s ease;
}

.site-footer__meta a:hover,
.site-footer__meta a:focus-visible {
  color: var(--white);
}

.site-footer__meta span {
  color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 768px) {
  .site-header {
    height: auto;
  }

  .nav {
    flex-direction: column;
    justify-content: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem 1rem;
  }

  .nav-logo {
    position: static;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }

  .hero {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 1rem);
  }

  .hero__content {
    min-height: calc(100vh - var(--nav-height) - 5rem);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bg-mesh__flow,
  .bg-mesh__shimmer,
  .bg-mesh__track {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
