/* Kids Pray Too shared header nav.
   One sheet, loaded by every page after its own stylesheet, so the header
   reads the same on the app pages (kpt-app.css) and the content pages
   (style.css). Colors are literal here so no page has to define tokens
   for the header to render right. Logo file: /brand/kpt-logo.png. */

.kpt-header{background:#FFFFFF;border-bottom:1px solid #E2E8F0;position:sticky;top:0;z-index:100;box-shadow:0 1px 3px rgba(3,39,69,.04)}
.kpt-header .nav-container{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.6rem 1.5rem;max-width:1100px;margin:0 auto;position:relative}
.kpt-header .logo{display:flex;align-items:center;line-height:0;flex:0 0 auto;text-decoration:none}
.kpt-header .logo img{height:48px;width:auto;max-width:100%;aspect-ratio:494/316;object-fit:contain;display:block}
.kpt-header .nav-links{display:flex;list-style:none;margin:0;padding:0;gap:1.05rem;align-items:center;flex-wrap:nowrap}
.kpt-header .nav-links li{margin:0;padding:0}
.kpt-header .nav-links a{color:#032745;font-family:"Plus Jakarta Sans",ui-sans-serif,system-ui,sans-serif;font-weight:600;font-size:.9rem;text-decoration:none;white-space:nowrap;padding:.35rem 0;border-bottom:2px solid transparent;transition:color .18s,border-color .18s}
.kpt-header .nav-links a:hover{color:#0A4C8B}
.kpt-header .nav-links a[aria-current="page"]{color:#0A4C8B;border-bottom-color:#0A4C8B}
.kpt-header .nav-links a.btn-app-nav{background:#F59E0B;color:#032745;padding:.5rem 1rem;border-radius:999px;font-weight:700;border-bottom:0}
.kpt-header .nav-links a.btn-app-nav:hover{background:#D97706;color:#032745}
.kpt-header .mobile-toggle{display:none;background:none;border:0;font-size:1.6rem;line-height:1;cursor:pointer;color:#032745;padding:.25rem .5rem;min-width:44px;min-height:44px}
.kpt-header .nav-links a:focus-visible,.kpt-header .mobile-toggle:focus-visible,.kpt-header .logo:focus-visible{outline:3px solid #F59E0B;outline-offset:2px}

/* Ten links plus the logo need about 1024px. Below that the list folds
   into a dropdown under the bar; the toggle button opens it. */
@media (max-width:1024px){
  .kpt-header .nav-links{display:none;flex-direction:column;align-items:stretch;position:absolute;top:100%;left:0;right:0;background:#FFFFFF;padding:1rem 1.5rem 1.25rem;border-bottom:1px solid #E2E8F0;box-shadow:0 12px 28px -6px rgba(3,39,69,.14);gap:.25rem}
  .kpt-header .nav-links.active{display:flex}
  .kpt-header .nav-links a{display:block;padding:.65rem 0;font-size:1rem;border-bottom:1px solid #F1F5F8}
  .kpt-header .nav-links a[aria-current="page"]{border-bottom:1px solid #F1F5F8}
  .kpt-header .nav-links li:last-child a.btn-app-nav{display:inline-block;margin-top:.6rem;text-align:center}
  .kpt-header .mobile-toggle{display:block}
}
@media (max-width:480px){
  .kpt-header .logo img{height:40px}
  .kpt-header .nav-container{padding:.5rem 1rem}
}
@media (prefers-reduced-motion:reduce){.kpt-header .nav-links a{transition:none}}

/* Sign In sits beside the orange CTA: outlined, so the two read as
   different jobs. Same pill shape so they line up in the bar and
   stack cleanly once the nav folds on mobile. */
.kpt-header .nav-links a.btn-signin{border:2px solid #0A4C8B;color:#0A4C8B;padding:.4rem .95rem;border-radius:999px;font-weight:700;border-bottom:2px solid #0A4C8B}
.kpt-header .nav-links a.btn-signin:hover{background:#0A4C8B;color:#FFFFFF}
@media (max-width:1024px){
  .kpt-header .nav-links li a.btn-signin{display:inline-block;margin-top:.6rem;text-align:center;width:100%}
}

/* Sign-in page card. Lives here so the page needs no sheet of its own. */
.kpt-auth{max-width:420px;margin:3rem auto;padding:2rem 1.5rem;background:#FFFFFF;border:1px solid #E2E8F0;border-radius:16px;box-shadow:0 8px 24px -8px rgba(3,39,69,.12)}
.kpt-auth h1{margin:0 0 .5rem;color:#032745}
.kpt-auth-form{display:flex;flex-direction:column;gap:.35rem;margin-top:1.25rem}
.kpt-auth-form label{font-weight:600;color:#032745;margin-top:.6rem}
.kpt-auth-form input{padding:.7rem .8rem;border:1px solid #CBD5E1;border-radius:8px;font-size:1rem;min-height:44px}
.kpt-auth-form input:focus-visible{outline:3px solid #F59E0B;outline-offset:1px}
.kpt-auth-form button{margin-top:1.1rem;background:#F59E0B;color:#032745;border:0;padding:.8rem;border-radius:999px;font-weight:700;font-size:1rem;cursor:pointer;min-height:44px}
.kpt-auth-form button:hover{background:#D97706}
.kpt-auth-alt{margin-top:1.25rem;font-size:.92rem;color:#475569}

/* Skip link: hidden until a keyboard user tabs to it, then it opens at the
   top left and jumps straight to the page content. */
.skip-link{position:absolute;left:-9999px;top:0;z-index:200;background:#032745;color:#FFFFFF;padding:.75rem 1rem;border-radius:0 0 8px 0;font-weight:700;text-decoration:none}
.skip-link:focus{left:0;color:#FFFFFF}
