:root {
  --brand-blue: #2962d9;
  --ink: #07101d;
  --footer: rgba(5, 10, 17, 0.92);
  --footer-line: rgba(255, 255, 255, 0.12);
  --muted: #c7d1df;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
}

body {
  min-height: 100%;
  margin: 0;
  color: white;
  background: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

img {
  max-width: 100%;
}

::selection {
  color: white;
  background: var(--brand-blue);
}

.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;
}

.landing {
  min-height: calc(100svh - 72px);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0, rgba(7, 16, 29, 0.08) 42%, rgba(7, 16, 29, 0.2) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 0, rgba(255, 255, 255, 0.16) 22%, rgba(255, 255, 255, 0) 50%);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.brand-band {
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  left: clamp(18px, 4vw, 48px);
  z-index: 2;
  padding: 0;
}

.brand-mark {
  position: relative;
  width: min(230px, 30vw);
  filter:
    drop-shadow(0 2px 8px rgba(255, 255, 255, 0.88))
    drop-shadow(0 12px 30px rgba(7, 16, 29, 0.24));
}

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

.trademark {
  position: absolute;
  top: 4%;
  right: -3%;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 7px rgba(255, 255, 255, 0.9);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 12px 20px 13px;
  color: var(--muted);
  background: var(--footer);
  border-top: 1px solid var(--footer-line);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.footer-motto {
  max-width: 100%;
  color: white;
  font-weight: 600;
  white-space: nowrap;
}

.footer-credit {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.site-footer a {
  color: white;
  text-decoration-color: var(--brand-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.site-footer a:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .landing,
  .hero {
    min-height: calc(100svh - 74px);
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0, rgba(7, 16, 29, 0.06) 44%, rgba(7, 16, 29, 0.2) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.38) 0, rgba(255, 255, 255, 0.14) 42%, rgba(255, 255, 255, 0) 78%);
  }

  .hero-image {
    object-position: 48% center;
  }

  .brand-band {
    top: 18px;
    left: 18px;
  }

  .brand-mark {
    width: min(180px, 48vw);
  }

  .trademark {
    font-size: 10px;
  }

  .site-footer {
    min-height: 74px;
    padding: 11px 14px 12px;
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    width: min(156px, 50vw);
  }

  .footer-motto {
    font-size: 12px;
  }

  .footer-credit {
    flex-wrap: wrap;
    row-gap: 0;
  }
}

@media (max-width: 340px) {
  .footer-motto {
    font-size: 11px;
  }
}
