* {
  box-sizing: border-box;
}

html {
  background: #fff;
}

body {
  margin: 0;
  color: #1f2933;
  background: #fff;
  font-family: "Noto Sans", Arial, sans-serif;
  line-height: 1.5;
}

.container {
  width: min(1152px, calc(100% - 32px));
  margin: 0 auto;
}

.is-max-widescreen {
  max-width: 1152px;
}

.hero .hero-body {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.section {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.columns {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.columns.is-centered {
  justify-content: center;
}

.columns.is-variable.is-4 {
  gap: 1.5rem;
}

.column {
  flex: 1 1 0;
  min-width: 0;
}

.column.is-half {
  flex: 0 1 calc(50% - 0.75rem);
}

.has-text-centered {
  text-align: center;
}

.title {
  color: #111827;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.16;
}

.title.is-1 {
  max-width: 1080px;
  margin: 0 auto 1rem;
  font-size: 2.3rem;
}

.scan-gradient {
  background: linear-gradient(90deg, #c61f2c 0%, #ef5b2a 52%, #ffb15f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(47, 51, 58, 0.16));
}

.title.is-2 {
  margin: 0 0 1.25rem;
  font-size: 2rem;
}

.publication-authors {
  color: #333;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  margin-top: 1.5rem;
}

.is-size-4 {
  font-size: 1.5rem;
}

.author-block {
  display: inline-block;
}

.publication-affiliation {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  color: #1f2937;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 650;
}

.publication-affiliation img {
  width: auto;
  height: auto;
  max-width: 288px;
  max-height: 95px;
  display: block;
}

.publication-links {
  margin-top: 0.9rem;
}

.link-block {
  display: inline-block;
  margin: 0.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #1f2937;
  border-radius: 999px;
  background: #1f2937;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: #111827;
  outline: none;
}

video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #000;
}

.content video {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
}

.content p,
.demo-item p {
  margin-top: 0.65rem;
  margin-bottom: 0;
  color: #2f3a45;
  font-size: 1rem;
  font-weight: 600;
}

.demo-section-collision {
  background: #f5f6f8;
}

.demo-section-cross {
  background: #fff;
}

.demo-section-delivery {
  background: #f5f6f8;
}

.demo-grid {
  display: grid;
  gap: 1.5rem;
}

.demo-grid-collision {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-list {
  display: grid;
  gap: 3.25rem;
}

.demo-list-longrange {
  max-width: 980px;
  margin: 0 auto;
}

.demo-group-title {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.demo-item {
  max-width: 980px;
  margin: 0 auto;
}

.demo-grid .demo-item {
  max-width: none;
}

.demo-item-interactive {
  position: relative;
  cursor: zoom-in;
  border-radius: 10px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.demo-item-interactive video {
  pointer-events: none;
}

.demo-item-interactive:hover,
.demo-item-interactive:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.demo-item-interactive:hover video,
.demo-item-interactive:focus-within video {
  outline: 2px solid rgba(198, 31, 44, 0.72);
  outline-offset: 3px;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(7, 10, 16, 0.88);
  backdrop-filter: blur(8px);
}

.video-modal.active {
  display: flex;
}

.modal-content {
  width: min(1180px, 94vw);
  max-height: 92vh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #0b111a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.modal-header {
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(198, 31, 44, 0.18), rgba(239, 91, 42, 0.12));
}

.modal-title {
  margin: 0;
  color: #fff;
  font-family: "Google Sans", "Noto Sans", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.modal-video-wrap {
  padding: 0;
  background: #000;
}

.modal-video-wrap video {
  width: 100%;
  max-height: calc(92vh - 66px);
  border-radius: 0;
  box-shadow: none;
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1001;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.footer {
  padding: 2rem 0 2.5rem;
  background: #fafafa;
  color: #4b5563;
  font-size: 0.95rem;
}

.footer p {
  margin: 0;
}

.dnerf {
  font-variant: small-caps;
}

@media screen and (max-width: 768px) {
  .hero .hero-body {
    padding-top: 2rem;
    padding-bottom: 1.8rem;
  }

  .title.is-1 {
    font-size: 1.8rem;
  }

  .title.is-2 {
    font-size: 1.55rem;
  }

  .is-size-4 {
    font-size: 1.15rem;
  }

  .publication-affiliation {
    margin-top: 14px;
    font-size: 1rem;
  }

  .publication-affiliation img {
    max-width: min(100%, 360px);
    max-height: none;
  }

  .columns {
    flex-direction: column;
    gap: 0.75rem;
  }

  .column.is-half {
    flex-basis: auto;
  }

  .demo-grid-collision {
    grid-template-columns: 1fr;
  }

  .video-modal {
    padding: 18px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .modal-title {
    font-size: 1.1rem;
  }

}
