/* Landing surface: the dark cinematic hero (cinematic-hero.css) opens onto light product sections. */
.page-landing {
  --muted: #626971;
  --line: #e0e3e7;
  background: #fff;
  color: #202629;
}

/* Over the hero and dark bands the shared navigation is transparent and light; elsewhere it stays white. */
.page-landing .nav:not(.is-solid):not(.menu-open) {
  border-bottom-color: transparent;
  background: transparent;
  color: var(--text-on-dark);
}

.page-landing .nav.is-dark:not(.menu-open) {
  border-bottom-color: rgb(255 255 255 / 8%);
  background: rgb(7 9 13 / 72%);
  backdrop-filter: saturate(1.4) blur(14px);
}

.page-landing .mobile-navigation,
.page-landing .nojs-navigation {
  border-color: var(--line);
  background: #fff;
  color: #202629;
}

.page-landing .mobile-navigation a {
  border-color: var(--line);
}

.page-landing .btn {
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
}

/* What works today, directly under the hero. */
.home-facts {
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.home-facts ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  color: #4b535b;
  font-family: var(--font-mono);
  font-size: 11px;
}

.home-facts li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.home-facts li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.home-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px var(--gutter);
}

.home-workflow {
  border-top: 1px solid var(--line);
}

.home-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
}

.home-section-heading h2 {
  color: #202629;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.home-section-heading > p {
  max-width: 350px;
  color: #626971;
  font-size: 15px;
  line-height: 1.7;
}

.home-step-number {
  color: #858d96;
  font-family: var(--font-mono);
  font-size: 11px;
}

.home-row h3,
.home-review-notes h3 {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.home-row p,
.home-review-notes p {
  max-width: 330px;
  margin-top: 12px;
  color: #626971;
  font-size: 14px;
  line-height: 1.8;
}

.home-row-copy a,
.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.home-row-copy a:hover,
.home-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-row-copy .site-arrow,
.home-text-link .site-arrow {
  width: 15px;
  height: 15px;
}

/* Workflow: one row per step, copy beside the actual product. */
.home-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid #e3e6ea;
  scroll-margin-top: 110px;
}

.home-row:nth-of-type(even) .home-row-copy {
  order: 2;
}

.home-row h3 {
  font-size: 24px;
}

.home-row-media {
  margin: 0;
}

.home-row-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dde1e6;
  border-radius: 12px;
  box-shadow: 0 30px 60px -36px rgb(20 28 40 / 45%);
}

.home-row-media figcaption {
  margin-top: 12px;
  color: #858d96;
  font-family: var(--font-mono);
  font-size: 11px;
}

/* Handover: what the project carries, as a plain list rather than an illustration. */
.home-handover {
  display: grid;
  margin: 0;
  border-top: 1px solid #d3d9df;
}

.home-handover div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e3e6ea;
}

.home-handover dt {
  color: #202629;
  font-size: 15px;
  font-weight: 600;
}

.home-handover dd {
  margin: 0;
  color: #626971;
  font-size: 14px;
  line-height: 1.7;
}

.home-agent-media {
  margin-top: 40px;
}

.home-agent-media > a {
  display: block;
  border-radius: 12px;
  cursor: zoom-in;
}

.home-agent-media > a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

.home-review-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: 44px;
}

.home-review-notes h3 {
  margin-top: 0;
}

.page-landing .questions {
  border-top: 1px solid var(--line);
  background: #fff;
}

.page-landing .questions-copy h2 {
  font-weight: 550;
  font-size: 40px;
}

.page-landing .site-footer {
  border-top: 1px solid var(--line);
  background: #f7f8fa;
  color: #202629;
  --edge-dark-strong: #dfe3e8;
  --muted-on-dark: #626971;
  --faint-on-dark: #7b848e;
  --text-on-dark: #202629;
}

.page-landing .footer-invitation h2 {
  font-size: clamp(34px, 4vw, 50px);
}

.page-landing .footer-contact {
  font-size: 20px;
}

.page-landing .footer-contact-icon {
  border-color: #c5ccd5;
}

.page-landing .footer-contact:hover .footer-contact-icon {
  color: #fff;
}

.page-landing .footer-signature {
  display: none;
}

.page-landing .footer-wordmark {
  color: #e3e7ed;
}

.page-landing .footer-directory nav a:hover {
  color: var(--blue);
}

/* Offline by design: the boundary controls engineers ask about first. */
.home-offline {
  padding: 64px var(--gutter);
  background: #0b0f16;
  color: var(--text-on-dark);
}

.home-offline-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: baseline;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.home-offline h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 550;
  letter-spacing: -0.045em;
}

.home-offline p {
  max-width: 560px;
  color: #aab3c2;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .home-section-heading {
    display: block;
  }

  .home-section-heading > p {
    max-width: 440px;
    margin-top: 22px;
  }

  .home-row,
  .home-offline-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .home-row:nth-of-type(even) .home-row-copy {
    order: 0;
  }

  .home-review-notes {
    gap: 25px;
  }
}

@media (max-width: 600px) {
  .page-landing .nav-actions .btn {
    font-size: 12px;
  }

  .home-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .home-row {
    margin-top: 44px;
  }

  .home-handover div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .home-review-notes {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    margin-top: 30px;
  }

  .page-landing .questions-copy h2 {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-landing *,
  .page-landing *::before,
  .page-landing *::after {
    transition: none;
  }
}
