.sb-hero,
.sb-hero * {
  box-sizing: border-box;
}

.sb-hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  isolation: isolate;
  background: #000;
  color: #fff;
  font-family: "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sb-video-wrap {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: #000;
}

.sb-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  filter: saturate(0.92) contrast(1.05) brightness(0.8);
}

.sb-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 42%, rgba(48, 84, 255, 0.18), transparent 32rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.82) 78%, #000 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.2) 42%, rgba(0, 0, 0, 0.82));
}

.sb-glow {
  position: absolute;
  width: 34rem;
  height: 34rem;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.38;
  z-index: 2;
}

.sb-glow-one {
  top: -11rem;
  left: -8rem;
  background: rgba(30, 58, 138, 0.5);
}

.sb-glow-two {
  right: -10rem;
  bottom: 4rem;
  background: rgba(49, 46, 129, 0.55);
}

.sb-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: 92vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.sb-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  animation: sb-fade-in 0.7s ease both;
}

.sb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
}

.sb-brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
}

.sb-brand-mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.sb-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.sb-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 180ms ease;
}

.sb-links a:hover {
  color: #fff;
}

.sb-copy {
  width: min(870px, 100%);
  margin: auto 0;
  padding: 7vh 0 15vh;
}

.sb-kicker {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 650;
  line-height: 1.4;
}

.sb-title {
  max-width: 860px;
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(56px, 9.4vw, 132px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
  color: #fff;
}

.sb-title::selection,
.sb-subtitle::selection,
.sb-kicker::selection {
  background: #b4c0ff;
  color: #0a0400;
}

.sb-title em,
.sb-title strong {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(90deg, #fff 0%, #b4c0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sb-subtitle {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
  font-weight: 400;
}

.sb-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.sb-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  padding: 0 22px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.sb-btn:hover {
  transform: translateY(-2px);
}

.sb-btn-primary {
  background: #fff;
  color: #0a0400;
}

.sb-btn-primary:hover {
  color: #0a0400;
  background: #f3f5ff;
}

.sb-btn-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #3054ff;
  transition: background 180ms ease;
}

.sb-btn-primary:hover .sb-btn-icon {
  background: #2040e0;
}

.sb-btn-secondary {
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.sb-btn-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.13);
}

.sb-anim-up {
  animation: sb-up 0.6s ease both;
}

.sb-anim-scale {
  animation: sb-scale 0.7s ease 0.2s both;
}

.sb-anim-fade {
  animation: sb-fade 0.6s ease 0.4s both;
}

.sb-anim-up-late {
  animation: sb-up 0.5s ease 0.6s both;
}

@keyframes sb-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sb-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sb-scale {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes sb-fade {
  from { opacity: 0; }
  to { opacity: 0.7; }
}

@media (max-width: 760px) {
  .sb-hero,
  .sb-shell {
    min-height: 88vh;
  }

  .sb-shell {
    width: min(100% - 28px, 1180px);
  }

  .sb-nav {
    padding: 20px 0;
  }

  .sb-links {
    display: none;
  }

  .sb-copy {
    padding: 6vh 0 12vh;
  }

  .sb-subtitle {
    margin-top: 24px;
  }

  .sb-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sb-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sb-nav,
  .sb-anim-up,
  .sb-anim-scale,
  .sb-anim-fade,
  .sb-anim-up-late {
    animation: none;
  }

  .sb-btn,
  .sb-btn-icon {
    transition: none;
  }
}
