/* /app: the iPhone and iPad landing page, ported from the original index.html. */

.app-hero {
  position: relative; overflow: hidden;
  color: var(--on-dark);
  background:
    radial-gradient(90% 70% at 78% 8%, rgba(249, 129, 47, 0.3) 0%, transparent 58%),
    radial-gradient(85% 65% at 12% 96%, rgba(32, 168, 236, 0.32) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 58%, var(--navy-700) 100%);
  padding-block: clamp(3.5rem, 3rem + 5vw, 6.5rem) clamp(3rem, 2.5rem + 4vw, 5rem);
}
.app-hero__inner { display: grid; gap: 1.4rem; justify-items: center; text-align: center; max-width: 52rem; }
.app-hero__icon { width: 112px; height: 112px; border-radius: 25px; box-shadow: 0 14px 34px -6px rgba(249, 129, 47, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.app-hero h1 { font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.65rem); color: #fff; max-width: 18ch; }
.app-hero h1 em { font-style: normal; color: var(--amber-soft); }
.app-lede { color: #b6cddb; max-width: 46ch; font-size: clamp(1.02rem, 0.97rem + 0.35vw, 1.2rem); }
.app-hero__meta { font-size: 0.9rem; color: #88a5b8; }
.app-badge { display: inline-block; transition: transform 0.18s var(--ease), filter 0.18s var(--ease); }
.app-badge:hover { transform: translateY(-2px); filter: brightness(1.08); }
.app-badge img { width: 200px; }

.app-wedge { background: var(--paper-alt); border-bottom: 1px solid var(--line); padding-block: clamp(3rem, 2.5rem + 3vw, 4.5rem); }
.app-wedge__inner { max-width: 44rem; margin-inline: auto; }
.app-wedge h2 { font-size: clamp(1.6rem, 1.25rem + 1.7vw, 2.35rem); margin: 0.55rem 0 1rem; }
.app-wedge p:not(.eyebrow) { color: var(--muted); max-width: 56ch; }
.app-wedge p + p { margin-top: 0.9rem; }
.app-wedge strong { color: var(--ink); font-weight: 600; }

.app-showcase { padding-block: clamp(3.25rem, 2.75rem + 3vw, 5rem) clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.app-section-head { text-align: center; max-width: 40rem; margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3rem); }
.app-section-head h2 { font-size: clamp(1.65rem, 1.3rem + 1.8vw, 2.4rem); }
.app-section-head p { color: var(--muted); margin-top: 0.7rem; }
.app-shots {
  display: flex; gap: 1.35rem; overflow-x: auto; padding: 0.5rem 0.25rem 1.75rem;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.app-shot { flex: 0 0 auto; scroll-snap-align: center; width: 244px; text-align: center; }
.app-shot img { width: 244px; height: 530px; border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.38); background: #fff; }
.app-shot figcaption { margin-top: 0.85rem; font-size: 0.88rem; font-weight: 600; color: var(--harbour); }
@media (min-width: 56rem) {
  .app-shots { flex-wrap: wrap; justify-content: center; overflow: visible; gap: 2.5rem 2.25rem; padding-bottom: 0; max-width: 840px; margin-inline: auto; }
}

.app-features { border-block: 1px solid var(--line); padding-block: clamp(3.25rem, 2.75rem + 3vw, 5rem); }
.app-feature { transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease); }
.app-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: #c8dcea; }
.app-feature__ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(32, 168, 236, 0.16), rgba(249, 129, 47, 0.16));
  color: var(--cyan);
}
.app-feature__ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.app-feature h3 { margin-bottom: 0.45rem; }
.app-feature p { color: var(--muted); font-size: 0.965rem; line-height: 1.6; }

.app-cta {
  color: var(--on-dark); text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(32, 168, 236, 0.28) 0%, transparent 62%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  padding-block: clamp(3.25rem, 2.75rem + 3vw, 5rem) clamp(4rem, 3rem + 4vw, 6rem);
}
.app-cta h2 { font-size: clamp(1.65rem, 1.3rem + 1.8vw, 2.4rem); color: #fff; max-width: 20ch; margin: 0 auto 0.8rem; }
.app-cta p { color: #a8c2d1; max-width: 40ch; margin: 0 auto 1.8rem; }
.app-cta .app-badge { margin-inline: auto; }
.app-cta__web { margin-top: 1.8rem !important; font-size: var(--step--1); }
.app-cta__web a { color: var(--cyan-soft); }
.page-app .site-foot { margin-top: 0; }
