/* The paper title is the first-screen heading; the short slogan remains visual. */
.hero .hero-paper-title {
  max-width: 620px;
  margin: 15px 0 0;
  padding-bottom: 21px;
  font: 500 clamp(23px, 2vw, 29px)/1.32 'Space Grotesk', sans-serif;
  letter-spacing: -0.65px;
  color: #254d64;
  text-wrap: balance;
  position: relative;
}
.hero-paper-title::after {
  content: '';
  position: absolute;
  width: 78px;
  height: 2px;
  left: 0;
  bottom: 0;
  background: linear-gradient(90deg, #167f86 0 60%, #9d95bf 60% 100%);
  border-radius: 2px;
}
.hero-paper-title .paper-title-brand {
  color: #086c77;
  font-weight: 700;
  white-space: nowrap;
}
.hero-paper-title .paper-title-evidence {
  color: #086c77;
  white-space: nowrap;
}
.hero .hero-slogan {
  margin: 22px 0 20px;
  font: 600 clamp(43px, 4vw, 59px)/1.08 'Space Grotesk', sans-serif;
  letter-spacing: -2.3px;
  color: #22475a;
}
.hero .hero-wordmark { margin-bottom: 13px; }
.hero .hero-description { margin-top: 14px; margin-bottom: 23px; }
.hero .hero-points { margin-top: 23px; }
@media (min-width: 1600px) {
  .hero { padding-top: 68px; }
}
@media (min-width: 701px) and (max-width: 1100px) {
  .hero .hero-paper-title { font-size: 23px; letter-spacing: -0.5px; }
  .hero .hero-slogan { font-size: 46px; }
  .hero .hero-lead { font-size: 18px; }
}
@media (max-width: 700px) {
  .hero .hero-paper-title {
    max-width: 520px;
    margin: 14px auto 0;
    padding-bottom: 19px;
    font-size: clamp(23px, 5.7vw, 28px);
    line-height: 1.3;
    letter-spacing: -0.55px;
  }
  .hero-paper-title::after { left: 50%; transform: translateX(-50%); }
  .hero .hero-slogan { margin-top: 22px; margin-bottom: 17px; font-size: clamp(44px, 10vw, 57px); }
  .hero .hero-wordmark { margin-bottom: 13px; }
}
@media (max-width: 380px) {
  .hero .hero-paper-title { font-size: 22px; }
  .hero .hero-slogan { font-size: 43px; }
}

/* Distinguish the formal paper name from the promotional slogan. */
.hero .paper-title-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #9dbdcf;
  border-radius: 5px;
  background: #ebf3f8;
  color: #315f75;
  font: 700 11px/1.3 Manrope, sans-serif;
  letter-spacing: 1.4px;
}
.paper-title-label .icon {
  width: 15px;
  height: 15px;
  color: #166f7d;
}
@media (max-width: 700px) {
  .hero .paper-title-label { font-size: 10px; padding: 6px 9px; }
}

/* Paper and code URLs are configured in paper-link.js and code-link.js. */
.hero .paper-link,
.hero .code-link {
  gap: 9px;
  border: 1.5px solid #398391;
  background: #e9f4f6;
  color: #175967;
  padding: 13px 16px;
  white-space: nowrap;
}
.hero .paper-link:hover,
.hero .code-link:hover {
  background: #d9ecef;
  border-color: #176c7b;
}
.hero .paper-link[aria-disabled="true"],
.hero .code-link[aria-disabled="true"] { cursor: default; }
.hero .paper-link[aria-disabled="true"]:hover,
.hero .code-link[aria-disabled="true"]:hover { transform: none; }
.hero .paper-link-status,
.hero .code-link-status {
  padding: 3px 6px;
  border: 1px solid #acc6d0;
  border-radius: 4px;
  color: #466677;
  background: #f2f7fa;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}
.hero .paper-link-status[hidden],
.hero .code-link-status[hidden] { display: none; }

/* Keep both release buttons within narrow mobile screens. */
@media (max-width: 380px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy, .evidence-observatory { min-width: 0; }
  .hero-points { flex-wrap: wrap; }
}
