/* Download and installation guide refinements; scoped to the two updated pages. */
.apk-guide-page { --apk-text: #d9e4ef; --apk-muted: #aec0d0; }
.apk-guide-page main { min-width: 0; }
.apk-guide-page h1, .apk-guide-page h2, .apk-guide-page h3 { text-wrap: balance; }
.apk-guide-page main [id] { scroll-margin-top: 100px; }
.apk-guide-page a:focus-visible, .apk-guide-page button:focus-visible { outline: 3px solid #79ddff; outline-offset: 4px; }
.apk-guide-page [data-download-cta] { min-height: 48px; white-space: normal; text-align: center; text-transform: none; line-height: 1.3; display: inline-flex; align-items: center; justify-content: center; overflow-wrap: anywhere; }
.apk-guide-page .nav-cta { font-size: 14px; padding: 12px 18px; flex-shrink: 0; }
.apk-guide-page .footer-apk-badge { max-width: 100%; }
.apk-guide-page .hamburger { min-width: 48px; min-height: 48px; }
.apk-guide-page .mobile-menu a { min-height: 48px; display: flex; align-items: center; }
.apk-guide-page .mobile-menu { max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; }
.apk-guide-page:has(.mobile-menu.show) .mobile-cta-bar { display: none; }
.apk-guide-page .faq-q { min-height: 56px; gap: 14px; font-size: 1rem; line-height: 1.5; text-align: left; }
.apk-guide-page .faq-icon { flex-shrink: 0; }
.apk-guide-page .faq-a-inner { font-size: 1rem; line-height: 1.75; color: var(--apk-text); }
.apk-guide-page .apk-content { max-width: 880px; }
.apk-hero { padding: 44px 0 32px; text-align: center; }
.apk-hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.16; max-width: 800px; margin: 12px auto 18px; }
.apk-hero h1 span { color: var(--gold); }
.apk-eyebrow { color: var(--gold); font-weight: 700; font-size: .8rem; letter-spacing: .12em; }
.apk-guide-page .apk-lead { font-size: 1.1rem; line-height: 1.7; color: var(--apk-text); max-width: 660px; margin: 0 auto 22px; }
.apk-primary-action { max-width: 480px; margin: 0 auto; }
.apk-primary-action [data-download-cta] { width: 100%; min-height: 56px; padding: 16px 20px; font-size: 1.05rem !important; }
.apk-guide-page .apk-action-note { font-size: .9rem; line-height: 1.65; color: var(--apk-muted); margin: 12px 0 0; }
.apk-guide-page .apk-reviewed { font-size: .85rem; line-height: 1.6; color: var(--apk-muted); margin: 18px 0; }
.apk-jump-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; }
.apk-guide-page .apk-jump-links a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; font-size: .95rem; line-height: 1.4; color: var(--apk-text); background: var(--bg-card); }
.apk-jump-links a:hover { border-color: var(--gold); color: var(--gold); }
.apk-section { padding: 44px 0; }
.apk-section-tint { background: var(--bg-secondary); }
.apk-section h2 { font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.35; margin-bottom: 20px; }
.apk-section h3 { font-size: 1.1rem; line-height: 1.45; margin: 0 0 8px; }
.apk-section p { color: var(--apk-text); font-size: 1rem; line-height: 1.8; margin-bottom: 18px; }
.apk-section p a, .apk-section dd a, .apk-guide-page .article-body p a { text-decoration: underline; text-underline-offset: 3px; }
.apk-source-note { background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 10px; padding: 20px; color: var(--apk-text); font-size: .95rem; line-height: 1.75; margin: 22px 0 0; overflow-wrap: anywhere; }
.apk-steps { list-style: none; counter-reset: apk-step; display: grid; gap: 24px; padding: 0; }
.apk-steps li { counter-increment: apk-step; position: relative; padding-left: 60px; }
.apk-steps li::before { content: counter(apk-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold); color: #06111c; font-weight: 800; }
.apk-steps li p { margin: 0; }
.apk-facts { display: grid; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin: 24px 0; }
.apk-facts > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; padding: 18px 20px; background: var(--bg-card); }
.apk-facts > div + div { border-top: 1px solid var(--border); }
.apk-facts dt { color: var(--white); font-weight: 700; line-height: 1.6; }
.apk-facts dd { margin: 0; color: var(--apk-text); font-size: 1rem; line-height: 1.7; }
.apk-guide-link { display: inline-flex; gap: 12px; align-items: center; min-height: 48px; color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.apk-help-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.apk-help-card { display: block; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-card); padding: 24px; }
.apk-help-card h3 { color: var(--gold); }
.apk-help-card p { margin-bottom: 0; }
.apk-help-card:hover { border-color: var(--gold); }
.apk-final-action { text-align: center; }
.apk-final-action [data-download-cta] { max-width: 480px; margin: 8px auto; min-height: 56px; }
.apk-guide-page .article-standfirst { color: var(--apk-text); }
.apk-guide-page .article-body { font-size: 1rem; }
.apk-guide-page .article-body p, .apk-guide-page .article-body li { color: var(--apk-text); }
.apk-guide-page .article-body h2 { scroll-margin-top: 100px; }
.apk-guide-page .article-body h3 { margin: 28px 0 12px; }
.apk-guide-page .article-body ol { padding-left: 24px; }
.apk-guide-page .article-body ol li { padding-left: 6px; margin-bottom: 12px; }
.apk-guide-page .apk-old-version-section { padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.apk-decision-list { display: grid; gap: 12px; }
.apk-decision-list > div { border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card); padding: 20px; }
.apk-decision-list h4 { font-size: 1rem; line-height: 1.5; color: var(--gold); margin: 0 0 8px; }
.apk-decision-list p { margin-bottom: 0; }
.apk-guide-page .apk-sources { border-top: 1px solid var(--border); margin-top: 32px; padding-top: 10px; }
.apk-guide-page .article-figure { margin-top: 24px; }
.apk-guide-page .toc-list a { min-height: 44px; display: flex; align-items: center; }
@media (max-width: 1100px) {
  .apk-guide-page .nav-links, .apk-guide-page .nav-cta { display: none; }
  .apk-guide-page .hamburger { display: flex; }
}
@media (max-width: 768px) {
  .apk-guide-page { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .apk-guide-page .mobile-cta-bar { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
  .apk-guide-page .mobile-cta-bar [data-download-cta] { min-height: 52px; padding: 12px 16px; font-size: 1rem; }
  .apk-guide-page .urgency-banner { font-size: .8rem; line-height: 1.4; padding: 8px 16px; }
  .apk-guide-page .urgency-banner [data-download-cta] { min-height: 44px; }
  .apk-hero { padding: 28px 0; }
  .apk-section { padding: 32px 0; }
  .apk-guide-page .apk-lead { font-size: 1rem; }
  .apk-help-grid { grid-template-columns: 1fr; }
  .apk-facts > div { grid-template-columns: 1fr; gap: 6px; padding: 18px; }
  .apk-source-note, .apk-help-card, .apk-decision-list > div { padding: 18px; }
  .apk-guide-page .article-hero { padding-top: 28px; }
  .apk-guide-page .article-hero h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); line-height: 1.2; }
  .apk-guide-page .article-standfirst { font-size: 1rem; line-height: 1.7; }
  .apk-guide-page .share-btn { min-width: 44px; min-height: 44px; }
  .apk-guide-page .share-row { flex-wrap: wrap; gap: 8px; }
  .apk-guide-page .footer-top-right, .apk-guide-page .footer-top-right [data-download-cta] { width: 100%; }
  .apk-guide-page .footer-top-right { flex-wrap: wrap; }
  .apk-guide-page .footer-top-inner { align-items: stretch; }
  .apk-guide-page .faq-q { padding: 16px; }
}
@media (max-width: 360px) {
  .apk-jump-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .apk-guide-page .apk-jump-links a { padding: 10px 8px; }
  .apk-steps li { padding-left: 50px; }
  .apk-guide-page .article-byline { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .apk-guide-page *, .apk-guide-page *::before, .apk-guide-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
