@font-face {
  font-family: "SEEK Qwigley";
  src: url("/fonts/qwigley/Qwigley-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "SEEK Whisper";
  src: url("/fonts/whisper/Whisper-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #0c1524;
  color: #f8fbff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #0c1524;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #0c1524;
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  height: 5px;
  z-index: 2;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(49, 215, 223, 0.75) 24%,
    #31d7df 50%,
    rgba(49, 215, 223, 0.75) 76%,
    transparent
  );
  box-shadow: 0 3px 18px rgba(16, 217, 210, 0.32);
  content: "";
}

body::after {
  position: fixed;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(
      ellipse 74% 36% at 50% 0%,
      rgba(26, 209, 211, 0.14),
      transparent 72%
    ),
    linear-gradient(
      155deg,
      rgba(7, 16, 29, 0.76) 0%,
      rgba(14, 29, 50, 0.82) 52%,
      rgba(8, 18, 32, 0.9) 100%
    ),
    url("/assets/seek-illustrated-background.png") center / cover no-repeat;
  content: "";
  filter: saturate(0.86) contrast(0.96);
  pointer-events: none;
}

main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  width: 100%;
}

.hero {
  display: grid;
  min-height: calc(100vh - 72px);
  align-content: center;
  justify-items: center;
  row-gap: 2rem;
  width: min(100%, 1560px);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) clamp(1.5rem, 6vw, 5rem) 3rem;
  text-align: center;
}

.hero__brand {
  display: grid;
  justify-items: center;
}

.hero__logo {
  display: block;
  width: clamp(11rem, 24vw, 15rem);
  height: auto;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(112, 238, 231, 0.22);
  border-radius: 22%;
  box-shadow:
    0 28px 62px rgba(2, 7, 16, 0.48),
    0 0 48px rgba(8, 178, 197, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.hero__eyebrow {
  margin: 0 0 0.7rem;
  color: #31d7df;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: normal;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(49, 215, 223, 0.3);
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-family: "SEEK Whisper", cursive;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.34);
}

.hero__summary {
  max-width: 920px;
  margin-bottom: 0;
  color: rgba(248, 251, 255, 0.76);
  font-size: 1.25rem;
  line-height: 1.7;
}

.hero__intro,
.hero__trust {
  width: 100%;
  max-width: 860px;
}

.hero__disclosure summary {
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 20px;
  background: transparent;
  box-shadow:
    inset 0 30px 16px -8px rgb(10 24 52 / 18%),
    0 10px 28px rgb(2 8 17 / 0%);
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
  user-select: none;
}

.hero__disclosure summary::-webkit-details-marker {
  display: none;
}

.hero__disclosure summary:hover,
.hero__disclosure summary:focus-visible,
.hero__disclosure[open] summary {
  background: transparent;
}

.hero__disclosure summary:focus-visible {
  outline: 2px solid rgba(49, 215, 223, 0.72);
  outline-offset: 3px;
}

.hero__disclosure-title {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
}

.hero__disclosure-chevron {
  width: 0.7rem;
  height: 0.7rem;
  flex: 0 0 auto;
  border-right: 2px solid #31d7df;
  border-bottom: 2px solid #31d7df;
  transform: translateY(-0.15rem) rotate(45deg);
  transition: transform 220ms ease;
}

.hero__disclosure.is-expanded .hero__disclosure-chevron {
  transform: translateY(0.15rem) rotate(225deg);
}

.hero__disclosure-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-0.35rem);
  transition:
    grid-template-rows 280ms ease,
    opacity 220ms ease,
    transform 280ms ease;
}

.hero__disclosure-body > div {
  overflow: hidden;
}

.hero__disclosure.is-expanded .hero__disclosure-body {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

.hero__disclosure-body p {
  padding-top: 1rem;
}

.hero__trust p {
  margin-bottom: 0;
  color: rgba(248, 251, 255, 0.66);
  font-size: 1.25rem;
  line-height: 1.7;
}

footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-shrink: 0;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.25rem;
  border-top: 1px solid rgba(49, 215, 223, 0.16);
  background: linear-gradient(
    180deg,
    rgba(8, 18, 31, 0.18),
    rgba(5, 12, 22, 0.34)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.015);
  color: rgba(248, 251, 255, 0.48);
  font-size: 1rem;
  font-weight: 650;
}

@media (min-width: 1025px), (min-width: 901px) and (orientation: landscape) {
  body::after {
    background-position:
      center,
      center,
      50% 62%;
  }

  .hero__brand {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .hero {
    align-content: start;
    grid-template-columns:
      minmax(0, 1fr)
      clamp(10rem, 16vw, 20rem)
      minmax(0, 1fr);
    column-gap: 0;
    row-gap: clamp(7rem, 17vh, 10.5rem);
    padding-top: clamp(4.5rem, 10vh, 7rem);
  }

  .hero__intro {
    grid-column: 1;
    grid-row: 2;
  }

  .hero__trust {
    grid-column: 3;
    grid-row: 2;
  }
}

@media (min-width: 541px) and (max-width: 1024px) and (orientation: portrait) {
  .hero {
    align-content: start;
    padding-top: clamp(6rem, 12vh, 10rem);
  }
}

@media (max-width: 540px) {
  body::after {
    background-position:
      center,
      center,
      50% 72%;
    background-size:
      auto,
      auto,
      auto 112%;
  }

  .hero {
    align-content: start;
    min-height: auto;
    row-gap: 0.75rem;
    padding: 2.5rem 1.35rem 3.75rem;
  }

  .hero__brand {
    margin-bottom: -4rem;
    transform: translateY(-0.5rem) scale(0.8);
    transform-origin: top center;
  }

  .hero__logo {
    width: 10.5rem;
    margin-bottom: 1.5rem;
  }

  .hero__summary,
  .hero__trust p {
    line-height: 1.6;
  }

  .hero__intro,
  .hero__trust {
    max-width: 23rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
