:root {
  --bg: #0a0a0b;
  --dot-color: rgba(255, 255, 255, 0.09);
  --dot-size: 1px;
  --dot-gap: 26px;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.85);
  --accent: #7900ff;
  --content-width: 72rem;
  --section-padding: clamp(3rem, 8vw, 6rem);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  background-color: var(--bg);
  background-image: radial-gradient(
    circle,
    var(--dot-color) var(--dot-size),
    transparent calc(var(--dot-size) + 0.5px)
  );
  background-size: var(--dot-gap) var(--dot-gap);
  background-position: center top;
}

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

a {
  color: inherit;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 5rem);
}

.hero__inner {
  position: relative;
  flex: 1;
  display: grid;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 44%);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  align-content: center;
}

.hero > .site-nav {
  flex-shrink: 0;
  justify-content: center;
  width: 100%;
  max-width: var(--content-width);
  margin: clamp(1.5rem, 4vw, 2rem) auto 0;
}

.hero__content {
  max-width: 36rem;
}

.hero__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.hero__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.hero__links a:hover {
  opacity: 0.75;
}

.hero__links img {
  height: 2.25rem;
  width: auto;
}

.hero__links a:not(.hero__logo) img {
  filter: brightness(0) invert(1);
}

.hero__links .hero__logo img {
  height: 3rem;
}

.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  font-weight: 700;
  line-height: 1.1;
}

.hero__title {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero__intro {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.hero__photo-wrap {
  position: relative;
  width: 100%;
  max-width: min(100%, 28rem);
}

.hero__photo-wrap::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: radial-gradient(circle at 50% 50%, rgba(121, 0, 255, 0.45), transparent 65%);
  filter: blur(24px);
  z-index: 0;
}

.hero__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 72% center;
  border-radius: 1.5rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.legal {
  padding: var(--section-padding) clamp(1.5rem, 5vw, 5rem);
}

.legal__inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.legal__title {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.legal__body {
  max-width: 48rem;
  font-size: clamp(0.9rem, 2.4vw, 0.95rem);
  line-height: 1.65;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.legal__body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal__body li {
  margin-bottom: 0.5rem;
}

.legal__body strong {
  color: var(--text);
}

.legal__body h2,
.legal__body h3,
.legal__body h4 {
  color: var(--text);
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.legal__body h2 {
  font-size: 1.05rem;
}

.legal__body p {
  margin: 0 0 1rem;
}

.legal__body a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal__body a:hover {
  opacity: 0.8;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-nav a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: opacity 0.2s ease;
}

.site-nav a:hover {
  opacity: 0.75;
}

.legal .site-nav {
  max-width: 48rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

@media (max-width: 900px) {
  .hero {
    min-height: 100dvh;
    padding: clamp(1.25rem, 4vw, 1.5rem);
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-template-columns: none;
    justify-items: center;
    gap: clamp(2rem, 6vw, 2.75rem);
    padding: 0;
    text-align: center;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 28rem;
  }

  .hero__intro {
    max-width: none;
  }

  .hero__links {
    justify-content: center;
  }

  .hero > .site-nav {
    margin-top: auto;
    padding-top: clamp(1.25rem, 4vw, 1.5rem);
  }

  .hero__photo-wrap {
    width: min(100%, 20rem);
    max-width: 20rem;
    margin-inline: auto;
  }
}

@media (max-width: 540px) {
  .hero__title {
    font-size: clamp(2.5rem, 12vw, 3rem);
  }

  .hero__links .hero__logo img {
    height: 2.5rem;
  }

  .legal__title {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(15rem, 40%);
    gap: 1.25rem;
    padding-inline: clamp(1.5rem, 4vw, 2.5rem);
  }
}
