/* Sustainize additions on top of the dscvryai.com stylesheets (site, sections, header, light, home, pages, article, hub).
   Keep this small: anything here should look like it belongs to dscvryai.com. */

/* product name next to the Dscvry logo */
.site-header .brand-link { gap: 12px; text-decoration: none; }
.site-header .brand-link:hover .brand-product { text-decoration: none; }
.site-header .brand-product {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.light .site-header .brand-product { color: #151715; border-left-color: rgba(21, 23, 21, 0.25); }

/* plain nav links styled exactly like the dscvryai.com menu summaries */
.site-header .global-nav > a.nav-plain {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.light .site-header .global-nav > a.nav-plain { color: #151715; }
.site-header .global-nav > a.nav-plain:hover,
.site-header .global-nav > a.nav-plain[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

/* a figure at the top of a research card */
.build-card .build-stat {
  display: block;
  margin: 0 0 6px;
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* research list on the blog index and article "at a glance" key finding */
.art-facts dd strong { font-weight: 600; }

/* two-column card grid (research index has an even number of posts) */
.build-grid.build-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .build-grid.build-grid-2 { grid-template-columns: 1fr; } }

/* closing band: demo (solid) and pilot (outline) side by side */
.close-band .close-actions, .art-cta-card .close-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; }
.btn-line {
  display: inline-flex; align-items: center; padding: 11px 21px;
  border: 1px solid currentColor; color: inherit; font-weight: 500; text-decoration: none;
}
.btn-line:hover { background: rgba(21, 23, 21, 0.06); }

/* pilot page: keep the submit button above the fold on a laptop screen */
#form.hub-first .stage-head { margin-bottom: clamp(20px, 3vw, 36px); }
#form.hub-first .stage-title { font-size: clamp(44px, 6vw, 84px); }
#form.hub-first { padding-top: clamp(96px, 9vw, 128px); }
.art-cta-card .close-actions { justify-content: flex-start; margin-top: 8px; }
#form #contact-message { min-height: 96px; height: 96px; }
