/* Forked from the withbluelabs.ai hero: same layout, palette, and video. */
:root {
  --white: #fff;
  --blue-dark: #1b6b95;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: #000;
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

*:focus-visible { outline: 2px solid #4d65ff; outline-offset: 2px; }

.nav {
  position: absolute;
  inset: 1rem 1rem auto;
  z-index: 10;
  padding: 0 2rem;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--white);
}

.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--white);
  color: var(--blue-dark);
  font-size: 1rem;
  transition: opacity 0.2s;
}
.button:hover { opacity: 0.85; }

.button.is-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid #ebe7e5;
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 7.5rem 2rem;
}

.hero-media {
  position: absolute;
  inset: 1rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #000 url("/hero-poster.webp") center / cover no-repeat;
}

.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: linear-gradient(#00000080, #0000 20% 84%, #00000080);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 50rem;
  text-align: center;
}

h1 {
  margin: 0;
  max-width: 45rem;
  font-family: var(--serif);
  font-size: 4.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.lede {
  margin: 0;
  max-width: 26.5rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.foot {
  position: absolute;
  z-index: 3;
  bottom: 2rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.8125rem;
  opacity: 0.8;
}

@media (max-width: 991px) {
  h1 { font-size: 3rem; }
}

@media (max-width: 767px) {
  .nav { inset: 0.75rem 0.75rem auto; padding: 0 1.25rem; }
  .nav-inner { padding: 1rem 0; }
  .hero { padding: 8rem 1.25rem; }
  .hero-media { inset: 0.75rem; }
  .lede { font-size: 1rem; }
}

@media (max-width: 479px) {
  h1 { font-size: 2.5rem; }
}
