/* ScholarVertex landing — squircle chip menu when MOTION IS OFF (2026-10-08)
   sv-motion.css styles the menu as chips only under `html.svm`; the Motion switch removes that class,
   so the menu fell back to plain text links. This file gives the same static look without the class.
   Motion ON is untouched (every rule is scoped to html:not(.svm)). Mirrors sv-motion.css "TOP BAR 3". */
html:not(.svm) .nav-inner { max-width: 1340px; gap: 18px; }
html:not(.svm) .nav-links {
  flex-wrap: wrap; justify-content: flex-end; gap: 8px 7px; padding: 5px 0;
  font-size: 12.5px; letter-spacing: .025em; font-weight: 800;
}
html:not(.svm) .nav-links a {
  position: relative; z-index: 1; isolation: isolate; display: inline-flex; align-items: center;
  height: 40px; padding: 0 13px; white-space: nowrap; color: #101a3d;
  border-radius: 12px; corner-shape: squircle;
  transition: transform .25s ease, color .25s ease;
}
html:not(.svm) .nav-links a::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; corner-shape: squircle;
  background: linear-gradient(180deg, #f1f5ff 0%, #dce5fb 100%);
  box-shadow: inset 0 0 0 1.5px rgba(16,26,61,.26), inset 0 1px 0 rgba(255,255,255,.9), 2px 2px 0 rgba(0,194,168,.75), 0 6px 14px -8px rgba(16,26,61,.45);
  transition: background .25s ease, box-shadow .25s ease;
}
html:not(.svm) .nav-links a::after { display: none; }
html:not(.svm) .nav-links a:hover { transform: translateY(-2px); color: #fff; }
html:not(.svm) .nav-links a:hover::before {
  background: linear-gradient(180deg, #23397a, #101a3d);
  box-shadow: 3px 3px 0 #00c2a8, 0 10px 22px -10px rgba(16,26,61,.7), inset 0 1px 0 rgba(255,255,255,.18);
}
html:not(.svm) .nav-links a:focus-visible { outline: 2px solid #00c2a8; outline-offset: 3px; }
html:not(.svm) .nav-links a:active { transform: translateY(0) scale(.97); }
/* Submit (last link) = the one coral call to action */
html:not(.svm) .nav-links a:last-child { margin-left: 8px; padding: 0 20px; color: #fff; }
html:not(.svm) .nav-links a:last-child::before {
  background: linear-gradient(135deg, #ff6b78, #ff4d5e 50%, #e23a52);
  box-shadow: 3px 3px 0 #101a3d, 0 10px 22px -10px rgba(255,77,94,.85), inset 0 1px 0 rgba(255,255,255,.35);
}
html:not(.svm) .nav-links a:last-child:hover { transform: translate(-2px, -2px); }
html:not(.svm) .nav-links a:last-child:hover::before {
  background: linear-gradient(135deg, #ff7a86, #ff4d5e 50%, #d7354a);
  box-shadow: 5px 5px 0 #101a3d, 0 16px 28px -12px rgba(255,77,94,.95), inset 0 1px 0 rgba(255,255,255,.4);
}
@supports (corner-shape: squircle) { html:not(.svm) .nav-links a { border-radius: 18px; } }

/* ---- compact widths with Motion OFF: hamburger + full-screen sheet (sv-nav-static.js builds them) ---- */
html:not(.svm).svm-menu-open { overflow: hidden; }
@media (max-width: 1180px) {
  html:not(.svm) .nav-links { display: none !important; }
  html:not(.svm) .svm-menu-btn { display: block; }
}
