.topopilot-page {
  color: var(--ink);
  background: #fff;
}

.topopilot-page .topbar {
  position: sticky;
  top: 0;
}

.topopilot-download-small {
  min-height: 36px;
  padding: 0 13px;
  color: #fff;
  font-size: 12px;
  background: #007bff;
}

.tp-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 680px;
  padding: 120px 32px 82px;
  overflow: hidden;
  color: #fff;
  background: #102129 url("./assets/screenshots/topopilot-terrain.jpg") center top / cover no-repeat;
}

.tp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 20, 26, .94) 0%, rgba(4, 20, 26, .79) 43%, rgba(4, 20, 26, .24) 100%);
}

.tp-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.tp-product {
  margin-bottom: 15px;
  color: #fff;
  font-size: 62px;
  font-weight: 900;
  line-height: 1;
}

.tp-hero h1 {
  max-width: 760px;
  font-size: 58px;
  line-height: 1.05;
}

.tp-hero-content > p:not(.tp-product) {
  max-width: 650px;
  color: rgba(255, 255, 255, .88);
  font-size: 20px;
  line-height: 1.6;
}

.tp-intro,
.tp-section,
.tp-workflow,
.tp-band,
.tp-closing {
  padding: 88px 32px;
}

.tp-intro,
.tp-section > *,
.tp-workflow > *,
.tp-band > *,
.tp-closing,
.tp-section-heading {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.tp-intro {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(360px, 1.2fr);
  gap: 72px;
}

.tp-intro h2,
.tp-section-heading h2,
.tp-copy h2,
.tp-delivery-layout h2,
.tp-closing h2 {
  font-size: 44px;
}

.tp-intro-copy p,
.tp-copy > p,
.tp-section-heading > p:not(.eyebrow),
.tp-delivery-layout p,
.tp-closing p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.tp-workflow,
.tp-band {
  max-width: none;
  background: var(--band);
}

.tp-section-heading {
  margin-bottom: 34px;
}

.tp-section-heading > p:not(.eyebrow) {
  max-width: 760px;
}

.tp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin-top: 38px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid #007bff;
}

.tp-steps li {
  min-height: 220px;
  padding: 28px 24px 0 0;
}

.tp-steps li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.tp-steps span,
.tp-steps strong {
  display: block;
}

.tp-steps span {
  margin-bottom: 32px;
  color: #007bff;
  font-weight: 850;
}

.tp-steps strong {
  margin-bottom: 10px;
  font-size: 21px;
}

.tp-steps p,
.tp-feature-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.tp-media-grid {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(450px, 1.15fr);
  gap: 58px;
  align-items: center;
}

.tp-media-grid-reverse {
  grid-template-columns: minmax(450px, 1.15fr) minmax(300px, .85fr);
}

.tp-copy {
  min-width: 0;
}

.tp-check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.tp-check-list li {
  position: relative;
  padding-left: 25px;
  color: var(--ink);
  line-height: 1.55;
}

.tp-check-list li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 9px;
  height: 9px;
  background: #28a754;
}

.tp-shot {
  margin: 0;
}

.tp-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.tp-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.tp-screenshot-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
}

.tp-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.tp-feature-grid article {
  min-height: 185px;
  padding: 26px;
  background: #fff;
}

.tp-feature-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 20px;
}

.tp-delivery-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(360px, .9fr);
  gap: 64px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.tp-deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tp-deliverables span {
  display: grid;
  align-items: center;
  min-height: 74px;
  padding: 16px;
  color: #fff;
  font-weight: 750;
  border-left: 4px solid #28a754;
  background: #102129;
}

.tp-closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.tp-closing > div {
  max-width: 760px;
}

.tp-footer {
  align-items: center;
}

.tp-footer > div {
  display: grid;
  gap: 5px;
}

.tp-footer span {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .topopilot-download-small {
    display: none;
  }

  .tp-media-grid,
  .tp-media-grid-reverse,
  .tp-delivery-layout {
    grid-template-columns: 1fr;
  }

  .tp-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .tp-hero {
    min-height: 620px;
    padding-top: 150px;
  }

  .tp-product {
    font-size: 44px;
  }

  .tp-hero h1,
  .tp-intro h2,
  .tp-section-heading h2,
  .tp-copy h2,
  .tp-delivery-layout h2,
  .tp-closing h2 {
    font-size: 36px;
  }

  .tp-intro,
  .tp-steps,
  .tp-screenshot-row,
  .tp-feature-grid,
  .tp-deliverables {
    grid-template-columns: 1fr;
  }

  .tp-intro {
    gap: 28px;
  }

  .tp-steps li + li {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .tp-closing {
    align-items: flex-start;
    flex-direction: column;
  }
}
