/* Site navbar (all pages), after scrollandlearn's landing bar (Gazda 2026-11-02).
   At the top: full width, transparent, no border, over the hero. Once the page moves it draws in to a
   floating white pill with a border and shadow. Its height never changes, so nothing below moves.
   Below 860px: the mark and a menu button; the menu is a white curtain over the whole screen. */
.anav{position:sticky;top:0;z-index:60;height:64px;padding:8px max(16px,env(safe-area-inset-left,0px));pointer-events:none}
.anav nav,.anav-sheet nav{position:static;border:0;background:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;height:auto;transition:none}
.anav-bar{pointer-events:auto;display:flex;align-items:center;gap:18px;height:48px;max-width:1180px;margin:0 auto;padding:0 8px 0 14px;
  border:1px solid transparent;border-radius:12px;background:transparent;
  transition:max-width .3s ease-out,background-color .3s,border-color .3s,box-shadow .3s}
.anav[data-scrolled="true"] .anav-bar{max-width:860px;background:rgba(255,255,255,.86);border-color:rgba(29,27,38,.1);
  box-shadow:0 1px 2px rgba(23,24,28,.06),0 18px 48px -18px rgba(23,24,28,.28);-webkit-backdrop-filter:saturate(180%) blur(14px);backdrop-filter:saturate(180%) blur(14px)}
.anav-brand{display:flex;align-items:center;gap:9px;min-height:44px;font:600 17px 'Inter Tight','Inter',system-ui,sans-serif;letter-spacing:-.02em;color:#1D1B26;text-decoration:none}
.anav-brand img{width:26px;height:26px;display:block}
.anav-links{display:flex;gap:22px;margin:0 auto;white-space:nowrap}
.anav-links a{display:inline-flex;align-items:center;height:44px;font:500 14px 'Inter',system-ui,sans-serif;color:#6E6B78;text-decoration:none;transition:color .15s}
.anav-links a:hover{color:#1D1B26}
.anav-btn{display:inline-flex;align-items:center;height:36px;padding:0 15px;border-radius:9px;font:600 14px 'Inter',system-ui,sans-serif;color:#fff;text-decoration:none;
  background:linear-gradient(100deg,#9E5CFC,#D94DC7);white-space:nowrap}
.anav-menu{display:none;margin-left:auto;width:44px;height:44px;border:0;border-radius:10px;background:none;color:#1D1B26;cursor:pointer;place-items:center}
.anav-menu svg,.anav-close svg{width:22px;height:22px;stroke:currentColor;stroke-width:2;stroke-linecap:round;fill:none}
.anav a:focus-visible,.anav button:focus-visible,.anav-sheet a:focus-visible,.anav-sheet button:focus-visible{outline:2px solid #9E5CFC;outline-offset:2px}

/* phone menu: a curtain that drops from the top; the pieces inside rise in one after another */
.anav-sheet{position:fixed;inset:0;z-index:1300;display:none;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;background:#fff;
  padding:8px max(16px,env(safe-area-inset-left,0px)) max(24px,env(safe-area-inset-bottom,0px));
  clip-path:inset(0 0 100% 0);pointer-events:none;transition:clip-path .34s cubic-bezier(.65,0,.35,1)}
.anav-sheet::before{content:"";position:absolute;inset:0 0 auto 0;height:260px;z-index:-1;pointer-events:none;
  background:radial-gradient(60% 100% at 20% 0%,rgba(158,92,252,.16),transparent 70%),radial-gradient(50% 90% at 85% 0%,rgba(217,77,199,.12),transparent 70%)}
.anav-sheet[data-open="true"]{clip-path:inset(0);pointer-events:auto;transition:clip-path .5s cubic-bezier(.65,0,.35,1)}
.anav-top{display:flex;align-items:center;justify-content:space-between;height:48px;padding:0 8px 0 14px}
.anav-close{width:44px;height:44px;border:0;border-radius:12px;background:#F2F1F5;color:#1D1B26;cursor:pointer;display:grid;place-items:center}
.anav-sheet nav{margin-top:18px;padding:0 12px}
.anav-item{display:flex;flex-direction:column;gap:4px;padding:14px 0;border-bottom:1px solid rgba(29,27,38,.1);text-decoration:none}
.anav-item b{font:600 clamp(28px,9vw,36px)/1.05 'Inter Tight','Inter',system-ui,sans-serif;letter-spacing:-.025em;color:#1D1B26}
.anav-item span{font:400 15px/1.35 'Inter',system-ui,sans-serif;color:#6E6B78}
.anav-foot{margin-top:auto;display:grid;gap:12px;padding:32px 12px 0}
.anav-foot .anav-btn{height:52px;justify-content:center;font-size:17px;border-radius:12px}
.anav-foot p{text-align:center;font:400 14px 'Inter',system-ui,sans-serif;color:#6E6B78;margin:0}
.anav-foot .anav-quiet{display:flex;align-items:center;justify-content:center;min-height:44px;font:600 16px 'Inter',system-ui,sans-serif;color:#1D1B26;text-decoration:none}
.anav-step{opacity:0;transform:translateY(22px);transition:opacity .18s ease,transform 0s .2s}
.anav-sheet[data-open="true"] .anav-step{opacity:1;transform:none;
  transition:opacity .5s cubic-bezier(.2,.8,.2,1) calc(.2s + var(--i,0)*70ms),transform .6s cubic-bezier(.2,.8,.2,1) calc(.2s + var(--i,0)*70ms)}

@media (max-width:860px){
  .anav-links,.anav-cta{display:none}
  .anav-menu{display:grid}
  .anav-sheet{display:flex}
  .anav[data-scrolled="true"] .anav-bar{max-width:none}
}
@media (prefers-reduced-motion:reduce){
  .anav-bar{transition:none}
  .anav-sheet,.anav-sheet[data-open="true"]{clip-path:none;opacity:0;transition:opacity .15s}
  .anav-sheet[data-open="true"]{opacity:1}
  .anav-step,.anav-sheet[data-open="true"] .anav-step{opacity:1;transform:none;transition:none}
}
[id]{scroll-margin-top:76px}
