:root {
  color-scheme: dark;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #f4f8fb;
  background-color: #0f1722;
  overflow-x: clip;
}

body {
  display: grid;
  min-height: 100vh;
  grid-template-rows: 1fr auto;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

.hero-media,
.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
}

.hero-background {
  object-fit: cover;
  object-position: center center;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(8, 20, 34, 0.25), rgba(8, 20, 34, 0.84) 70%),
    linear-gradient(160deg, rgba(5, 13, 23, 0.86), rgba(9, 24, 40, 0.78));
  z-index: -1;
}

.content {
  width: min(92vw, 760px);
  padding: clamp(1rem, 2.5vw, 1.5rem);
  backdrop-filter: blur(2px);
}

.brand-logo {
  width: min(84vw, 580px);
  height: auto;
  max-width: 100%;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.45));
}

h1 {
  margin: 0.3rem 0 0.6rem;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  letter-spacing: 0.02em;
}

p {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: #d9e7f3;
}

.site-footer {
  margin-top: -3.2rem;
  padding: 0.75rem 1rem 1rem;
  text-align: center;
  color: #d1dde8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.site-footer small {
  font-size: 0.9rem;
}

@media (max-width: 1199px) {
  .content {
    width: min(92vw, 700px);
  }
}

@media (max-width: 991px) {
  .content {
    width: min(93vw, 640px);
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 1.1rem 0.9rem 1.6rem;
  }

  .content {
    width: min(94vw, 620px);
  }

  .site-footer {
    margin-top: -2.9rem;
  }
}

@media (max-width: 576px) {
  .brand-logo {
    width: min(90vw, 500px);
  }

  h1 {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }
}

@media (max-width: 430px) {
  .hero {
    padding: 1rem 0.75rem 1.5rem;
  }

  .content {
    width: min(95vw, 500px);
    padding-inline: 0.35rem;
  }

  .site-footer {
    margin-top: -2.35rem;
  }
}

@media (max-width: 390px) {
  .brand-logo {
    width: min(92vw, 440px);
    margin-bottom: 0.75rem;
  }

  p {
    font-size: 0.98rem;
  }
}

@media (max-width: 360px) {
  .content {
    width: min(96vw, 420px);
    padding-inline: 0.25rem;
  }

  .site-footer {
    margin-top: -2.1rem;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 100dvh;
    padding-top: 1rem;
    padding-bottom: 1.25rem;
  }

  .brand-logo {
    width: min(66vw, 460px);
    margin-bottom: 0.5rem;
  }

  h1 {
    font-size: clamp(1.35rem, 4.8vw, 2rem);
    margin-bottom: 0.35rem;
  }

  p {
    font-size: clamp(0.9rem, 2.4vw, 1.05rem);
  }
}
