/* Home-page refinements, scoped to the sections being updated. */
#home, main > section { scroll-margin-top: 108px; }
.hero .heroGrid > div:first-child { padding-right: 24px; }
.hero .heroGrid h1 { font-size: clamp(40px, 4.3vw, 64px); letter-spacing: -.045em; line-height: 1.15; max-width: 660px; text-wrap: balance; }
.hero .heroGrid p { max-width: 510px; line-height: 1.75; }
.module-launch, #focus, #ai-lab { padding-block: 80px; }
.module-launch .module-launch-grid, #ai-lab .ai-lab-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.module-launch h2, #ai-lab h2, #focus .sectionHead h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.2; letter-spacing: -.04em; text-wrap: balance; }
.module-launch p { margin: 20px 0 0; font-size: 15px; line-height: 1.75; }
.module-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.module-actions .btn { min-height: 46px; padding: 12px 20px; font-size: 13px; }
.module-actions .primary { background: #16445b; color: #fff; }
.module-actions .secondary { color: #16445b; border-color: #b4cccf; }
.explore-topics { padding: 8px 28px; border: 1px solid #d7e5e7; border-radius: 12px; background: #fff; }
.explore-topics > div { padding: 22px 0; }
.explore-topics > div + div { border-top: 1px solid #e0e9eb; }
.explore-topics h3 { margin: 0; font-size: 17px; letter-spacing: -.3px; color: #25415d; }
.explore-topics p { margin-top: 7px; font-size: 14px; }
#focus .sectionHead { align-items: start; margin-bottom: 28px; }
#focus .sectionHead h2 { margin-top: 10px; }
#focus .sectionHead p { margin: 26px 0 0; max-width: 420px; font-size: 15px; }
#focus .focus-tools { margin: 0 0 24px; }
#focus .focus-controls { flex-wrap: wrap; gap: 8px; overflow: visible; }
#focus .focus-chip { min-height: 44px; border-radius: 7px; padding: 10px 16px; }
#focus .cards { gap: 20px; }
#focus .card { min-height: 220px; padding: 28px; transform: none; box-shadow: none; border-color: #dce6eb; }
#focus .card:before { display: none; }
#focus .card:hover { transform: none; box-shadow: none; border-color: #b4cccf; }
#focus .icon { width: 44px; height: 44px; border-radius: 9px; margin-bottom: 22px; background: #edf5f4; }
#focus .icon img { display: block; }
#focus .card:hover .icon { transform: none; }
#focus .card h3 { font-size: 18px; line-height: 1.4; margin-bottom: 10px; }
#focus .card p { margin: 0; font-size: 14px; line-height: 1.75; }
#ai-lab:before { display: none; }
#ai-lab h2 { margin: 16px 0 20px; }
#ai-lab p { font-size: 15px; line-height: 1.75; }
.clinical-points { list-style: none; padding: 0; margin: 28px 0 0; }
.clinical-points li { padding: 13px 0; border-top: 1px solid #dfe9eb; font-size: 14px; color: #35566a; }
.clinical-photo { margin: 0; }
.clinical-photo img { display: block; width: 100%; height: auto; border-radius: 12px; }
.clinical-photo figcaption { margin-top: 12px; font-size: 11px; line-height: 1.6; color: #637b8c; }
@media (max-width: 950px) {
  .module-launch .module-launch-grid, #ai-lab .ai-lab-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero .heroGrid > div:first-child { padding-right: 0; }
  .module-launch, #focus, #ai-lab { padding-block: 56px; }
  #focus .sectionHead { display: block; }
  #focus .sectionHead p { margin-top: 16px; max-width: 620px; }
  #home, main > section { scroll-margin-top: 94px; }
}
@media (max-width: 600px) {
  .hero .heroGrid h1 { font-size: clamp(34px, 8.5vw, 44px); }
  .module-launch h2, #ai-lab h2, #focus .sectionHead h2 { font-size: 32px; }
  #focus .card { min-height: 0; padding: 24px; }
  .explore-topics { padding-inline: 24px; }
  .module-actions .btn { flex: 1 1 auto; }
}

#development .featureVisual {
  display: block;
  height: auto;
  margin: 0;
  border: 1px solid #d7e6e9;
  background: #fff;
}
#development .featureVisual::before { content: none; }
#development .featureVisual img { display: block; width: 100%; height: auto; }
#development .featureVisual figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 14px;
  padding: 10px 14px;
  color: #4e6878;
  font-size: 11px;
  line-height: 1.45;
}
#development .featureVisual figcaption span { font: inherit; filter: none; }
#development .featureVisual figcaption a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 950px) {
  body { --mobile-header-height: 75px; }

  header.top, header.top.scrolled {
    position: sticky;
    top: 0;
    z-index: 10;
  }
  header.top > .wrap { height: calc(var(--mobile-header-height) - 1px); }
  header.top .menu { color: #284863; }
  header.top nav { top: 100%; }

  body > main { padding-inline: 0; }
  .hero#home { min-height: 0; }
  .hero .heroGrid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    min-height: 0;
    padding-block: clamp(30px, 6vw, 56px) 32px;
  }
  #home, main > section { scroll-margin-top: calc(var(--mobile-header-height) + 12px); }
}

@media (max-width: 700px) {
  body .wrap { padding-inline: clamp(16px, 5vw, 24px); }
  .hero .heroGrid h1 { font-size: clamp(30px, 8.3vw, 44px); margin-block: 14px; }
  .hero .heroGrid p { font-size: 15px; margin-block: 0; line-height: 1.65; }
  .hero .actions { margin-top: 22px; }
  .hero .actions .btn { min-height: 44px; text-align: center; }

  .hero .heroArt {
    --dna-stage-height: clamp(250px, 70vw, 340px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-items: stretch;
    gap: 8px;
    height: auto;
    padding-top: calc(var(--dna-stage-height) + 10px);
  }
  .hero .heroArt::before, .hero .heroArt .dna-scene {
    inset: 0 0 auto;
    width: 100%;
    height: var(--dna-stage-height);
  }
  .heroArt .dna-title { top: 4px; left: 4px; }
  .heroArt .dna-base-legend { top: calc(var(--dna-stage-height) - 52px); bottom: auto; }
  .heroArt .dna-info {
    inset: calc(var(--dna-stage-height) - 14px) 0 auto;
    justify-content: center;
    font-size: 9px;
    letter-spacing: .8px;
    text-align: center;
  }
  .hero .heroArt .float {
    position: relative;
    inset: auto;
    min-width: 0;
    max-width: none;
    animation: none;
  }
  .hero .heroArt .float strong { font-size: 11px; line-height: 1.4; }

  #focus .focus-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #focus .focus-chip { min-width: 0; padding-inline: 10px; white-space: normal; }
  #contact .contact-grid { grid-template-columns: minmax(0, 1fr); }
  #contact .contact-tile > div { min-width: 0; overflow-wrap: anywhere; }
  .footer .footerGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .footer .footerGrid > div { min-width: 0; margin: 0; overflow-wrap: anywhere; }
  .footer .footerGrid > div:first-child { grid-column: 1 / -1; }
  .footer .bottom { display: grid; gap: 8px; }
}
