/* ArchiveFort app-first onboarding: minimal, responsive, no simulated downloads. */
:root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#142f50;background:#f5f8fb;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}a{color:#165eaa}button{font:inherit}
.afapp-page{background:linear-gradient(160deg,#f5f9fd,#fff 80%);min-height:100vh}
.afapp-skip{position:absolute;left:-10000px;top:0;padding:12px;background:#fff}
.afapp-skip:focus{left:12px;z-index:10}
.afapp-header{height:75px;background:#182d46;display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1160px)/2));gap:20px}
.afapp-header img{display:block;object-fit:contain;width:182px;height:auto;max-height:40px}
.afapp-home{color:#dfeaf7;font-weight:600;text-decoration:none;font-size:.96rem;padding:12px}
.afapp-home:hover{text-decoration:underline}
.afapp-wrap{max-width:1160px;margin:0 auto;padding:48px 24px 24px}
.afapp-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,44%);align-items:center;gap:clamp(30px,5vw,72px)}
.afapp-copy{padding:16px 0}
.afapp-overline{font-weight:750;letter-spacing:.14em;font-size:.77rem;color:#3476ac;margin:0 0 18px}
.afapp-symbol{display:none}
.afapp-copy h1{font-size:clamp(2.35rem,4.55vw,4.6rem);letter-spacing:-.045em;line-height:1.075;font-weight:790;color:#132e51;margin:0 0 17px}
.afapp-lead{font-size:clamp(1.08rem,1.8vw,1.35rem);font-weight:600;line-height:1.45;color:#325477;margin:0 0 12px}
.afapp-support{font-size:1rem;line-height:1.6;color:#61768b;margin:0 0 25px;max-width:500px}
.afapp-primary{max-width:445px}
.afapp-store{appearance:none;display:flex;align-items:center;justify-content:center;gap:24px;width:100%;min-height:58px;padding:14px 20px;background:#1c6dd4;color:#fff;border:0;border-radius:12px;font-weight:780;font-size:1.04rem}
.afapp-store:disabled{background:#b7cce3;color:#16375b;cursor:not-allowed;opacity:1}
.afapp-store-label{flex:1;text-align:center}
.afapp-store[disabled] span:last-child{display:none}
.afapp-availability{margin:10px 0 0;color:#526d88;font-size:.91rem;line-height:1.45}
.afapp-flow{font-size:.87rem;font-weight:600;color:#59738f;line-height:1.5;margin:20px 0 0}
.afapp-flow span{color:#2277be;padding:0 3px}
.afapp-picture{width:100%;height:360px;min-width:0;overflow:hidden;border-radius:24px;box-shadow:0 19px 52px rgba(19,50,89,.12)}
.afapp-picture img{width:100%;height:100%;object-fit:cover;display:block;object-position:center}
.afapp-links{display:flex;flex-wrap:wrap;gap:20px;margin-top:34px;padding-top:23px;border-top:1px solid #dfebf4}
.afapp-links a{color:#1f68a8;font-size:.93rem;font-weight:650;text-underline-offset:3px}
.afapp-note{font-size:.82rem;line-height:1.5;color:#75899c;margin:22px 0 0}
.afapp-footer{max-width:1160px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:21px 24px 35px;color:#8191a1;font-size:.78rem}
.afapp-footer a{color:#567997}
.afapp-fallback{max-width:890px;margin:0 auto;padding:70px 24px 40px}
.afapp-fallback h1{color:#13365a;font-size:clamp(2.2rem,5vw,3.65rem);letter-spacing:-.04em;margin:0 0 10px}
.afapp-fallback>p{color:#52718d;line-height:1.6}
.afapp-fallback-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:28px}
.afapp-fallback-choice{display:flex;align-items:center;justify-content:center;min-height:76px;background:#fff;text-align:center;padding:12px;border-radius:14px;border:1px solid #d4e3ef;color:#1c4b77;font-size:1rem;font-weight:760;text-decoration:none}
.afapp-fallback-choice:hover{border-color:#3578c4;background:#ecf5ff}
.afapp-store:focus-visible,.afapp-page a:focus-visible,.afapp-fallback-choice:focus-visible{outline:3px solid #dc830a;outline-offset:4px}
@media(max-width:800px){
 .afapp-header{padding:0 20px;height:67px}
 .afapp-header img{width:166px}
 .afapp-wrap{padding:27px 23px 16px}
 .afapp-hero{display:flex;flex-direction:column;gap:19px;align-items:stretch}
 .afapp-copy{padding:0}
 .afapp-copy h1{font-size:clamp(2.35rem,8.1vw,3.65rem);margin-bottom:12px}
 .afapp-overline{margin-bottom:12px}
 .afapp-lead{font-size:1.05rem}
 .afapp-support{font-size:.96rem;margin-bottom:18px}
 .afapp-picture{height:166px;border-radius:15px;box-shadow:none}
 .afapp-links{margin-top:24px;padding-top:20px;gap:15px}
 .afapp-footer{padding:16px 23px 28px;flex-wrap:wrap}
 .afapp-fallback{padding:47px 22px}
 .afapp-fallback-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:370px){
 .afapp-header img{width:149px}
 .afapp-header{padding:0 15px}
 .afapp-wrap{padding:25px 18px 14px}
 .afapp-copy h1{font-size:2.18rem}
 .afapp-fallback-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
