/* The app pages (apps-build.mjs), on top of persona.css and usecase.css: /apps and /apps/<slug>.
   The site's tokens (--line, --muted, --violet-hi …) come from the shared chrome. */
.ap-head { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 2rem; align-items: start; margin: 1.5rem 0 1rem; }
.ap-head h1 { margin: .4rem 0 .5rem; text-wrap: balance; }
.ap-head .pe-eyebrow { justify-self: start; }
.ap-intro { font-size: 1.08rem; line-height: 1.6; max-width: 62ch; margin: 1rem 0 0; }
.ap-guide { margin-top: 1.1rem; }
.ap-icon { display: flex; justify-content: center; padding-top: 1.25rem; }
.ap-icon img { display: block; width: 160px; height: 160px; border-radius: 36px; box-shadow: 0 26px 48px -26px rgba(32, 26, 84, .55); }
.ap-shot { margin: 0 0 2.75rem; }
.ap-shot a { display: block; line-height: 0; border-radius: 16px; outline-offset: 3px; }
.ap-shot img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line, #dddbe8); background: #fff; box-shadow: 0 40px 80px -48px rgba(32, 26, 84, .5), 0 12px 28px -18px rgba(32, 26, 84, .25); cursor: zoom-in; }
.ap-shot figcaption { margin-top: .7rem; font-size: .9rem; line-height: 1.5; color: var(--faint, #5f6178); }
.ap-feats { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .9rem; }
.ap-feats li { border: 1px solid var(--line, #dddbe8); border-radius: 14px; padding: 1rem 1.1rem; background: var(--surface, #fff); }
.ap-feats h3 { font-size: 1rem; line-height: 1.3; margin: 0 0 .35rem; }
.ap-feats p { margin: 0; color: var(--muted, #4a4c63); line-height: 1.55; }
.ap-faq h3 { font-size: 1.05rem; margin: 1.25rem 0 .3rem; }
.ap-faq h3:first-of-type { margin-top: .75rem; }
.ap-faq p { margin: 0; max-width: 68ch; }
.ap-guides { margin: .75rem 0 0; padding-left: 1.2rem; display: grid; gap: .35rem; }
.ap-grid { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .8rem; }
.ap-tile { display: flex; gap: .85rem; align-items: center; height: 100%; box-sizing: border-box; padding: .8rem .9rem; border: 1px solid var(--line, #dddbe8); border-radius: 14px; text-decoration: none; color: inherit; background: var(--surface, #fff); transition: border-color .2s, box-shadow .2s; }
.ap-tile img { flex: none; width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 8px 18px -10px rgba(32, 26, 84, .45); }
.ap-tile-text { display: grid; gap: .15rem; min-width: 0; }
.ap-tile-text strong { font-size: .98rem; color: var(--text, #14162b); }
.ap-tile-text span { font-size: .88rem; line-height: 1.35; color: var(--muted, #4a4c63); }
.ap-tile:hover, .ap-tile:focus-visible { border-color: var(--violet-hi, #8f7aee); box-shadow: 0 10px 26px -18px rgba(76, 52, 201, .5); }
@media (max-width: 720px) {
  .ap-head { grid-template-columns: 1fr; gap: 1rem; }
  .ap-icon { order: -1; justify-content: flex-start; padding: 0; }
  .ap-icon img { width: 88px; height: 88px; border-radius: 20px; }
}
