:root {
  color-scheme: dark;
  --ink: #f3f0e7;
  --muted: #aab6bf;
  --line: rgb(255 255 255 / 16%);
  --cyan: #94e8ff;
  --night: #07111d;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--night);
  color: var(--ink);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--night);
}

a {
  color: inherit;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  padding: clamp(1.4rem, 3.3vw, 3.3rem) clamp(1.4rem, 5vw, 5.4rem);
}

.hero__art,
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero__art {
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(.86) contrast(1.04);
}

.hero__veil {
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(3 10 19 / 88%) 0%, rgb(3 10 19 / 61%) 31%, transparent 62%),
    linear-gradient(0deg, rgb(3 9 16 / 58%) 0%, transparent 35%),
    linear-gradient(180deg, rgb(2 8 15 / 45%) 0%, transparent 28%);
}

.nav,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  gap: .7rem;
  align-items: center;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: .035em;
  text-decoration: none;
}

.wordmark__sigil {
  color: var(--cyan);
  font-family: inherit;
  font-size: .9em;
  filter: drop-shadow(0 0 .5rem rgb(117 224 255 / 65%));
}

.nav__note,
.footer {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nav__note {
  padding: .65rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(5 14 24 / 35%);
  backdrop-filter: blur(12px);
}

.nav__actions {
  display: flex;
  gap: .65rem;
  align-items: center;
}

.nav__login {
  padding: .65rem .25rem;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.nav__login:hover {
  color: var(--ink);
}

.nav__login:focus-visible {
  border-radius: .2rem;
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.hero__content {
  align-self: center;
  max-width: 46rem;
  padding: 5rem 0;
}

.eyebrow {
  display: flex;
  gap: .75rem;
  align-items: center;
  margin: 0 0 1.5rem;
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 720;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  content: "";
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.3rem, 9.7vw, 9.2rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .78;
  text-wrap: balance;
  text-shadow: 0 2px 2.4rem rgb(0 0 0 / 38%);
}

.lede {
  margin: clamp(2rem, 4vh, 3.2rem) 0 2rem;
  color: #c4ced4;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.cta {
  display: inline-flex;
  min-height: 3.25rem;
  gap: 1.6rem;
  align-items: center;
  justify-content: space-between;
  padding: .2rem 1.1rem .2rem 1.35rem;
  border: 1px solid rgb(147 231 255 / 45%);
  border-radius: 999px;
  background: rgb(8 29 43 / 56%);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.cta span:last-child {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--cyan);
  color: #06202b;
  font-size: 1rem;
}

.cta:hover {
  border-color: var(--cyan);
  background: rgb(10 42 58 / 78%);
  transform: translateY(-2px);
}

.cta:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.footer {
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 700px) {
  .hero {
    min-height: 100svh;
  }

  .hero__art {
    object-position: 66% center;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgb(3 10 19 / 87%) 0%, rgb(3 10 19 / 48%) 75%, transparent),
      linear-gradient(0deg, rgb(3 9 16 / 75%) 0%, transparent 48%),
      linear-gradient(180deg, rgb(2 8 15 / 55%) 0%, transparent 34%);
  }

  .hero__content {
    align-self: end;
    padding: 8rem 0 3rem;
  }

  h1 {
    font-size: clamp(4.1rem, 20vw, 6.1rem);
  }

  .lede br {
    display: none;
  }

  .footer span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }
}
