/* Deep Analytics website v1.8 — full-screen rhythm and alternating sections. */

body main > section {
  scroll-margin-top: 78px;
}

/* White / dark-blue alternating section sequence. */
body main .hero,
body main .graphmap,
body main .demonstrations,
body main .difference {
  background-color: #ffffff !important;
  color: #102b3c !important;
}

body main .challenge,
body main .capability-suite,
body main .applications,
body main .pilot {
  background-color: #0a2739 !important;
  color: #ffffff !important;
}

body main .capability-suite {
  border-top: 0 !important;
}

body main .capability-suite .eyebrow.ink {
  color: #49c9ca !important;
}

body main .capability-suite .section-intro h2 {
  color: #ffffff !important;
}

body main .capability-card {
  background: #ffffff !important;
  color: #102b3c !important;
}

body main .demonstrations.section-mist {
  background: #ffffff !important;
}

/* Fit the main page comfortably inside a normal desktop viewport. */
body main .hero {
  min-height: 100svh !important;
  padding: 104px 0 28px !important;
}

body main .hero-grid {
  gap: 46px;
}

body main .hero h1 {
  font-size: clamp(3rem, 4.7vw, 5rem);
}

body main .hero-lede {
  margin: 18px 0 22px;
  font-size: 1rem;
  line-height: 1.55;
}

body main .hero-proof {
  margin-top: 18px;
}

body main .hero-visual {
  padding: 16px;
}

body main .hero-visual img {
  width: 100%;
  height: clamp(360px, 58svh, 610px);
  aspect-ratio: auto;
  object-fit: contain;
}

/* Shared compact section rhythm. Content can still expand when accessibility requires it. */
@media (min-width: 901px) {
  body main > section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-height: 100svh;
  }

  body main .challenge,
  body main .graphmap,
  body main .capability-suite,
  body main .demonstrations,
  body main .applications,
  body main .difference,
  body main .pilot {
    padding-top: 64px !important;
    padding-bottom: 48px !important;
  }

  body main .split-heading h2,
  body main .section-intro h2,
  body main .feature-copy h2,
  body main .demo-header h2,
  body main .pilot h2 {
    font-size: clamp(2.1rem, 3vw, 3.35rem);
  }

  /* Analytical Challenge has the most copy, so use a denser editorial layout. */
  body main .challenge .split-heading {
    grid-template-columns: 0.25fr 1fr;
    gap: 36px;
  }

  body main .challenge .split-heading h2 {
    margin-bottom: 12px;
  }

  body main .challenge .split-heading > div > p {
    max-width: none;
    margin: 0 0 0.58em;
    font-size: 0.88rem;
    line-height: 1.42;
  }

  body main .challenge .challenge-grid {
    margin-top: 24px !important;
  }

  body main .challenge .challenge-card {
    padding: 18px 20px;
  }

  body main .challenge .challenge-card h3 {
    margin: 8px 0;
    font-size: 1.05rem;
  }

  body main .challenge .challenge-card p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.45;
  }

  /* Graphmap page. */
  body main .graphmap .feature-grid {
    gap: 56px;
  }

  body main .graphmap .feature-copy > p {
    margin-bottom: 22px;
    font-size: 0.95rem;
  }

  body main .graphmap .feature-list li {
    padding: 12px 0;
  }

  body main .graphmap .image-panel img {
    max-height: 510px;
  }

  /* Connected Capability page. */
  body main .capability-grid {
    gap: 18px;
    margin-top: 28px;
  }

  body main .capability-card {
    min-height: 250px;
    gap: 18px;
    padding: 22px;
  }

  body main .capability-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  body main .capability-card p {
    margin-top: 0;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  body main .capability-card .kicker {
    margin-bottom: 7px;
  }

  body main .capability-visual img,
  body main .capability-visual.landscape img {
    max-height: 185px;
  }

  /* AI results page. */
  body main .demo-header {
    gap: 54px;
  }

  body main .demo-summary p {
    margin-bottom: 10px;
    font-size: 0.88rem;
    line-height: 1.48;
  }

  body main .ai-results-grid {
    gap: 18px;
    margin-top: 28px;
  }

  body main .ai-result-image {
    height: 245px;
    padding: 12px;
  }

  body main .ai-result-copy {
    padding: 16px 18px 18px;
  }

  body main .ai-result-copy h3 {
    margin: 5px 0 7px;
    font-size: 1.18rem;
  }

  body main .ai-result-copy p {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  /* Applications and difference pages. */
  body main .domain-grid {
    margin-top: 30px;
  }

  body main .domain-grid article {
    padding: 20px 24px;
  }

  body main .domain-grid h3 {
    margin: 8px 0;
  }

  body main .domain-grid p {
    margin: 0;
  }

  body main .difference-list {
    margin-top: 26px;
  }

  body main .difference-list > div {
    padding: 13px 0;
  }

  body main .pilot-grid {
    gap: 64px;
  }
}

/* Short laptop screens need a little more compression without clipping content. */
@media (min-width: 901px) and (max-height: 850px) {
  body main .hero {
    padding-top: 90px !important;
    padding-bottom: 18px !important;
  }

  body main .hero h1 {
    font-size: clamp(2.8rem, 4.3vw, 4.35rem);
  }

  body main .hero-visual img {
    height: clamp(330px, 54svh, 500px);
  }

  body main .hero-actions,
  body main .hero-proof {
    margin-top: 12px;
  }

  body main .challenge,
  body main .graphmap,
  body main .capability-suite,
  body main .demonstrations,
  body main .applications,
  body main .difference,
  body main .pilot {
    padding-top: 44px !important;
    padding-bottom: 32px !important;
  }

  body main .ai-result-image {
    height: 210px;
  }

  body main .capability-card {
    min-height: 220px;
  }
}

@media (max-width: 900px) {
  body main .capability-suite {
    padding-top: 76px !important;
    padding-bottom: 76px !important;
  }
}

@media (max-width: 600px) {
  body main .hero {
    min-height: auto !important;
    padding: 100px 0 54px !important;
  }

  body main .hero-visual img {
    height: auto;
  }

  body main .capability-suite {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }
}
