/* The app page (mobile_app.jinja), on top of home.css: ZonzoFox's app page laid out in this
   site's cream, gold and ink. */

.app-hero {
  overflow: hidden; padding: 28px 0 44px;
  background: radial-gradient(120% 80% at 80% 0%, color-mix(in srgb, var(--accent) 22%, var(--cream)) 0%, var(--cream) 60%);
}
.app-hero-grid { display: grid; gap: 40px; align-items: center; }
.app-hero-copy { display: flex; flex-direction: column; gap: 18px; }
.app-hero h1 { font-size: clamp(38px, 8vw, 64px); line-height: 1.08; color: var(--ink); }
.app-hero h1 em, .app-feature h2 em, .app-card h3 em { font-style: italic; color: var(--accent-text); }
.app-lead { font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 560px; }
.app-hero-phones { display: flex; justify-content: center; align-items: flex-end; gap: 16px; max-width: 420px; width: 100%; margin: 0 auto; }
.app-hero-phones .app-phone { width: 48%; }
.app-phone-left { transform: rotate(-3deg); }
.app-phone-right { transform: translateY(24px) rotate(3deg); }
@media (min-width: 900px) {
  .app-hero { padding: 56px 0 72px; }
  .app-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .app-lead { font-size: 19px; }
}

/* A phone's frame around a screen. */
.app-phone {
  overflow: hidden; border-radius: 28px; border: 6px solid #2a2119; background: #2a2119;
  box-shadow: 0 18px 40px -10px rgba(40, 28, 15, 0.35);
}
.app-phone img { width: 100%; height: auto; }

.app-stores { display: flex; gap: 14px; flex-wrap: wrap; }
.app-download .app-stores { justify-content: center; }

.app-numbers { background: #2a2119; color: #eee2ce; padding: 26px 0; }
.app-numbers ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: center; }
.app-numbers li { display: flex; flex-direction: column; gap: 2px; }
.app-numbers strong { font-family: 'Newsreader', Georgia, serif; font-weight: 500; font-size: 36px; color: #fff; line-height: 1.1; }
.app-numbers span { font-size: 14px; color: #ad9d7c; }
@media (min-width: 700px) { .app-numbers ul { grid-template-columns: repeat(4, 1fr); } .app-numbers strong { font-size: 46px; } }

.app-section { padding-top: 56px; display: flex; flex-direction: column; gap: 56px; }
@media (min-width: 900px) { .app-section { padding-top: 84px; gap: 84px; } }
.app-section .section-head { margin-bottom: 0; }

.app-feature { display: grid; gap: 32px; align-items: center; }
.app-feature-phone { width: 62%; max-width: 300px; margin: 0 auto; }
.app-feature-copy { display: flex; flex-direction: column; gap: 14px; }
.app-feature-copy h2 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; color: var(--ink); }
.app-feature-copy p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.app-step {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; font-size: 17px;
}
@media (min-width: 900px) {
  .app-feature { grid-template-columns: 1fr 1fr; gap: 64px; }
  .app-feature-flip .app-feature-phone { order: 2; }
}

.app-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.app-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.app-check {
  flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-top: 1px;
  border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, var(--cream)); color: var(--accent-text);
}

.app-band { margin-top: 56px; padding: 56px 0; background: var(--cream-deep); }
@media (min-width: 900px) { .app-band { margin-top: 84px; padding: 84px 0; } }
.app-cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .app-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .app-cards { grid-template-columns: repeat(4, 1fr); } }
.app-card {
  display: flex; flex-direction: column; gap: 8px; overflow: hidden; padding: 22px 22px 0;
  background: #fff; border: 1px solid var(--line); border-radius: 22px 22px 6px 22px;
}
.app-card h3 { font-size: 24px; line-height: 1.2; color: var(--ink); }
.app-card p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.app-card-shot { margin: 12px auto 0; width: 66%; height: 270px; overflow: hidden; }
.app-card-shot .app-phone { border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: none; }

.app-ipad { display: grid; gap: 36px; align-items: center; }
.app-tablet {
  width: 100%; max-width: 440px; margin: 0 auto; overflow: hidden; border-radius: 28px;
  border: 8px solid #2a2119; background: #2a2119; box-shadow: 0 18px 40px -10px rgba(40, 28, 15, 0.35);
}
.app-tablet img { width: 100%; height: auto; }
@media (min-width: 900px) { .app-ipad { grid-template-columns: 1fr 1fr; gap: 64px; } }

.app-download { padding: 64px 0 80px; text-align: center; }
.app-download .container { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.app-download-icon { border-radius: 22px; box-shadow: 0 16px 34px -10px rgba(40, 28, 15, 0.45); }
.app-download h2 { font-size: clamp(30px, 6vw, 48px); line-height: 1.12; color: var(--ink); max-width: 720px; }
.app-download p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 620px; }
.app-download .app-disclaimer { font-size: 13px; margin-top: 8px; }
