/* Shared presentation for Stonekick's app portfolio pages. */
.app-page .app-hero {
  padding: 170px 0 90px;
  color: #fff;
  background: linear-gradient(90deg, rgba(5, 30, 36, .94), rgba(5, 30, 36, .66)),
    url('../img/bg-cta2.jpg') center / cover no-repeat;
}

.app-page #sunPositionApp,
.app-page #compassApp {
  background-image: linear-gradient(90deg, rgba(5, 30, 36, .94), rgba(5, 30, 36, .66)),
    url('../img/SunPosbg.jpg');
}

.app-page .app-eyebrow {
  color: #a4e5eb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.app-page .app-hero h1 {
  font-size: clamp(42px, 5vw, 66px);
  margin: 0 0 14px;
  letter-spacing: 0;
}

.app-page .app-tagline {
  max-width: 490px;
  font-family: 'Catamaran', 'Helvetica', 'Arial', sans-serif;
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 22px;
}

.app-page #highlightcolor {
  color: #a4e5eb;
}

.app-page .app-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 28px 0 20px;
}

.app-page .app-badges a {
  display: inline-block;
}

.app-page .app-badges img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 100%;
}

.app-page .app-online-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #a4e5eb;
  color: #05222a;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.app-page .app-online-button:hover,
.app-page .app-online-button:focus {
  background: #fff;
  color: #05222a;
  border-color: #a4e5eb;
}

.app-page .app-online-action p {
  max-width: 390px;
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.4;
}

.app-page .app-guide-link a {
  color: #fff;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.app-page a:focus-visible {
  outline: 3px solid #168197;
  outline-offset: 5px;
}

.app-page .app-hero a:focus-visible,
.app-page .app-download a:focus-visible {
  outline-color: #fff;
}

.app-page .app-preview img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35));
}

.app-page .app-preview-mobile {
  display: none;
}

.app-page .app-preview-responsive {
  display: block;
}

.app-page .app-benefits {
  padding: 65px 0 25px;
  background: #eef5f5;
  color: #203d43;
}

.app-page .app-benefits .app-section-title {
  font-size: 30px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 12px;
}

.app-page .app-benefits p {
  max-width: 320px;
  font-size: 18px;
  color: #4e6267;
  line-height: 1.6;
}

.app-page .app-benefits .app-section-intro {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.app-page .app-benefit {
  margin-bottom: 30px;
}

.app-page .app-benefit i {
  display: inline-block;
  font-size: 30px;
  color: #11788b;
  margin-bottom: 18px;
}

.app-page .app-benefit h3 {
  font-size: 27px;
  font-weight: 500;
  margin: 0 0 12px;
}

.app-page #user-reviews {
  padding: 60px 0;
  background: #cce8e9;
  color: #203d43;
}

.app-page #user-reviews h2,
.app-page .app-resources h2,
.app-page .app-download h2,
.app-page #tutorials h2 {
  font-size: 30px;
  font-weight: 500;
}

.app-page #reviewtext {
  height: auto;
  min-height: 180px;
  padding-bottom: 32px;
}

.app-page .app-resources {
  padding: 60px 0;
  background: #eef5f5;
  color: #203d43;
}

.app-page .app-resources p {
  font-size: 18px;
  line-height: 1.6;
}

.app-page .app-resources a {
  color: #086479;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.app-page .app-resource-links {
  font-size: 18px;
  line-height: 1.6;
}

.app-page .app-resource-links li {
  margin-bottom: 12px;
}

.app-page .app-download {
  padding: 60px 0;
  background: #073c45;
  color: #fff;
}

.app-page .app-download .app-badges {
  justify-content: center;
  margin-bottom: 0;
}

.app-page #tutorials {
  padding: 60px 0;
  background: #fff;
  color: #203d43;
}

.app-page #tutorials iframe {
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .app-page .app-benefit {
    text-align: center;
  }

  .app-page .app-benefit p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 991px) {
  .app-page .app-hero {
    padding: 135px 0 60px;
  }

  .app-page .app-preview {
    margin-top: 35px;
  }

  .app-page .app-preview-desktop {
    max-width: 540px;
    margin: auto;
  }

  .app-page .app-preview-responsive {
    max-width: 540px;
    margin: auto;
  }
}

@media (max-width: 767px) {
  .app-page .app-benefits p {
    max-width: none;
  }

  .app-page .app-preview-desktop {
    display: none;
  }

  .app-page .app-preview-mobile {
    display: block;
  }

  .app-page .app-preview #appimage {
    max-width: 240px;
    padding-bottom: 0;
  }

  .app-page .app-preview-responsive {
    max-width: 240px;
  }
}
