/* Academic Nexus responsive polish layer */
:root{--an-navy:#0F172A;--an-blue:#2563EB;--an-teal:#0D9488;--an-surface:#F8FAFC;--an-border:#E2E8F0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}body{max-width:100%;overflow-x:hidden}img,svg,video,canvas{max-width:100%}img{height:auto}button,a,input,select,textarea{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent }
:focus-visible{outline:3px solid rgba(37,99,235,.55);outline-offset:2px}
.founder-photo-fit{display:block;width:100%;max-width:100%;height:100%;max-height:560px;object-fit:cover;object-position:center 18%;border-radius:inherit}
.founder-photo-fit{background:#e2e8f0}.founder-photo-fit:where(img){min-height:220px}
/* Keep wide data tables usable on phones without breaking desktop layout. */
table{max-width:100%} @media(max-width:767px){table{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}th,td{white-space:nowrap}pre,code{overflow-wrap:anywhere;white-space:pre-wrap}main{min-width:0}header{max-width:100vw}input,select,textarea{max-width:100%}button{min-height:40px}a{overflow-wrap:anywhere}}
/* Public mobile navigation */
.an-mobile-nav{position:fixed;inset:76px 12px auto 12px;z-index:1000;max-height:calc(100dvh - 90px);overflow:auto;background:#fff;border:1px solid var(--an-border);border-radius:18px;padding:12px;box-shadow:0 24px 60px rgba(15,23,42,.18);display:none}
.an-mobile-nav.is-open{display:block}.an-mobile-nav a{display:flex;align-items:center;min-height:44px;padding:10px 12px;border-radius:10px;color:#0f172a;text-decoration:none;font-weight:600}.an-mobile-nav a:hover{background:#eff6ff;color:#1d4ed8}.an-mobile-nav .an-mobile-login{background:#2563eb;color:#fff;margin-top:8px;justify-content:center}
.an-mobile-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.32);z-index:999;display:none}.an-mobile-backdrop.is-open{display:block}
@media(min-width:1280px){.an-mobile-nav,.an-mobile-backdrop{display:none!important}}
/* Dashboard drawer for mobile */
@media(max-width:1023px){body.an-sidebar-open{overflow:hidden}body.an-sidebar-open aside{position:fixed!important;z-index:1101!important;inset:0 auto 0 0!important;width:min(86vw,310px)!important;max-width:310px!important;height:100dvh!important;overflow-y:auto!important;transform:translateX(0)!important;box-shadow:18px 0 48px rgba(15,23,42,.24)}body:not(.an-sidebar-open) aside.an-mobile-sidebar{transform:translateX(-110%)!important}body.an-sidebar-open .an-sidebar-backdrop{display:block}}
.an-sidebar-backdrop{display:none;position:fixed;inset:0;z-index:1100;background:rgba(15,23,42,.45)}
/* Premium sponsor placements: no ad is served until an approved provider/campaign is configured. */
.an-sponsor-strip{max-width:1180px;margin:28px auto;padding:18px 20px;border:1px solid #dbeafe;border-radius:18px;background:linear-gradient(120deg,#f8fbff,#f0fdfa);display:flex;align-items:center;justify-content:space-between;gap:16px}
.an-sponsor-strip .an-sponsor-label{font-size:10px;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:#0f766e}.an-sponsor-strip h2{margin:5px 0;color:#0f172a;font-size:18px;font-weight:800}.an-sponsor-strip p{margin:0;color:#475569;font-size:13px}.an-sponsor-strip a{white-space:nowrap;border-radius:10px;background:#0f172a;color:#fff;padding:10px 14px;text-decoration:none;font-size:13px;font-weight:700}
@media(max-width:640px){.an-sponsor-strip{margin:18px 12px;padding:16px;align-items:flex-start;flex-direction:column}.an-sponsor-strip a{white-space:normal}}
.an-demo-notice{border:1px solid #bfdbfe;background:#eff6ff;color:#1e3a8a;border-radius:12px;padding:10px 14px;font-size:12px}

.founder-photo-frame{width:100%;max-width:520px;aspect-ratio:4/5;overflow:hidden;border-radius:28px;margin-inline:auto}.founder-photo-frame .founder-photo-fit{width:100%;height:100%;max-height:none;object-fit:cover;object-position:center 16%}
