/* /app: the ModPhone iPhone and iPad app. Matches the homepage: white page, tinted bands,
   real screenshots with the one real shadow, a green closing block. */

.app-hero { padding: 64px 0 40px; }
.app-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center;
}
.app-hero h1 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.06; max-width: 18ch; }
.app-hero .lede { max-width: 54ch; margin-top: 20px; }
.app-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.app-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Official Apple badge: never restyled, never below 40px tall, clear space = 1/4 of its height. */
.app-store-badge { display: inline-block; padding: 10px; margin: -10px 0 -10px -10px; line-height: 0; }
.app-store-badge img { height: 40px; width: auto; display: block; }

.app-shots { display: flex; gap: 16px; justify-content: center; align-items: flex-start; }
.app-shots figure { margin: 0; flex: 1 1 0; max-width: 210px; }
.app-shots figure:nth-child(2) { margin-top: 32px; }
.app-shots img {
  width: 100%; height: auto; display: block;
  border-radius: 22px; border: 1px solid var(--hair); background: var(--bg-elev);
  box-shadow: var(--shadow-2);
}

.app-section { padding: 88px 0; }
.app-section h2 {
  font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; font-stretch: 106%;
  letter-spacing: -0.022em; line-height: 1.12; max-width: 24ch;
}
.app-section .lede { max-width: 60ch; margin-top: 14px; }

/* What you can do: a plain three-column list, like the homepage */
.app-features {
  list-style: none; margin-top: 36px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px;
}
.app-features li { font-size: 16px; color: var(--ink-2); line-height: 1.55; padding-top: 16px; border-top: 2px solid var(--accent); }
.app-features strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

/* Two ways to start */
.app-two-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 32px; }
.app-way h3 { font-size: 19px; font-weight: 700; }
.app-way p { margin: 8px 0 20px; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 48ch; }

/* FAQ */
.app-faq { margin-top: 28px; max-width: 860px; }
.app-faq details { border-top: 1px solid var(--hair-2); padding: 20px 0; }
.app-faq details:last-child { border-bottom: 1px solid var(--hair-2); }
.app-faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-weight: 600; font-size: 17px; color: var(--ink);
}
.app-faq summary::-webkit-details-marker { display: none; }
.app-faq summary::after { content: "+"; color: var(--accent); font-weight: 500; font-size: 20px; line-height: 1; flex-shrink: 0; }
.app-faq details[open] summary::after { content: "\2013"; }
.app-faq details p { margin: 12px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 70ch; }

/* Closing block: white text on the brand green */
.app-final { padding: 0 0 24px; }
.app-final-block {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--accent); color: #fff; border-radius: var(--radius-lg); padding: 48px 56px;
}
.app-final-block h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); font-weight: 700; font-stretch: 106%; letter-spacing: -0.02em; }
.app-final-block p { margin-top: 10px; color: rgba(255, 255, 255, 0.86); max-width: 52ch; font-size: 17px; }
.app-final-block p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.app-final-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.app-final-primary { background: #fff; color: var(--accent); }
.app-final-primary:hover { background: #F0F6F2; }
.app-final-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.app-final-secondary:hover { border-color: #fff; }

@media (max-width: 900px) {
  .app-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .app-final-block { flex-direction: column; align-items: flex-start; padding: 36px 24px; }
}
@media (max-width: 620px) {
  .app-hero { padding-top: 32px; }
  .app-section { padding: 60px 0; }
  .app-features, .app-two-ways { grid-template-columns: 1fr; gap: 24px; }
  .app-shots { gap: 10px; }
  .app-shots figure:nth-child(2) { margin-top: 18px; }
  .app-shots img { border-radius: 16px; }
}
