/* Jana Apps icon system — lively, balanced, and intentionally selective. */
.site-nav a,
.footer-grid nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-icon,
.footer-link-icon {
  inline-size: 17px;
  block-size: 17px;
  flex: 0 0 auto;
}

.site-nav a .nav-icon {
  opacity: .82;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-nav a:hover .nav-icon,
.site-nav a:focus-visible .nav-icon,
.site-nav a.active .nav-icon {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-link-icon {
  inline-size: 16px;
  block-size: 16px;
  opacity: .78;
}

/* Email links get a real envelope mark wherever direct mail is useful. */
a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

a[href^="mailto:"]::before {
  content: "";
  inline-size: 18px;
  block-size: 18px;
  flex: 0 0 auto;
  background: linear-gradient(145deg, #29c7c9, #4f8cff);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.2 5.5h15.6A2.2 2.2 0 0 1 22 7.7v8.6a2.2 2.2 0 0 1-2.2 2.2H4.2A2.2 2.2 0 0 1 2 16.3V7.7a2.2 2.2 0 0 1 2.2-2.2Zm.2 2 7.6 5.8 7.6-5.8H4.4Zm15.6 2.1-7.4 5.65a1 1 0 0 1-1.2 0L4 9.6v6.7c0 .11.09.2.2.2h15.6a.2.2 0 0 0 .2-.2V9.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.2 5.5h15.6A2.2 2.2 0 0 1 22 7.7v8.6a2.2 2.2 0 0 1-2.2 2.2H4.2A2.2 2.2 0 0 1 2 16.3V7.7a2.2 2.2 0 0 1 2.2-2.2Zm.2 2 7.6 5.8 7.6-5.8H4.4Zm15.6 2.1-7.4 5.65a1 1 0 0 1-1.2 0L4 9.6v6.7c0 .11.09.2.2.2h15.6a.2.2 0 0 0 .2-.2V9.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Home points users to Support instead of repeating the raw email address. */
body:has(.storefront-home-hero) main#main > section:last-child .content-card > p:has(a[href^="mailto:"]) {
  display: none;
}

body:has(.storefront-home-hero) .site-footer .footer-grid > div > p:last-child {
  display: none;
}

/* Platform cards use the Android treatment as the visual benchmark. */
.choice-card.platform-action .choice-icon {
  inline-size: 72px;
  block-size: 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 68%, transparent);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px rgba(3,15,25,.10);
}

.choice-card.platform-action.store .choice-icon {
  background: linear-gradient(145deg, #124d55, #123f4d);
}

.choice-card.platform-action.web .choice-icon {
  background: linear-gradient(145deg, #087f9f, #12618f);
}

.choice-card.platform-action.iphone .choice-icon {
  background: linear-gradient(145deg, #7b4bb1, #bc477e);
  color: inherit;
}

.choice-card.platform-action .choice-icon .platform-icon {
  inline-size: 37px;
  block-size: 37px;
  display: block;
  margin: 0;
  transform: none;
  transform-origin: center;
}

.choice-card.platform-action.store .choice-icon .platform-icon {
  inline-size: 36px;
  block-size: 36px;
}

.choice-card.platform-action.iphone .choice-icon .platform-icon {
  inline-size: 38px;
  block-size: 38px;
}

/* Keep the smaller platform marks crisp in compact actions. */
.store-card-action-icon,
.platform-pill .platform-icon,
.storefront-access-icon {
  display: block;
  transform-origin: center;
}

.storefront-access-item .storefront-access-icon {
  place-self: start center;
}

@media (max-width: 680px) {
  .choice-card.platform-action .choice-icon {
    inline-size: 64px;
    block-size: 64px;
    border-radius: 20px;
  }

  .choice-card.platform-action .choice-icon .platform-icon,
  .choice-card.platform-action.iphone .choice-icon .platform-icon {
    inline-size: 34px;
    block-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav a .nav-icon {
    transition: none;
  }
}
