/* /app pages */
.ap-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.ap-band, .ap-main { font-family: "Inter", "Inter Fallback", sans-serif; color: #050B26; }
.ap-band h1, .ap-main h2, .ap-main h3 { font-family: "Bricolage Grotesque", "Bricolage Grotesque Fallback", sans-serif; letter-spacing: -.02em; margin: 0; color: #050B26; }
.ap-band h1 { color: #fff; }

/* hero band: same navy and background art as the homepage hero, sits behind the floating navbar */
.ap-band { background: #050B26 url('/assets/landing-hero-bg.svg') center / cover no-repeat; padding: 104px 0 68px; }
.ap-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .6); margin-bottom: 28px; }
.ap-crumbs a { color: #fff; text-decoration: none; }
.ap-crumbs a:hover { text-decoration: underline; }
.ap-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.ap-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 6px 12px; margin: 0 0 18px; }
.ap-title { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; line-height: 1.08; margin-bottom: 16px; color: #fff; }
.ap-sub { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .8); margin: 0 0 26px; max-width: 560px; }
.ap-hero-media { display: flex; justify-content: center; }
.ap-hero-media img { width: auto; max-width: 100%; max-height: 520px; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); }

/* store badges (white, used on the navy hero and the blue CTA) */
.ap-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.ap-store { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #050B26; text-decoration: none; border-radius: 12px; padding: 10px 18px 10px 14px; min-width: 176px; transition: transform .15s ease, background .15s ease; }
.ap-store:hover { background: #EEF3FF; color: #0256DB; transform: translateY(-2px); }
.ap-store i { font-size: 24px; }
.ap-store span { display: flex; flex-direction: column; font-size: 16px; font-weight: 600; line-height: 1.1; }
.ap-store small { font-size: 10px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; opacity: .8; margin-bottom: 2px; }

/* body copy from the CMS editor (also loaded inside TinyMCE with body class ap-body) */
.ap-body { max-width: 820px; padding: 56px 0 8px; font-size: 17px; line-height: 1.75; color: #374151; overflow-wrap: break-word; }
.ap-body > :first-child { margin-top: 0; }
.ap-body * { max-width: 100%; box-sizing: border-box; }
.ap-body p { margin: 0 0 1.4rem; }
.ap-body h2, .ap-body h3, .ap-body h4 { font-family: "Bricolage Grotesque", "Bricolage Grotesque Fallback", sans-serif; font-weight: 700; color: #111827; line-height: 1.3; margin: 2.4rem 0 .9rem; letter-spacing: -.02em; }
.ap-body h2 { font-size: 1.6rem; }
.ap-body h3 { font-size: 1.25rem; }
.ap-body h4 { font-size: 1.1rem; }
.ap-body strong, .ap-body b { font-weight: 600; color: #111827; }
.ap-body a { color: #0256DB; text-decoration: underline; }
.ap-body a:hover { color: #0540b3; }
.ap-body ul, .ap-body ol { margin: 1.4rem 0 !important; padding-left: 2rem !important; list-style-position: outside !important; }
.ap-body ul { list-style-type: disc !important; }
.ap-body ol { list-style-type: decimal !important; }
.ap-body ul ul { list-style-type: circle !important; margin: .5rem 0 !important; }
.ap-body ol ol { list-style-type: lower-alpha !important; margin: .5rem 0 !important; }
.ap-body li { display: list-item !important; list-style: inherit !important; margin-bottom: .55rem; line-height: 1.7; }
.ap-body li > p { margin: 0 0 .5rem; }
.ap-body img { height: auto; border-radius: 14px; margin: 1.75rem 0; background: #f3f5f9; }
.ap-body blockquote { border-left: 4px solid #0256DB; padding: 1rem 1.5rem; margin: 2rem 0; background: #f3f5f9; border-radius: 0 12px 12px 0; font-style: italic; color: #64748b; }
.ap-body table { width: 100%; border-collapse: collapse; margin: 1.75rem 0; font-size: 15px; }
.ap-body th, .ap-body td { border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top; }
.ap-body th { background: #f3f5f9; font-weight: 600; color: #111827; }

/* closing call to action */
.ap-cta { margin: 48px 0 80px; background: linear-gradient(135deg, #031450 0%, #0256DB 100%); color: #fff; border-radius: 24px; padding: clamp(32px, 5vw, 56px); text-align: center; }
.ap-cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; margin-bottom: 10px; }
.ap-cta p { color: rgba(255, 255, 255, .85); font-size: 16px; line-height: 1.6; max-width: 560px; margin: 0 auto 24px; }
.ap-cta .ap-stores { justify-content: center; }

/* /app index */
.ap-section { padding: 64px 0 0; }
.ap-section-head { max-width: 680px; margin-bottom: 28px; }
.ap-section-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; margin-bottom: 10px; }
.ap-section-head p { margin: 0; line-height: 1.65; color: #4B5563; font-size: 15px; }
.ap-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ap-hub-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #E6E9F2; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s ease, transform .15s ease; }
.ap-hub-card:hover { box-shadow: 0 10px 28px rgba(3, 20, 80, .10); transform: translateY(-2px); }
.ap-hub-media { aspect-ratio: 3 / 2; background: #EEF3FF; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ap-hub-media img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.ap-hub-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ap-hub-body h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.ap-hub-body p { margin: 0; font-size: 14px; line-height: 1.6; color: #4B5563; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ap-hub-more { margin-top: auto; font-size: 14px; font-weight: 600; color: #0256DB; }
.ap-hub-more i { font-size: 12px; margin-left: 4px; }

@media (max-width: 1024px) {
    .ap-hub-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ap-band { padding: 92px 0 44px; }
    .ap-hero { grid-template-columns: 1fr; gap: 28px; }
    .ap-hero-media { order: -1; }
    .ap-hero-media img { max-height: 360px; }
    .ap-sub { font-size: 16px; }
    .ap-body { padding-top: 40px; font-size: 16px; }
    .ap-section { padding-top: 48px; }
}
@media (max-width: 520px) {
    .ap-hub-grid { grid-template-columns: 1fr; }
    .ap-store { min-width: 0; flex: 1 1 calc(50% - 6px); justify-content: center; padding: 10px 12px; }
}
