@font-face {
  font-family: "Neue Haas Grotesk Display Pro";
  src: url("assets/fonts/neue-haas-display-pro-400.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Modernline";
  src: url("assets/fonts/modernline.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --color-background: #030303;
  --color-text: #f8f8f8;
  --color-accent: #ee8b50;
  --color-footer: #121111;
  --page-width: 1080px;
  --content-width: min(80%, var(--page-width));
  --transition-speed: 180ms;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--color-background);
  color: var(--color-text);
  font-family: "Neue Haas Grotesk Display Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(8.25rem, 14vw, 12.5rem);
  padding-bottom: 3.75rem;
}

.hero__backdrop {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  aspect-ratio: 216 / 89;
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.02) 0%, rgba(3, 3, 3, 0.12) 40%, rgba(3, 3, 3, 0.98) 100%),
    url("assets/images/hero-bg.png") center top / cover no-repeat;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: var(--content-width);
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__logo {
  width: min(40%, 260px);
  min-width: 160px;
  height: auto;
}

.hero__message {
  max-width: 58rem;
  margin: 0;
  text-align: center;
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  line-height: 1.4;
}

.site-footer {
  padding: 0 0 1.875rem;
}

.site-footer__inner {
  display: flex;
  width: var(--content-width);
  margin: 0 auto;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-brand__logo {
  width: 150px;
  height: auto;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-text);
  text-decoration: none;
  transition:
    color var(--transition-speed) ease,
    transform var(--transition-speed) ease,
    opacity var(--transition-speed) ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--color-accent);
  transform: translateY(-1px);
}

.social-link:focus-visible,
.privacy-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.social-link svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.privacy-link {
  text-decoration: underline;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 1px;
  font-size: 1rem;
  line-height: 1.4;
  transition: color var(--transition-speed) ease;
}

.privacy-link:hover,
.privacy-link:focus-visible {
  color: var(--color-accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  :root {
    --content-width: min(88%, var(--page-width));
  }

  .hero {
    padding-top: clamp(7rem, 24vw, 9rem);
  }

  .hero__logo {
    width: min(48%, 220px);
    min-width: 140px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  :root {
    --content-width: min(90%, var(--page-width));
  }

  .hero {
    padding-top: 4.75rem;
    padding-bottom: 2.5rem;
  }

  .hero__backdrop {
    background:
      linear-gradient(180deg, rgba(3, 3, 3, 0.06) 0%, rgba(3, 3, 3, 0.16) 38%, rgba(3, 3, 3, 0.98) 100%),
      url("assets/images/hero-bg.png") center top / cover no-repeat;
  }

  .hero__logo {
    width: min(48%, 190px);
    min-width: 135px;
  }

  .hero__message {
    font-size: 1.125rem;
    line-height: 1.52;
  }

  .footer-brand__logo {
    width: 145px;
  }

  .privacy-link {
    font-size: 0.75rem;
  }
}
