/* ==========================================================================
   Alkando — /ios, the App Store page. Built on the feature-page hero
   (feature.css) and the home screen of feature icons (explore.css); this
   file adds the app icon, the store badge and the essentials grid.
   ========================================================================== */

.ios__icon {
  display: block;
  width: 128px;
  height: 128px;
  /* iOS app-icon corner: 22.37% of the edge. */
  border-radius: 22.37%;
  box-shadow: 0 22px 44px rgba(36, 26, 91, 0.28);
}

.ios__title {
  max-width: 820px;
}

.ios__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.ios__store {
  display: block;
  line-height: 0;
  transition: transform var(--ak-dur-tap) var(--ak-ease-out);
}

.ios__store img {
  display: block;
  width: auto;
  height: 54px;
}

.ios__store:active {
  transform: scale(0.97);
}

/* Until the App Store link is set in build.py the button stays visible but
   inert, so the page can be reviewed as it will look. */
.ios__store[href="#"] {
  pointer-events: none;
}

.ios__req {
  margin: 18px 0 0;
  color: var(--ak-text-2);
  font: 500 13.5px/1.4 var(--ak-font-ui);
}

/* --- essentials --- */

.ios__essentials {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(60px, 10vh, 110px) 24px 0;
}

.ios__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ios__fact {
  padding: 26px 24px 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 14px 34px rgba(36, 26, 91, 0.07);
}

.ios__fact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 22.37%;
  background: var(--c);
  color: #fff;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--c) 32%, transparent);
}

.ios__fact-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ios__fact p {
  margin: 18px 0 0;
  font: 600 17px/1.45 var(--ak-font-ui);
}

/* --- features and the close --- */

.ios__features {
  padding: 0 24px;
}

.ios__end {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(120px, 18vh, 200px) 24px clamp(90px, 14vh, 150px);
  text-align: center;
}

.ios__end-title {
  margin: 0 0 30px;
  font: 800 clamp(2.4rem, 6vw, 4.2rem)/1.04 var(--ak-font-rounded);
  letter-spacing: -0.03em;
}

.ios__android {
  margin: 28px 0 0;
  color: var(--ak-text-2);
  font: 500 15px/1.5 var(--ak-font-ui);
}

.ios__android a {
  margin-left: 6px;
  color: #6b3fe8;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 860px) {
  .ios__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ios__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .ios__icon {
    width: 104px;
    height: 104px;
  }
}

