/* /app — PocketMaster landing page. Builds on release.css (tokens, header, hero, footer). */
.app-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 64px); min-height: 640px; }
.app-stores { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 22px; }
.app-store-badge { display: inline-flex; border-radius: 10px; }
.app-store-badge img { display: block; height: 52px; width: auto; }
.play-store-badge img { height: 76px; margin: -12px; }
.app-store-badge:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.app-android { min-height: 52px; display: inline-flex; flex-direction: column; justify-content: center; padding: 0 18px; color: var(--muted); border: 1px dashed #3a4752; border-radius: 10px; font-size: 12px; line-height: 1.25; }
.app-android b { color: var(--text); font-size: 14px; }

/* Film in the hero (2026-11-30): poster + play button, plays with sound on click. */
.app-film { margin: 0; align-self: center; width: 100%; }
.app-film-frame { position: relative; overflow: hidden; border-radius: 20px; background: #000; aspect-ratio: 16 / 9;
  box-shadow: 0 30px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(56,211,196,.35), 0 0 60px rgba(56,211,196,.08); }
.app-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.app-film-frame > .app-film-play > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.app-film-frame > a.app-film-play { z-index: 0; color: inherit; text-decoration: none; }
.app-film-frame .video-frame { position: absolute; inset: 0; }
.app-film-frame .video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.app-film-play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; gap: 10px; padding: 22px; border: 0; cursor: pointer;
  color: #fff; font: inherit; font-size: 15px; font-weight: 750; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); }
.app-film-play > span:last-child { padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(8,11,14,.75); backdrop-filter: blur(8px); }
.app-film-icon { position: relative; flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 10px 34px rgba(56,211,196,.45); transition: transform .2s ease; }
.app-film-icon::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #061012; }
.app-film-play:hover .app-film-icon { transform: scale(1.07); }
.app-film-play:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.app-film.is-playing .app-film-play { display: none; }
.app-film figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.app-film-transcript summary { cursor: pointer; color: var(--accent); font-weight: 700; }
.app-film-transcript[open] { flex-basis: 100%; }
.app-film-transcript p { margin: 10px 0 0; color: #c2ccd1; font-size: 14px; line-height: 1.6; }

.app-section { padding: 96px 5vw; border-bottom: 1px solid var(--border); }
.app-section > h2 { margin-bottom: 34px; }
.app-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.app-features article { padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--panel); }
.app-features span { display: block; margin-bottom: 14px; color: rgba(56,211,196,.55); font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.app-features strong { display: block; margin-bottom: 8px; font-size: 17px; }
.app-features p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.app-ipad { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); align-items: center; gap: 56px; background: radial-gradient(circle at 75% 50%, rgba(56,211,196,.07), transparent 40%); }
.app-ipad-copy p:not(.eyebrow) { color: #c2ccd1; font-size: 17px; }
.app-ipad figure { margin: 0; }
.app-ipad img { display: block; width: 100%; height: auto; border: 10px solid #161c1f; border-radius: 26px; box-shadow: 0 30px 90px rgba(0,0,0,.45), 0 0 0 1px #3a4448; }

.app-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.app-card { padding: clamp(26px, 4vw, 40px); border: 1px solid var(--border); border-radius: 20px; background: var(--panel); }
.app-card h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.app-card p:not(.eyebrow) { color: #c2ccd1; }
.app-card-android { border-style: dashed; background: linear-gradient(145deg, rgba(167,139,250,.07), rgba(56,211,196,.03)); }
.app-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 22px 0 0; }
.app-links a { color: var(--accent); font-size: 14px; font-weight: 750; text-decoration: none; }
.app-links a span { margin-left: 6px; }
.app-links a:hover { text-decoration: underline; }

.app-faq { max-width: 900px; }
.app-faq details { border-top: 1px solid var(--border); }
.app-faq details:last-of-type { border-bottom: 1px solid var(--border); }
.app-faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; }
.app-faq summary::-webkit-details-marker { display: none; }
.app-faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 800; }
.app-faq details[open] summary::after { content: "−"; }
.app-faq details p { margin: 0 0 20px; color: var(--muted); }

@media (max-width: 1100px) { .app-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 850px) {
  .app-hero { grid-template-columns: 1fr; min-height: auto; }
  .app-section { padding: 72px 4vw; }
  .app-ipad, .app-cards { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .app-section { padding: 60px 2vw; }
  .app-features { grid-template-columns: 1fr; }
  .app-film-icon { width: 46px; height: 46px; }
  .app-film-icon::after { left: 18px; top: 13px; border-width: 10px 0 10px 15px; }
  .app-ipad img { border-width: 6px; border-radius: 16px; }
}
