/* Shared navigation keeps all public pages anchored in the same place. */
.learn-banner { background:#211d28; color:#fffdf7; font:14px/1.5 Rag,Arial,sans-serif; }
.learn-banner a { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:4px 12px; min-height:44px; padding:10px 18px; color:inherit; text-align:center; text-decoration:none; }
.learn-banner-action { display:inline-flex; align-items:center; gap:8px; color:#d9fb68; text-decoration:underline; text-underline-offset:4px; }
.learn-banner-action svg { width:18px; height:18px; flex:none; }
.learn-banner a:hover .learn-banner-action { color:#fffdf7; }
.learn-banner a:focus-visible { outline:2px solid #d9fb68; outline-offset:-5px; }
.site-header { position:sticky; top:0; z-index:100; background:#fffdf7; border-bottom:1px solid #211d2810; -webkit-backdrop-filter:none; backdrop-filter:none; }
.site-header .nav { width:min(1260px,calc(100% - 64px)); height:84px; margin-inline:auto; display:flex; align-items:center; justify-content:space-between; gap:24px; position:relative; padding:0; flex-wrap:nowrap; border:0; font-family:Rag,Arial,sans-serif; }
.site-header .brand { display:inline-flex; align-items:center; flex:none; gap:11px; margin:0; color:#211d28; font-size:24px; font-weight:820; letter-spacing:-.055em; white-space:nowrap; text-decoration:none; }
.site-header .brand-mark { display:block; width:37px; height:44px; flex:none; overflow:hidden; }
.site-header .brand-mark img { display:block; width:100%; height:100%; object-fit:contain; }
.site-header .nav-links { display:flex; align-items:center; gap:4px; margin:0 auto; padding:0; border:0; border-radius:0; background:transparent; }
.site-header .nav-links a { padding:10px 12px; color:#211d28; font-size:14px; font-weight:400; border-radius:7px; text-decoration:none; white-space:nowrap; text-underline-offset:5px; text-decoration-thickness:1px; }
.site-header .nav-links a:hover,.site-header .nav-links a:focus-visible,.site-header .nav-links a[aria-current="page"] { color:#211d28; background:#eeebfc; text-decoration:none; }
.site-header .nav-links a[aria-current="page"] { background:#eeebfc; color:#211d28; font-weight:500; }
.site-header a:focus-visible,.site-header button:focus-visible { outline:2px solid #3838d5; outline-offset:3px; }
.site-header .nav-cta { display:inline-flex; align-items:center; justify-content:center; min-height:44px; margin:0; padding:0 18px 0 20px; gap:11px; border:1px solid transparent; border-radius:7px; background:#211d28; color:#fffdf7; font-size:13px; font-weight:500; white-space:nowrap; }
.site-header .nav-cta span { display:inline; width:auto; height:auto; background:transparent; color:inherit; border-radius:0; font-size:inherit; line-height:inherit; }
.site-header .nav-cta .nav-cta-short { display:none; }
.site-header .nav-cta .arrow { display:block; width:17px; height:17px; flex:none; color:#d9fb68; transition:transform .22s ease; }
.site-header .arrow svg { display:block; width:100%; height:100%; }
.site-header .nav-cta:hover { background:#3838d5; transform:none; }
.site-header .nav-cta:hover .arrow { color:#fffdf7; transform:translate(2px,-2px); }
.site-header .menu-button { display:none; place-items:center; flex:none; box-sizing:border-box; width:44px; height:44px; padding:0; border:1px solid #d9d2d7; border-radius:50%; background:transparent; color:#211d28; line-height:1; cursor:pointer; appearance:none; }
.site-header .menu-button svg { display:block; width:22px; height:22px; }
.site-header .menu-icon-close { display:none; }
.site-header .menu-button[aria-expanded="true"] .menu-icon-open { display:none; }
.site-header .menu-button[aria-expanded="true"] .menu-icon-close { display:block; }
.site-header .menu-button:hover { background:#eeebfc; }
@media (max-width:1100px) {
  .site-header .nav { height:80px; }
  .site-header .brand { margin-right:auto; }
  .site-header .menu-button { display:grid; }
  .site-header .nav-links { display:none; position:absolute; top:calc(100% + 8px); left:0; right:0; margin:0; padding:12px; background:#fffdf7; flex-direction:column; align-items:stretch; gap:4px; border:1px solid #ded8e4; border-radius:12px; box-shadow:0 12px 28px #211d2810; }
  .site-header .nav-links.open { display:flex; }
  .site-header .nav-links { max-height:calc(100dvh - 100px); overflow-y:auto; overscroll-behavior:contain; }
  .site-header .nav-links a { display:inline-flex; align-items:center; justify-content:flex-start; box-sizing:border-box; min-height:44px; padding:10px 16px; border:0; font-size:14px; line-height:1.2; }
}
@media (max-width:760px) {
  .site-header .nav { width:min(600px,calc(100% - 36px)); height:68px; gap:10px; }
  .site-header .brand { font-size:22px; }
  .site-header .brand-mark { width:33px; height:39px; }
  .site-header .nav-cta { min-height:44px; padding:0 14px 0 16px; font-size:13px; gap:8px; }
  .site-header .nav-cta .arrow { width:15px; height:15px; }
}
@media (max-width:430px) {
  .site-header .nav { gap:8px; }
  .site-header .brand { font-size:19px; gap:5px; }
  .site-header .brand-mark { width:27px; height:32px; }
  .site-header .nav-cta { padding:0 12px 0 14px; }
  .site-header .nav-cta .nav-cta-full { display:none; }
  .site-header .nav-cta .nav-cta-short { display:inline; }
  .site-header .menu-button { width:44px; height:44px; }
}

@media (max-width:380px) {
  .site-header .nav-cta { padding-inline:10px; }
  .site-header .nav-cta .arrow { display:none; }
}

/* One footer across the home, guide, learning index and lesson. */
body .site-footer.public-footer { margin:0; padding:30px 0; background:#211d28; color:#fff; border:0; font:14px/1.5 Rag,Arial,sans-serif; }
.public-footer .public-footer-inner { width:min(1260px,calc(100% - 64px)); margin:auto; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.public-footer .public-footer-brand { display:inline-flex; align-items:center; gap:10px; color:#fff; text-decoration:none; font-size:22px; font-weight:800; letter-spacing:-.05em; }
.public-footer .public-footer-brand img { width:29px; height:35px; }
.public-footer .public-footer-copy { margin:0; color:#fff; font-size:13px; }
.public-footer .public-footer-links { display:flex; flex-wrap:wrap; gap:10px; }
.public-footer .public-footer-links a { color:#fff; padding:9px 14px; border:1px solid #fff; border-radius:100px; text-decoration:none; white-space:nowrap; }
.public-footer .public-footer-links a:hover { background:#d9fb68; color:#211d28; border-color:#d9fb68; }
.public-footer a:focus-visible { outline:3px solid #d9fb68; outline-offset:4px; }
.public-footer .public-footer-notice { width:min(1260px,calc(100% - 64px)); margin:24px auto 0; padding-top:18px; border-top:1px solid #ffffff24; color:#c8c3ce; font-size:12px; line-height:1.6; }
@media(max-width:1100px) { .public-footer .public-footer-inner { flex-wrap:wrap; } }
@media(max-width:760px) { .public-footer .public-footer-inner { width:calc(100% - 36px); flex-direction:column; align-items:flex-start; gap:18px; } }
@media(max-width:760px) { .public-footer .public-footer-notice { width:calc(100% - 36px); } }
